GET
/
offer
/
coupons
/
{id}
/
usage
curl --request GET \
  --url https://services.commercengine.dev/api/v1/x2yh61zw4k/admin/offer/coupons/{id}/usage \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "success": true,
  "content": {
    "usage": [
      {
        "customer_id": "<string>",
        "order_number": "<string>",
        "coupon_code": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "modified_at": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

coupon id

Response

200 - application/json
OK
message
string
success
boolean
content
object