Orders

Remove coupon from an order

Changed on

Remove coupon from an order during checkout.

delete/orders/{order_id}/remove-coupon

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/orders/{order_id}/remove-coupon
  • Auth: one of:
    • HTTP bearer
    • none

Path parameters

order_idstring uuid required
Example:bc682012-e1a3-4466-9e84-4b87fc7f2c56

Response

Coupon removed successfully

couponstring nullable required
discounted_amountnumber nullable required

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      removed subschema #2 from the response body allOf list for the response status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status