Skip to main content
POST
/
v1
/
transactions
/
bulk
Bulk Upsert Transactions
curl --request POST \
  --url https://api.example.com/v1/transactions/bulk \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "sku": "<string>",
      "region": "<string>",
      "sales_value": 123,
      "gross_profit": 123,
      "stock_after_sale": 123,
      "regular_price": 123,
      "promo_type": "<string>",
      "zone_price": 123,
      "external_transaction_id": "<string>",
      "unit_cost": 123,
      "discount_rate": 123,
      "currency": "<string>",
      "tax_rate": 123,
      "transaction_type": "<string>",
      "item_id": "<string>",
      "store_id": "<string>",
      "transaction_timestamp": "2023-11-07T05:31:56Z",
      "quantity": 123,
      "selling_price": 123
    }
  ]
}
'
{
  "results": [
    {
      "index": 123,
      "ok": true,
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ]
}

Body

application/json
items
TransactionBulkItem · object[]

Response

Successful Response

results
(BulkItemSuccess · object | BulkItemError · object)[]