Skip to main content

POS API

The POS API provides comprehensive access to Point of Sale data and cart operations, enabling apps to retrieve device and location information, manage the cart during a sale, apply discounts, and handle customer data. This API supports individual and bulk cart operations for efficient transaction management.

Tip

We recommend using POS UI extensions for your development needs as they provide a faster, more robust, and easier to use solution for merchants using apps on POS.

  • Cart management: Add products, apply discounts, and manage the POS cart during a sale.
  • Device information: Access POS device and location data for context-aware operations.
  • Customer management: Associate customers with the current cart or look up customer information.
  • Bulk operations: Perform multiple cart operations efficiently using batch APIs.

Retrieve cart data and perform actions.

required

Provides methods to read and modify the current POS cart, including line items, discounts, customers, and properties.

Anchor to close
close
required

Closes the app and returns to the POS screen.

Anchor to device
device
required

Returns information about the POS device, including its name and serial number.

Anchor to location
location
required

Returns information about the current POS location, including its ID, name, address, and status.


Was this page helpful?