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-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
variant_idstringrequiredTypeID with the
varprefix.emailstringrequiredlocalestring · or nullThe 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.
- 422
validation_failedNot an email address, or not an item for sale.