PaidGoods
API referenceStorefront growth (buyers)

Ask to be emailed when a sold-out item is back

POST
/v1/public/stores/{storeId}/stock-alerts

Path Parameters

storeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/public/stores/string/stock-alerts" \  -H "Content-Type: application/json" \  -d '{    "variantId": "d53feca7-c65b-4741-aca7-827a42d686bf",    "email": "string"  }'
{  "status": "subscribed"}