Passing API checkout with an already paid order and free shipping
Some of the suppliers on our platform are using Lightspeed eCom, both for supplying product information and receiving orders.
To create an order in Lightspeed we need to supply a payment and shipping method. Payment has already been done on our platform, and our suppliers agree to ship for free.
We want to be able to configure on our platform which shipping and payment methods need to be supplied on a per supplier basis. In an ideal world there would be 1 payment and 1 shipping ID that we could always use to reflect the "already paid" and "default shipping" options that we would like to supply for all Lightspeed store connections. But I understand that these methods are setup per store and therefor have different IDs.
Some questions to understand how we can most efficiently understand which methods are relevant for us:
There is a "Standaard verzending binnen NL" shipping option available. When I fetch the shipping methods through
I find an entry with an ID that looks like "636605".
However, when I check the checkout shipping methods:
I find an entry with an ID that looks like "core|636605|123456"
Is there a way to obtain or calculate this ID without having to go through the checkout process and fetch the shipping methods there? As mentioned above, we want to be able to configure a shipping method ahead of time, and not have to do a test checkout to obtain relevant IDs.
When checking out the payment options during checkout, we're seeing a "dummy" entry with title "Paytest". This entry does not appear when fetching the regular payment methods through:
Is this method always available or can it be turned off for some suppliers? This would help with having a default payment option.
If not, what payment option should we consider to pass on pre-paid orders?
Appreciate any insights, thanks!