Add discount
This endpoint allows you to add a discount code to the specified subscription contract.
post/2026-04/subscription/{subscriptionId}/discount
Request
- Base URLhttps://api.loopsubscriptions.com/admin
- URLhttps://api.loopsubscriptions.com/admin/2026-04/subscription/{subscriptionId}/discount
- AuthAPI key in header X-Loop-Token
Path parameters
subscriptionIdinteger required
ID of the subscription
Request body
Response
Discount applied successfully
Example response
{
"success": true,
"message": "Discount applied successfully",
"data": {
"shopifyId": "afbdd78e-316b-450e-9249-50438219dea5",
"code": "TEST101"
},
"code": "SUCCESS"
}Changes
No recorded changes to this operation across all 1 revision of this API.