For the complete documentation index, see llms.txt. This page is also available as Markdown.
Shipping Related
This document covers all services for setting delivery details for an order, including the requests and responses associated with these services.
Authenticated Endpoints
Accessing authenticated endpoints requires users to establish a session through Session Authentication. To do this:
Users must log in using their credentials (e.g., username and password) via a designated authentication endpoint.
Upon successful login, the server will generate and return a session cookie to the client.
This session cookie must be included in subsequent API requests as part of the headers. The session cookie serves as proof of authentication and ensures secure access to protected resources.
GET Get Delivery Options
This method is used to get the available delivery options, if any.
Path:https://{commerce_url}/orders/checkout/
The response could be one of the following pages:
DeliveryOptionSelectionPage(if any delivery option available)
SlotSelectionPage(if scheduled delivery is active)
AddressSelectionPage(if none of above is available)
This method is used to notify the user's designated date and time range for delivery. In order to make this request, the shipping address must be set beforehand.
This method is used to notify the shipping option selected by the user. Once the user sets a shipping option, the result will be one of the following pages based on the platform settings: SampleProductPage,ReservationSelectionPage, PaymentOptionSelectionPage.