object | object | | |
meta | object | Request meta data
| |
reqId | uuid | Request ID for request tracking. An identifier unique to the request, which is passed from the reseller through Redeam to the operator.
If the reseller does not provide a request ID, Redeam will generate an ID and return it to the reseller.
| |
suppliers | array[object] | | |
businessType | array[string] | Key word or words that identify the type of business
pattern: ^\w+$
| |
code | string | Code of the supplier. Every Supplier must have a unique Code.
| |
contacts | array[object] | Supplier contact information.
| |
email | string | Contact email address
| |
name | string | Contact name
| |
phone | string | Contact phone number
pattern: ^\+\d[\d\s\(\)-]+$
| |
primary | boolean | Set to true, if this is the primary contact.
| |
title | string | Contact title
| |
ext | object | Extended data of the supplier
| |
hours | array[object] | Hours of the supplier
| |
dates | array[string] | Specific dates to which this rule applies
| |
daysOfWeek | array[integer] | Applicable days of week. 0 is undefined, 1 is Monday, etc
| |
times | array[object] | Open/Close times
| |
close | string | Close time in UTC, 24-hour time, with 'HH:mm' format
pattern: ^([01]?[0-9]|2[0-3]):[0-5][0-9]$
| |
open | string | Open time in UTC, 24-hour time, with 'HH:mm' format
pattern: ^([01]?[0-9]|2[0-3]):[0-5][0-9]$
| |
timezone | string | IANA timezone string. If empty, then the open and close times are interpreted as UTC.
| |
valid | object | Valid time range, if DaysOfWeek is specified
| |
from | date-time | Valid from time
| |
until | date-time | Valid until time
| |
id | uuid | ID of the supplier. This field can optionally be provided on create. If a valid UUID is provided on create, it will be saved as the object's ID. Otherwise, the object will receive a generated ID.
| |
mainLocation | object | Location of the supplier
| |
address | object | Address of the location
| |
countryCode | string | ISO 3366-1 alpha-3 format
pattern: ^[A-Za-z]{3}$
| |
googlePlaceId | string | A Google Place ID.
| |
locality | string | Locality is usually the address city
| |
postalCode | string | PostalCode is the postal code, for example 94043
| |
region | string | Region is usually a state/province
| |
streetAddress | string | StreetAddress is a address line.
| |
city | string | This field is DEPRECATED.
| |
country | string | This field is DEPRECATED.
| |
longLat | object | Longitude and latitude of a location
| |
latitude | number | Latitude of the position
| |
longitude | number | Longitude of the position
| |
name | string | Name of the location
| |
notes | string | Notes
| |
state | string | This field is DEPRECATED.
| |
utcOffset | string | This field is DEPRECATED.
| |
website | string | Website
| |
name | string | Name of the supplier
| |
otherLocations | array[object] | Other locations of the supplier
| |
address | object | Address of the location
| |
countryCode | string | ISO 3366-1 alpha-3 format
pattern: ^[A-Za-z]{3}$
| |
googlePlaceId | string | A Google Place ID.
| |
locality | string | Locality is usually the address city
| |
postalCode | string | PostalCode is the postal code, for example 94043
| |
region | string | Region is usually a state/province
| |
streetAddress | string | StreetAddress is a address line.
| |
city | string | This field is DEPRECATED.
| |
country | string | This field is DEPRECATED.
| |
longLat | object | Longitude and latitude of a location
| |
latitude | number | Latitude of the position
| |
longitude | number | Longitude of the position
| |
name | string | Name of the location
| |
notes | string | Notes
| |
state | string | This field is DEPRECATED.
| |
utcOffset | string | This field is DEPRECATED.
| |
website | string | Website
| |
partnerId | string | A Partner ID can be used to store a unique key in a partner's system.
| |
travelerTypes | array[object] | Traveler types of the supplier
| |
ageBand | string | Age band of the traveler type
Enum: ADULT ,ANY ,CHILD ,INFANT ,SENIOR ,STUDENT ,UNKNOWN ,YOUTH
| |
maxAge | int32 | Maximum age (inclusive) of the traveler type
| |
minAge | int32 | Minimum age (inclusive) of the traveler type
| |
modifier | string | Optional traveler modifier. For most use cases, this can be omitted or set to 'NONE'.
Enum: EU_CITIZEN ,GROUP ,MILITARY ,NONE
| |
name | string | Name of the traveler type, e.g. Diver, Observer, Adult, Military
| |
version | int32 | Version of this object. Increments every update.
| |