v1

latestOpenAPI 3.1.02026-07-241120379.1 KB

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}

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
{"stackTrail":"paths:/2023-10/subscription/{subscriptionId}/discount/{discountShopifyId}:delete:responses:200:content:application/json:schema:properties:pageInfo","oasType":"schema","type":"unknown"}

Example response

{
  "success": true,
  "message": "Discount removed successfully",
  "data": {
    "code": "TEST101"
  },
  "code": "SUCCESS"
}