Trigger scenario

  • A variant on StockX has had its price updated.
  • A variant on StockX has had its number of asks updated.

Event specification

  • data will contain an array of variants that have had their price updated. A single webhook can contain variants from multiple products.
  • sizes will contain an array of every size with conversion information.
  • subtotal will contain the price of the variant with shipping and StockX-fees included, it’s represented as a JSON object with the key being the shipping option and the value being the price.
  • If the number_of_asks is 0, it means that the variant is not for sale.

Payload

{
  "event": "stockx.price.updated.gbp",
  "timestamp": 1740367990,
  "version": "v1",
  "data": [
    {
      "product_id": "4b3ef1f3-d8e8-4827-b52e-b077131a7576",
      "name": "Nike Free Metcon 6 Black Anthracite (Women's)",
      "slug": "nike-free-metcon-6-black-anthracite-womens",
      "sku": "FJ7126-003",
      "variant_id": "afc69277-354b-4e05-8b75-c94c7e9caf9c",
      "sizes": [
        { "size": "US W 5", "type": "us w" },
        { "size": "UK 2.5", "type": "uk" },
        { "size": "CM 22", "type": "cm" },
        { "size": "KR 220", "type": "kr" },
        { "size": "EU 35.5", "type": "eu" },
        { "size": "US M 3.5", "type": "us m" }
      ],
      "lowest_ask": 137.0,
      "subtotal": { "STANDARD": 155.38 },
      "number_of_asks": 20,
      "currency": "GBP"
    },
    {
      "product_id": "4b3ef1f3-d8e8-4827-b52e-b077131a7576",
      "name": "Nike Free Metcon 6 Black Anthracite (Women's)",
      "slug": "nike-free-metcon-6-black-anthracite-womens",
      "sku": "FJ7126-003",
      "variant_id": "17691b00-9829-402e-b7ed-d10f2a540c58",
      "sizes": [
        { "size": "US W 5.5", "type": "us w" },
        { "size": "UK 3", "type": "uk" },
        { "size": "CM 22.5", "type": "cm" },
        { "size": "KR 225", "type": "kr" },
        { "size": "EU 36", "type": "eu" },
        { "size": "US M 4", "type": "us m" }
      ],
      "lowest_ask": 132.0,
      "subtotal": { "STANDARD": 150.09 },
      "number_of_asks": 10,
      "currency": "GBP"
    }
  ]
}

Response fields

event
string

The event name.

timestamp
number

The timestamp of the event.

version
string

The version of the event.

data
array

The data of the event.