Remove discount

This endpoint removes a discount code from the specified subscription contract.

delete/2026-04/subscription/{subscriptionId}/discount/{discountShopifyId}

Request

  • Base URL
    https://api.loopsubscriptions.com/admin
  • URL
    https://api.loopsubscriptions.com/admin/2026-04/subscription/{subscriptionId}/discount/{discountShopifyId}
  • Auth
    API 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

successboolean
messagestring
codestring
pageInfounknown

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.