Sales
Sales feeds and unmapped items, customers, sales orders and invoices.
For how this area works day to day, see the Sales guide.
Webhook events: sales.unmapped_item, sales_order.created, sales_order.shipped, sales_order.cancelled, invoice.issued, invoice.paid. See Webhooks.
All paths are relative to /api/v1. Key is the scope an integration key needs, People the permission a signed-in person or personal key needs, and Feature the feature switch the endpoint belongs to. See how to read this reference.
- GET
/customersList customers
Keysales:readPeoplesales.readFeaturesales.orders - POST
/customersCreate a customer
Keysales:writePeoplecustomers.manageFeaturesales.orders - GET
/customers/external/{externalId}Get a customer by external ID
Keysales:readPeoplesales.readFeaturesales.orders - PUT
/customers/external/{externalId}Create or replace a customer by external ID
Keysales:writePeoplecustomers.manageFeaturesales.orders - GET
/customers/{id}Get a customer
Keysales:readPeoplesales.readFeaturesales.orders - PATCH
/customers/{id}Update a customer (partial)
Keysales:writePeoplecustomers.manageFeaturesales.orders - DELETE
/customers/{id}Archive a customer
Keysales:writePeoplecustomers.manageFeaturesales.orders - GET
/invoicesList invoices
Keysales:readPeoplesales.readFeaturesales.invoicing - GET
/invoices/{id}Get an invoice
Keysales:readPeoplesales.readFeaturesales.invoicing - GET
/invoices/{id}/pdfDownload an invoice as PDF
Keysales:readPeoplesales.readFeaturesales.invoicing - POST
/invoices/{id}:payRecord payment of an invoice
Keysales:writePeopleinvoices.issueFeaturesales.invoicing - POST
/invoices/{id}:voidVoid an invoice
Keysales:writePeopleinvoices.issueFeaturesales.invoicing - GET
/sales-ordersList sales orders
Keysales:readPeoplesales.readFeaturesales.orders - POST
/sales-ordersCreate a sales order (reserves stock)
Keysales:writePeoplesales_orders.manageFeaturesales.orders - PUT
/sales-orders/external/{externalId}Create or update an order from another system (e.g. an online store)
Keysales:writePeoplesales_orders.manageFeaturesales.orders - GET
/sales-orders/{id}Get a sales order
Keysales:readPeoplesales.readFeaturesales.orders - POST
/sales-orders/{id}:cancelCancel an order (releases reserved stock)
Keysales:writePeoplesales_orders.manageFeaturesales.orders - POST
/sales-orders/{id}:invoiceIssue an invoice for an order
Keysales:writePeopleinvoices.issueFeaturesales.invoicing - POST
/sales-orders/{id}:shipShip an order (deducts stock)
Keysales:writePeoplesales_orders.manageFeaturesales.orders - GET
/sales-summariesList sales summaries
Keysales:readPeoplesales.readFeaturesales.feeds - POST
/sales-summariesSend hourly or daily sales totals
Keysales:writePeoplenot allowedFeaturesales.feeds - GET
/sales/transactionsList sales transactions
Keysales:readPeoplesales.readFeaturesales.feeds - POST
/sales/transactions:batchSend sales transactions from a POS or online store
Keysales:writePeoplenot allowedFeaturesales.feeds - GET
/sales/unmapped-itemsItems in sales feeds that aren't linked to a PurrOS item
Keysales:readPeoplesales.readFeaturesales.feeds - POST
/sales/unmapped-items:mapLink an unmapped item reference to a PurrOS item
Keysales:writePeoplesales.unmapped.resolveFeaturesales.feeds