Get Shipping Options
Fetch the shipping options
Last updated 24 Jun 2024
NoteWe recommend calling the Get Shipping Options API whenever a user enters the checkout or makes any change to the order or delivery location. This ensures that the shipping options are always up to date and available for the given cart.
A checkout process starts with the fetch of available shipping options.
Session ID
An important part of the Get Shipping Options API is the sessionId
.
This should be a unique identifier for the current session and should be provided by you.
For example, if a user updates the cart or changes the delivery address, you should keep the same sessionId
in all your calls to the Get Shipping Options endpoint.
This id is later used when reserving the delivery choice to identify the session.