Skip to content

Back in stock types

The types the back in stock domain defines, with the fields other domains add to them.

Objects

ProductVariantBackInStockSubscribeResponse

Response for asking to hear about a restock

FieldTypeDescription
successBoolean!True for every well-formed request, so the answer tells nothing about the address or the variant.
productErrors[ProductVariantBackInStockSubscribeError!]Error details if the request was malformed

ProductVariantBackInStockUnsubscribeByTokenResponse

Response for withdrawing a restock sign-up through the link in a mail

FieldTypeDescription
successBoolean!True for every well-formed token, including one already used or whose sign-up was already mailed: either way, no mail follows.
productErrors[ProductVariantBackInStockUnsubscribeByTokenError!]Error details if the request was malformed

ProductVariantBackInStockUnsubscribeResponse

Response for withdrawing a restock sign-up

FieldTypeDescription
successBoolean!True for every well-formed request, so the answer tells nothing about the address or the variant.
productErrors[ProductVariantBackInStockUnsubscribeError!]Error details if the request was malformed

Unions

ProductVariantBackInStockSubscribeError

Error union for asking to hear about a restock

One of ValidationError.

ProductVariantBackInStockUnsubscribeByTokenError

Error union for withdrawing a restock sign-up through the link in a mail

One of ValidationError.

ProductVariantBackInStockUnsubscribeError

Error union for withdrawing a restock sign-up

One of ValidationError.