Remove discount
Changed onThis endpoint allows you to remove any active discount applied to the subscription, restoring it to its original pricing.
delete/2026-04/subscription/{subscriptionId}/discount/{discountShopifyId}
Request
- Base URLhttps://api.loopsubscriptions.com/storefront
- URLhttps://api.loopsubscriptions.com/storefront/2026-04/subscription/{subscriptionId}/discount/{discountShopifyId}
- AuthAPI key in header Authorization
Path parameters
subscriptionIdinteger required
The unique identifier for a subscription in Loop.
discountShopifyIdinteger required
Shopify ID of the discount to be removed from the subscription.
Response
Discount removed successfully
Example response
{
"success": true,
"message": "Discount removed successfully",
"data": {
"code": "TEST30",
"subscription": {
"id": 1473,
"shopifyId": 345678098723
}
},
"code": "SUCCESS"
}Changes
- info
endpoint added
- info