Remove discount

Changed on

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

successboolean
messagestring
codestring
pageInfounknown

Example response

{
  "success": true,
  "message": "Discount removed successfully",
  "data": {
    "code": "TEST30",
    "subscription": {
      "id": 1473,
      "shopifyId": 345678098723
    }
  },
  "code": "SUCCESS"
}

Changes