POST
/
v2
/
order_events
Create order events
curl --request POST \
  --url https://dev.sbx.imprint.co/v2/order_events \
  --header 'Content-Type: application/json' \
  --data '{
  "order_event_id": "77f60af4-185e-4867-b113-34e3cf7c6acd",
  "order_id": "77f60af4-185e-4867-b113-34e3cf7c6acd",
  "partner_event_id": "7622c07d-eb2b-4345-a9a9-345d61d32bc2",
  "type": "CAPTURED",
  "amount": 274999,
  "rewards_amount": 2500,
  "currency": "USD",
  "network_transaction_id": "615e3ba0-6b99-495b-ade4-1f584c40f376",
  "order_lines": [
    {
      "name": "Couch Supreme",
      "product_url": "www.crate.com/couch-supreme",
      "quantity": 1,
      "rate": 274999,
      "rewards_rate": 2500
    }
  ]
}'
{
  "order_event_id": "77f60af4-185e-4867-b113-34e3cf7c6acd",
  "order_id": "77f60af4-185e-4867-b113-34e3cf7c6acd",
  "partner_event_id": "7622c07d-eb2b-4345-a9a9-345d61d32bc2",
  "type": "CAPTURED",
  "amount": 274999,
  "rewards_amount": 2500,
  "currency": "USD",
  "network_transaction_id": "615e3ba0-6b99-495b-ade4-1f584c40f376",
  "order_lines": [
    {
      "name": "Couch Supreme",
      "product_url": "www.crate.com/couch-supreme",
      "quantity": 1,
      "rate": 274999,
      "rewards_rate": 2500
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Body

application/json

Response

200 - application/json

Order event created successfully

The response is of type object.