Skip to content

Quote sale

POST/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_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

  • session_idstringrequired

    The session's ID, like pses_01k8qs5s….

Headers

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • linesarray of objectsrequired
  • customer_idstring · or null

    TypeID with the cus prefix.

  • emailstring · or null

    Sends the customer the order confirmation, their receipt by email.

  • phonestring · or null

    The customer's phone, for a walk-in who gives one.

  • discount_codesarray of strings
  • discountobject · or null

    The seller's discount on the whole sale.

  • notestring · or null
  • localestring · or null

    The receipt's language; the store's by default.

  • deliveryobject | object · or null

    How lines sold from another branch reach the customer.

Returns

200 Priced now.