Create an affiliate

Create a new affiliate for a seller.

To perform this action, you must be the account owner or must be delegated with ROLE_SELLER_ADMIN or ROLE_RESERVATIONIST.

Path Params
string
required

Seller ID.

Body Params
string
required

Affiliate name.

string
required

Unique code to identify this affiliate when placing an order.

children
array of strings

If this affiliate is the parent of any other affiliates, then list their children's IDs in this attribute

children
discount
object

Discount that will be applied to orders placed by this affiliate.

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