Skip to content
Last update: February 11, 2025

activateBackInStockSubscription mutation

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

Arguments

The ActivateBackInStockSubscriptionCommandType! provides the necessary input values to activate the subscription.

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

Possible returns

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