Zasilkovna / prestashop

module Packeta for PrestaShop 1.7
32 stars 27 forks source link

Fetch the order's pickup point via API #223

Open lkshan opened 2 years ago

lkshan commented 2 years ago

Hello,

I am a manager o client's eshop built in PrestaShop and I am looking for a way, how to fetch the pickup point of selected order via API. I am able to fetch an order detail, invoice address, customers address, etc. but I cannot see any reference to pickup point in the order detail.

Is it possible at all? If yes, can you provide me a documentation or API endpoint or request example or whatever, what might help me, please?

Thank you for your response.

MatyasKoval commented 2 years ago

Hello @lkshan , there si no API or a direct way to fetch data about orders concerning our module, like the selected pickup point etc. The only way to access this data is to get it directly from the database table of our module, which is ps_packetery_order.

Please beware, that this table or the in general the way and place where this data is stored may change in the future.

Best regards, Matyáš Kovaľ - Packeta E-Commerce Support