Test orders
Create a test order
Sandbox only. A test order with no customer and no courier; the sandbox then sends order.created to your endpoint, just like live.
POST
Create a test order
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.
Body
application/json
Response
201 - application/json
The test order
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 