Skip to content

Back in stock GraphQL

Served by BackInStockModule on commercetools.

Each operation has its own page with its arguments, an example and the engines that serve it. The types link to their fields on the back in stock types page.

Operations

OperationDescriptionServed by
productVariantBackInStockSubscribeMutationAsk to be mailed once when a sold-out variant is back in stock.commercetools
productVariantBackInStockUnsubscribeMutationWithdraw the signed-in customer's sign-up for a variant, so no restock mail follows.commercetools
productVariantBackInStockUnsubscribeByTokenMutationWithdraw the sign-up a mail's unsubscribe link names, without signing in.commercetools

Types

TypeDescription
ProductVariantBackInStockSubscribeErrorUnionError union for asking to hear about a restock
ProductVariantBackInStockSubscribeResponseObjectResponse for asking to hear about a restock
ProductVariantBackInStockUnsubscribeByTokenErrorUnionError union for withdrawing a restock sign-up through the link in a mail
ProductVariantBackInStockUnsubscribeByTokenResponseObjectResponse for withdrawing a restock sign-up through the link in a mail
ProductVariantBackInStockUnsubscribeErrorUnionError union for withdrawing a restock sign-up
ProductVariantBackInStockUnsubscribeResponseObjectResponse for withdrawing a restock sign-up