Orders

Apply coupon to an order

Apply coupon to an order from checkout.

post/orders/{order_id}/add-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}/add-coupon
  • Auth: one of:
    • HTTP bearer
    • none

Path parameters

order_idstring uuid required
Example:fccf7d90-9374-4b02-954c-b4dba1ffeec5

Request body

couponstring required
force_transferboolean

Response

Coupon applied successfully

couponstring nullable required
discounted_amountnumber nullable required

Changes

No recorded changes to this operation across all 3 revisions of this API.