Skip to main content
POST
/
api
/
woocommerce
/
back-in-stock
/
subscribe
Subscribe to WooCommerce Back-In-Stock
curl --request POST \
  --url https://api.sequenzy.com/api/woocommerce/back-in-stock/subscribe \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "storeUrl": "<string>",
  "companyId": "<string>",
  "email": "<string>",
  "providerProductId": "<string>",
  "providerVariantId": "<string>",
  "productTitle": "<string>",
  "variantTitle": "<string>"
}
'
{
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.sequenzy.com/llms.txt

Use this file to discover all available pages before exploring further.

You can capture a shopper’s back-in-stock request from a WooCommerce storefront. The store must already be connected to Sequenzy, and the request must come from that storefront origin.

Request

storeUrl
string
required
Connected WooCommerce storefront URL, such as https://store.example.com.
companyId
string
Sequenzy company ID. Use this when the same storefront URL could match more than one active connection, or when the storefront URL differs from the connected WooCommerce site URL.
email
string
required
Shopper email address.
providerProductId
string
required
WooCommerce product ID.
providerVariantId
string
WooCommerce variation ID. For simple products, omit this field and Sequenzy uses providerProductId.
productTitle
string
required
Product title to snapshot on the waitlist row.
variantTitle
string
Variation title to snapshot on the waitlist row.
curl -X POST "https://api.sequenzy.com/api/woocommerce/back-in-stock/subscribe" \
  -H "Content-Type: application/json" \
  -H "Origin: https://store.example.com" \
  -d '{
    "storeUrl": "https://store.example.com",
    "email": "buyer@example.com",
    "providerProductId": "501",
    "providerVariantId": "777",
    "productTitle": "Coffee Refill Pack",
    "variantTitle": "1kg"
  }'

Responses

{
  "success": true
}