...
To do that, we trigger the Price Order webhook, which signals that an order needs to be priced by the POS. The payload of the webhook includes the order contents for the selected store id and service mode.
Info |
---|
You can see examples of the cart object structure here:Orders API - Cart Structure Examples |
The POS must return the price and availability for each item in the order, the total price and any errors using the Price Webhook Callback endpoint.
...
Info |
---|
Our API offers some control over payments, but these actions are typically not needed. You can learn more about payments here: [link to payments page] Orders API - Payments . |
Commit webhook and endpoint
...