Skip to main content
POST
/
place-order
Place Order
curl --request POST \
  --url https://api.erysta.com/v1/partners/place-order \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "items": [
    {
      "id": "69ae19b4397b2e44c02853f6",
      "quantity": 1
    }
  ],
  "reference_id": "MY-SHOP-12345"
}
'
{
  "status": 200,
  "success": true,
  "details": {
    "data": {
      "id": "ABCD1234"
    },
    "extensions": {
      "cache": "no-store",
      "trace_id": "req-7f8a9b2c...",
      "timestamp": "2026-03-09T15:30:00.000Z"
    }
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json
items
object[]
required

List of products to purchase.

Minimum array length: 1
reference_id
string

Optional: Your internal reference for this order.

Example:

"MY-SHOP-12345"

Response

Order placed successfully

status
integer
Example:

200

success
boolean
Example:

true

details
object