Skip to content
Last update: February 11, 2025

deactivateBackInStockSubscription mutation

This mutation deactivates a back-in-stock subscription for a specific product in a store.

Arguments

The DeactivateBackInStockSubscriptionCommandType! provides the necessary input values to deactivate the subscription.

Argument Description
storeId String! The Id of the store where the subscription should be deactivated.
productId String! The Id of the product for which the subscription should be deactivated.

Possible returns

Possible return Description
BackInStockSubscriptionType The deactivated back-in-stock subscription details.
1
2
3
4
5
6
7
8
mutation deactivateBackInStockSubscription($command: DeactivateBackInStockSubscriptionCommandType!) {  
  deactivateBackInStockSubscription(command: $command) {  
    id  
    storeId  
    productId  
    isActive  
  }  
}  
1
2
3
4
5
6
{  
  "command": {  
    "storeId": "store123",  
    "productId": "product456"  
  }  
}