Create and update a session
Create a session with the session mutation. A bare minimum session requires no inputs and returns its automatically generated ID:
Manage authenticated customers
Authenticated customers can access additional features during a session, such managing customer addresses. To enable it, generate a referenceId string in your backend system for authenticated customers. When creating or updating the session, add the customer input field and identify the customer with the referenceId field.
Manage delivery methods
During a session, you can override the pre-configured delivery method settings. You can enable or disable home delivery and pickup point delivery, select different providers, or set up new pricing configurations.
Update pricing during a session
Update pricing for all delivery types
Add parcel information to session
There are two ways of passing parcel information to a session: