Quote sale
/ admin/ v1/ stores/ {store_id}/ pos/ sessions/ {session_id}/ quote- pos:sell
- Idempotency-Key supported
Prices a sale as it is rung up: catalogue prices, the cashier's line changes and custom items, discounts and codes, a business customer's price list, taxes.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.session_idstringrequiredThe session's ID, like
pses_01k8qs5s….
Headers
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
linesarray of objectsrequiredcustomer_idstring · or nullTypeID with the
cusprefix.emailstring · or nullSends the customer the order confirmation, their receipt by email.
phonestring · or nullThe customer's phone, for a walk-in who gives one.
discount_codesarray of stringsdiscountobject · or nullThe seller's discount on the whole sale.
notestring · or nulllocalestring · or nullThe receipt's language; the store's by default.
deliveryobject | object · or nullHow lines sold from another branch reach the customer.
Returns
200 Priced now.