Skip to content
Navigation

Search suppliers

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

Type-ahead over Nicer's global supplier directory and the company's own suppliers, best match first, with Sabre Global Property IDs where available. When fewer than three fit a query of three characters or more and there is no strong Sabre match, it also suggests up to five Google places (lodging for PROPERTY, car rental for CAR_RENTAL). Creating a supplier with a suggestion's googlePlaceId reuses the supplier that place already names. Google failing or slow (1.5 s) answers no suggestions, never an error.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Query parameters

  • q
    string
    required
    maxLength: 100 · minLength: 1
  • kind
    optional
    string
    ·
    one of 10 values
    Allowed values: PROPERTY, CRUISE_LINE, TOUR_OPERATOR, DMC, AIRLINE, CAR_RENTAL, RAIL, INSURANCE, TRANSFER, OTHER
  • limit
    optional
    integer
    maximum: 20 · 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
    • city
      required

      Any of the following:

      • string
      • null
    • commissionBps
      required

      Any of the following:

      • integer
      • null
    • countryCode
      required

      Any of the following:

      • string
      • null
    • kind
      string
      ·
      one of 10 values
      required
      Allowed values: PROPERTY, CRUISE_LINE, TOUR_OPERATOR, DMC, AIRLINE, CAR_RENTAL, RAIL, INSURANCE, TRANSFER, OTHER
    • name
      string
      required
      minLength: 1
    • paymentTermDays
      required

      Any of the following:

      • integer
      • null
    • scope
      GLOBAL
      or
      COMPANY
      required
    • similarity
      number
      required
      maximum: 1 · minimum: 0
    • supplierId
      string
      required
      minLength: 1
    • verified
      boolean
      required
    • sabreGlobalId
      optional

      Any of the following:

      • string
      • null
  • suggestions
    array of
    object
    required
    • address
      required

      Any of the following:

      • string
      • null
    • countryCode
      required

      Any of the following:

      • string
      • null
    • googlePlaceId
      string
      required
      maxLength: 512 · minLength: 1
    • latitude
      required

      Any of the following:

      • number
      • null
    • longitude
      required

      Any of the following:

      • number
      • null
    • name
      string
      required
      minLength: 1

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