/orders

Add or update orders.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Add or update orders by sending a JSON body with key, private_key, and an orders array. Each entry is an order object.

Each order requires id, products, time, and customer. Each products entry includes id, quantity, and unit price; profit is optional. time is a Unix timestamp in seconds.

Use the same identifier when updating a record. Use PATCH /orders to update selected attributes.

A response with status ok acknowledges the request. Changes may not be visible immediately; use GET /orders to verify the stored result.

Check status in the response body even when HTTP 200 is returned. Keep your private API key on your server.

Body Params
string
required

Your Store's public API key.

string
required

Your Store's private API key. Keep it on your server.

orders
array
required

A list of order objects. Each requires id, products, time, and customer.

orders*
Response

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json