Remove discount
This endpoint removes a discount code from the specified subscription contract.
delete/2026-04/subscription/{subscriptionId}/discount/{discountShopifyId}
Request
- Base URLhttps://api.loopsubscriptions.com/admin
- URLhttps://api.loopsubscriptions.com/admin/2026-04/subscription/{subscriptionId}/discount/{discountShopifyId}
- AuthAPI key in header X-Loop-Token
Path parameters
subscriptionIdinteger required
The subscriptionId on which the discount has to be removed
discountShopifyIdinteger required
The shopify id of the the discount which has to be removed
Response
Discount removed successfully
Example response
{
"success": true,
"message": "Discount removed successfully",
"data": {
"code": "TEST101"
},
"code": "SUCCESS"
}Changes
No recorded changes to this operation across all 1 revision of this API.