Orders
Send an order in (create or update)
Secret key. Permission orders:write. Creates the order, or updates it if external_id was sent before. Safe to retry. The order source is decided by the key, never by the body: a WooCommerce connection key gives woocommerce, a Shopify connection gives shopify, any other secret key gives api.
post/orders
Request
- Base URL: https://sitesplaced.com/api/v1
- URL: https://sitesplaced.com/api/v1/orders
- Auth: one of:
- HTTP bearer
- API key in header X-Api-Key
Request body
Example request
{
"payment": {
"method": "razorpay",
"method_title": "Credit Card/UPI"
},
"currency": "INR",
"customer": {
"country": "IN"
},
"items": [
{
"variant": "Size: Small"
}
]
}Response
The order was updated, was unchanged, or was skipped.
Example response
{
"order": {
"external_status": "processing",
"currency": "INR",
"risk": {
"flags": [
{
"code": "bad_phone"
}
]
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.