Remove discount

This API removes discount code on a specific contract based on subscriptionId and discountShopifyId in the url path params

Rate limit - 5/s

delete/2023-10/subscription/{subscriptionId}/discount/{discountShopifyId}

Request

  • Base URL
    https://api.loopsubscriptions.com/admin
  • URL
    https://api.loopsubscriptions.com/admin/2023-10/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

discountShopifyIdstring required

The shopify id of the the discount which has to be removed

Response

200

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.