Retrieve a list of shipping options
Compat API
Retrieve a list of shipping options
Retrieve a list of shipping options based on the provided shipping method ids.
POST
Retrieve a list of shipping options
This endpoint is intended to smooth the transition from shipping methods to shipping options. It accepts a list of shipping method IDs and returns their corresponding shipping option identifiers.
Ordering of the shipping options is not guaranteed, and the response may contain null values for shipping methods that do not have a corresponding shipping option. Shipping methods that do not exist will not be returned in the response.
Authorizations
Basic Authentication using API key and secrets is currently the main authentication mechanism.
Body
application/json
List of shipping methods to translate to shipping options.
Maximum array length:
100Example:
[1, 2, 3]Response
200 - application/json
List of shipping options.
The Compat Shipping Options response schema
Example:
{ "1": "postnl:standard", "2": null }