[R] Create a code

Creates one or more coupon codes.

To perform this operation, you must be the account owner, or must be delegated with ROLE_MARKETER, or ROLE_SELLER_ADMIN.

Path Params
string
required

The Coupon ID

Query Params
boolean
Defaults to true

Use false if you are uploading a single code.

Body Params
string

Unique identifier for this code. Required if batch=false.

RAW_BODY
array of objects
required

List of unique codes. Required if batch=true.

RAW_BODY*
Language
Credentials
Header
Response
Click Try It! to start a request and see the response here!