Skip to main content
POST
/
v1
/
competitor_prices
/
bulk
Bulk Upsert Competitor Prices
curl --request POST \
  --url https://api.example.com/v1/competitor_prices/bulk \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "competitor_name": "<string>",
      "observed_at": "2023-11-07T05:31:56Z",
      "regular_price": 123,
      "item_id": "<string>",
      "promo_price": 123,
      "currency": "<string>",
      "source_url": "<string>",
      "competitor_sku": "<string>",
      "barcode": "<string>",
      "status": "<string>",
      "stock_on_hand": 123
    }
  ]
}
'
{
  "results": [
    {
      "index": 123,
      "ok": true,
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ]
}

Body

application/json
items
CompetitorPriceBulkItem · object[]

Response

Successful Response

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