Create promotion codes
Create promotion codes
Path Parameters
Parameter | Details |
---|---|
promotionId
| string Example: 645e0c241a93369ff53f26e0 |
Request body
requiredParameter | Details |
---|---|
promotionCodes
| string Example: BF24,XMAS24 |
Responses
201
Promotion Codes are successfully created.
application/json
Success
promotionCodesrequired
Array of string
400
Bad Request
application/json
Error
401
Unauthorized
application/json
Error
403
Forbidden
application/json
Error
500
Service unavailable error
application/json
Error
POST
Request samples
Response samples
201Promotion:
Content type: application/json