API reference
Get an order
GET
Where an order placed online is: waiting for the shop, open, completed or cancelled, what is paid, and its delivery.
publishableKeyheader
AuthorizationBearer <pk_live_…>The shop’s publishable key, from Settings, Developers in Cashiar. Safe to use in a browser.
id*stringapplication/json- response
id*stringnumber*stringstatus*stringValue in
"waiting""open""completed""cancelled"total*numberpaid*numberdelivery*|nullcreatedAt*stringFormat
date-timecurl -X GET 'https://api.cashiar.app/v1/storefront/orders/string'Example Response200
{
"id": "string",
"number": "string",
"status": "waiting",
"total": 0,
"paid": 0,
"delivery": {
"status": "waiting",
"trackUrl": "string"
},
"createdAt": "2019-08-24T14:15:22Z"
}Place an order POST
Places an order as the online store’s checkout does: for pickup or delivery, paid now by link (payUrl) when the shop takes online payment, else at pickup or on delivery.
List services GET
The services customers can book, with their prices, how long they take and the branches that offer them, and the days bookings are open.