[W] Update 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

The ID of the affiliate to modify

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
commission
object

Commission this affiliate receives for each order placed.

discount
object

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

travelerNotification
object

Send booking emails to the customer

affiliateNotification
object

Send a copy of booking emails to this affiliate

boolean
Defaults to false

This affiliate requires a voucher during booking

deposit
object

Whether the affiliate should require a deposit, and under what terms.

string

The affiliate's email address

string

The affiliate's phone number

string

The affiliate's website URL

string

The affiliate's mailing address

string

Any notes to be included in the affiliate's bio information

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