Skip to content
Navigation

List commission items

GET
https://api.nicer.travel/commerce/commissions

The commission list of every booking, whatever its source (Nicer checkout, GDS import, booked elsewhere, file import), with status, balance, due date and aging from commission_item_status. Keyset-paged on the date field (travel end by default), newest first; 25 per page, at most 100. Advisors see their own bookings; admins the agency's; view=RECEIVABLES lists what the agency receives as the owner of the identifier (a host sees its members' items; admins and staff). Finance staff may read any company, audited.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Query parameters

  • advisorUserId
    optional
    string
    maxLength: 4096 · minLength: 1
  • agingBucket
    optional
    string
    minLength: 1
  • category
    optional
    string
    minLength: 1
  • dateField
    optional
    TRAVEL_END
    or
    TRAVEL_START
    or
    BOOKED
    or
    DUE
  • from
    optional
    string
    format: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
  • identifierId
    optional
    string
    maxLength: 4096 · minLength: 1
  • kind
    optional
    string
    minLength: 1
  • needsReview
    optional
    true
    or
    false
  • q
    optional
    string
    maxLength: 100 · minLength: 2
  • source
    optional
    string
    minLength: 1
  • status
    optional
    string
    minLength: 1
  • supplierId
    optional
    string
    minLength: 1
  • tag
    optional
    string
    maxLength: 64 · minLength: 1
  • to
    optional
    string
    format: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
  • view
    optional
    BOOKINGS
    or
    RECEIVABLES
  • cursor
    optional
    string
    maxLength: 2048 · minLength: 1
  • limit
    optional
    integer
    maximum: 100 · minimum: 1

Header parameters

  • x-nicer-company
    string
    required

    Company context. Authentication and tenant membership are validated by the API.

Returns

200

OK

JSON
  • items
    array of
    object
    required
    • advisorUserId
      required

      Any of the following:

      • string
      • null
    • agingBucket
      NOT_TRAVELED
      or
      0_30
      or
      31_60
      or
      61_90
      or
      91_180
      or
      180_PLUS
      required
    • balanceMinor
      integer
      required
      maximum: 9007199254740991 · minimum: 0
    • bookedOn
      string
      required
      format: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
    • category
      string
      ·
      one of 12 values
      required
      Allowed values: HOTEL, CRUISE, TOUR, DMC, FLIGHT, CAR_RENTAL, RAIL, INSURANCE, TRANSFER, CONCIERGE, FEE, OTHER
    • clientName
      string
      required
      minLength: 1
    • collectedByNicer
      boolean
      required
    • commissionItemId
      string
      required
      minLength: 1
    • companyName
      string
      required
      minLength: 1
    • confirmationNumber
      required

      Any of the following:

      • string
      • null
    • currency
      string
      required
      pattern: ^[A-Z]{3}$
    • daysPastDue
      integer
      required
      maximum: 9007199254740991 · minimum: 0
    • dueOn
      string
      required
      format: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
    • expectedMinor
      integer
      required
      maximum: 9007199254740991 · minimum: 0
    • externalBookingId
      required

      Any of the following:

      • string
      • null
    • grossMinor
      integer
      required
      maximum: 9007199254740991 · minimum: 0
    • isCommissionable
      boolean
      required
    • isFlagged
      boolean
      required
    • isOverdue
      boolean
      required
    • kind
      SUPPLIER_COMMISSION
      or
      CLIENT_NET_MARKUP
      or
      CLIENT_FEE
      required
    • lastReceivedOn
      required

      Any of the following:

      • string
      • null
    • needsReview
      boolean
      required
    • number
      string
      required
      minLength: 1
    • orderId
      required

      Any of the following:

      • string
      • null
    • paymentStatus
      UPCOMING
      or
      DUE
      or
      OVERDUE
      or
      PAID
      or
      CANCELLED
      or
      NOT_COMMISSIONABLE
      required
    • percentPaid
      required

      Any of the following:

      • number
      • null
    • providerLocator
      required

      Any of the following:

      • string
      • null
    • receivedMinor
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • receivingCompanyName
      string
      required
      minLength: 1
    • source
      CHECKOUT
      or
      GDS_IMPORT
      or
      MANUAL
      or
      FILE_IMPORT
      required
    • supplier
      object
      required
      • name
        required

        Any of the following:

        • string
        • null
      • supplierId
        required

        Any of the following:

        • string
        • null
      • verified
        boolean
        required
    • tags
      array of
      string
      required
      maxLength: 64 · minLength: 1
    • travelEnd
      string
      required
      format: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
    • travelStart
      string
      required
      format: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
    • updatedAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
  • nextCursor
    required

    Any of the following:

    • string
    • null

400

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

401

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

403

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close