Skip to content

Request stock alert

POST/store/v1/stock-alerts
  • Idempotency-Key supported

Ask to be emailed once when a sold-out variant is back. Asking again for the same address changes nothing.

Headers

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • variant_idstringrequired

    TypeID with the var prefix.

  • emailstringrequired
  • localestring · or null

    The language to write in (ar, en-US); the store's when omitted.

Returns

204 The shopper will hear when it's back.

Errors

  • 409The item is in stock, or the store takes no requests.
  • 422validation_failedNot an email address, or not an item for sale.