POST
/
offer
/
coupons
/
{id}
/
codes
curl --request POST \
  --url https://services.commercengine.dev/api/v1/x2yh61zw4k/admin/offer/coupons/{id}/codes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "coupon_code": [
    "<string>"
  ]
}'
{
  "message": "<string>",
  "success": "<string>"
}

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

Body

application/json
coupon_code
string[]

Response

200 - application/json
OK
message
string
success
string