GET
/
offer
/
coupons
/
{id}
/
customers
curl --request GET \
  --url https://services.commercengine.dev/api/v1/x2yh61zw4k/admin/offer/coupons/{id}/customers \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "success": "<string>",
  "content": {
    "customers": [
      "<string>"
    ],
    "pagination": {
      "total_records": 123,
      "total_pages": 123,
      "previous_page": "<any>",
      "limit": 123,
      "next_page": "<any>"
    }
  }
}

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

Query Parameters

page
integer

page number of pagination list

Required range: x > 1
limit
integer

no of rows per page

Required range: x > 1
sort_by
string

JSON string format: {"field1":"asc", "field2":"desc"}

search keyword

Response

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