---
title: "Apply coupon to an order"
method: POST
path: "/admin/orders/{order_id}/add-coupon"
tags: ["Orders"]
---

# Apply coupon to an order

`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

Apply coupon to an order from the admin dashboard.

## Path parameters

- `order_id` string, uuid, required

## Request body

- object
  - `coupon` string, required
  - `force_transfer` boolean

## Response `200`

Coupon applied successfully

- object
  - `coupon` string, nullable, required
  - `discounted_amount` number, nullable, required

## Other responses

- `409`: A payment for this order is being processed (code checkout_payment_in_progress)
- `502`: Stripe could not confirm the checkout session state (code CHECKOUT_SESSION_UNREACHABLE); nothing changed, retry shortly

---

[API](https://skmtc.dev/presscart/apis/presscart-prod-api.md) · [All operations](https://skmtc.dev/presscart/apis/presscart-prod-api/llms.txt) · [OpenAPI document](https://skmtc.dev/presscart/apis/presscart-prod-api/revisions/2154581d845e?raw)
