Orders

Apply coupon to an order

Apply coupon to an order from the admin dashboard.

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

Path parameters

order_idstring uuid required
Example:2ea11673-5769-488b-919c-e20614d4b0f7

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.