HomeGuidesRecipesAPI ReferenceChangelog
GuidesAPI ReferenceCustomer Help CenterLog In
API Reference

[W] Introduction

Affiliates are partners who make bookings on behalf of guests where there is either a discounting or commission component to the relationship. Each affiliate is given a unique code so that you can track commissions, accounts receivable, and accounts payable for each affiliate.

See our help center for more details.

{
  "id": "57ff8466c683b1e40a8b4572",
  "name": "Hotel California",
  "code": "CALI",
  "balance": 0,
  "status": "active",
  "voucher": false,
  "discount": {
    "amount": 5,
    "amountType": "percent",
    "scope": "outing",
    "scopeModifier": "excludeAddon"
  },
  "commission": {
    "amount": 5,
    "amountType": "percent",
    "scope": "outing",
    "scopeModifier": "excludeAddon"
  },
  "children": [
    "594787f907876ccd058b45ee"
  ],
  "travelerNotification": {
    "enabled": true
  },
  "affiliateNotification": {
    "enabled": false
  },
  "createdAt": "2016-10-13T12:56:06+00:00",
  "createdBy": "57ba753dc683b12a7f8b4567",
  "updatedAt": "2016-10-24T08:55:48+00:00",
  "updatedBy": "57ba753dc683b12a7f8b4567"
}