Scopes
Commerce routes use the tenant attached to the M2M credential. Do not send a tenant id in the path or query string.
Item Model
scope is global unless the item is assigned to a business. Business-scoped items include propertyId.
List Items
commerce:items:read.
Create an Item
commerce:items:write.
text, number, email, phone, date, and select.
Read an Item
commerce:items:read.
Update an Item
commerce:items:write. Send only the fields you want to change.
Assign Item Scope
commerce:items:write.
Assign the item to one active business:
Delete an Item
commerce:items:write.
Sales
Sales are commerce purchases exposed with sales-oriented route names for external systems.List Sales
commerce:sales:read.
Query parameters:
Response:
Read a Sale
commerce:sales:read.
All monetary fields ending in
Minor use the currency’s minor unit. For example, 5000 with currency: "usd" means USD 50.00. capturedFields contains the values collected from the item fields configured at checkout.