Orders

Send up to 50 orders in

Secret key. Permission orders:write. One bad order never fails the batch. backfill: true means "this is history": no mobile push, no WhatsApp and no webhooks.

post/orders/batch

Request

  • Base URL: https://sitesplaced.com/api/v1
  • URL: https://sitesplaced.com/api/v1/orders/batch
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key

Request body

backfillboolean

True means "this is history": no mobile push, no WhatsApp, no webhooks.

Example request

{
  "orders": [
    {
      "payment": {
        "method": "razorpay",
        "method_title": "Credit Card/UPI"
      },
      "currency": "INR",
      "customer": {
        "country": "IN"
      },
      "items": [
        {
          "variant": "Size: Small"
        }
      ]
    }
  ]
}

Response

One result per order.

Changes

No recorded changes to this operation across all 1 revision of this API.