v1

latestOpenAPI 3.0.12026-07-24116117186.3 KB
Messages

Upload promotional codes

Upload promo codes from CSV or JSON.<br/>Existing promotional codes are updated.

post/api/v1/promocodes

Query parameters

expirationDatestring

Promo code expiration date. Used only for file upload

discountstring

Discount amount. Used only for file upload

typestring

Promo code type. Used only for file upload

inUseboolean

Is promo code in use. Used only for file upload

Request body

promocodesstring[] required
expirationDatestring required
discountinteger required
typestring
inUseboolean