Test orders
Play customer or courier
Sandbox only. cancel cancels the test order as the customer; pickup picks it up as the courier.
POST
Play the customer or the courier
Authorizations
The store's API key (xfp_test_… on the sandbox, xfp_live_… on live). XFaster creates it and shows it once. An integrator key (one key for a POS company) also sends X-XFaster-Store.
Path Parameters
Example:
183761
Available options:
cancel, pickup Response
200 - application/json
The order after the change
Example:
183761
Example:
"183761"
Available options:
delivery, pickup Available options:
new, preparing, ready, picked_up, delivered, collected, cancelled Set for orders placed for later
items + packaging + delivery_fee + tip - discount - coupon = total
Markets - lines are final once done
Available options:
picking, done, null 