Products
Last updated
Was this helpful?
Last updated
Was this helpful?
Returns all products offered together with the specified services. Note this operation uses and supports .
[PlatformAddress]/api/connector/v1/products/getAll
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
EnterpriseIds
array of string
optional, max 1000 items
Unique identifiers of the Enterprises. If not specified, the operation returns data for all enterprises within scope of the Access Token.
ProductIds
array of string
optional, max 1000 items
Unique identifiers of the product.
ServiceIds
array of string
required, max 1000 items
UpdatedUtc
optional, max length 3 months
Interval in which the products were updated.
IncludeDefault
boolean
optional
Whether or not to include default products for the service, i.e. products which are standard includes and not true extras. For example, the night's stay would be the default product for a room reservation. These may be useful for accounting purposes but should not be displayed to customers for selection. If ProductIds
are provided, IncludeDefault
defaults to true, otherwise it defaults to false.
Limitation
required
Limitation on the quantity of data returned and optional Cursor for the starting point of data.
Products
required
Products offered with the service.
CustomerProducts
required
Products offered specifically to customers.
Cursor
string
optional
Unique identifier of the last and hence oldest product returned. This can be used in Limitation
in a subsequent request to fetch the next batch of older products.
Id
string
required
Unique identifier of the product.
ServiceId
string
required
CategoryId
string
optional
Unique identifier of the Product category.
AccountingCategoryId
string
optional
IsActive
boolean
required
Whether the product is still active.
Names
required
All translations of the name.
ExternalNames
required
All translations of external name.
ShortNames
required
All translations of short name.
Descriptions
optional
All translations of descriptions.
ChargingMode
required
Charging mode of the product.
PostingMode
required
Charging mode of the product.
Options
required
Options of the product.
Promotions
required
Promotions of the product.
Classifications
required
Classifications of the product.
Price
required
Price representing price of the product.
ImageIds
array of string
optional
Unique identifier of the product image.
Ordering
integer
required
Order value for presentation purposes.
ExternalIdentifier
string
optional, max length 255 characters
Identifier of the product from external system.
TaxExemptionReason
optional
Specifies the reason a product is exempt from tax.
TaxExemptionLegalReference
string
optional
Legal reference that states why this product is exempt from tax.
CreatedUtc
string
required
Creation date and time of the product in UTC timezone in ISO 8601 format.
UpdatedUtc
string
required
Last update date and time of the product in UTC timezone in ISO 8601 format.
ConsumptionMoment
required
Consumption moment of the product.
IsDefault
boolean
required
Deprecated!
Name
string
optional
Name of the product. Deprecated! Please use Names Deprecated! Use Names
instead.
ExternalName
string
optional
Name of the product meant to be displayed to customer. Deprecated! Please use ExternalNames Deprecated! Use ExternalNames
instead.
ShortName
string
optional
Short name of the product. Deprecated! Please use ShortNames Deprecated! Use ShortNames
instead.
Description
string
optional
Description of the product. Deprecated! Please use Descriptions Deprecated! Use Descriptions
instead.
Charging
required
Deprecated!
Posting
required
Deprecated!
Pricing
required
Deprecated! Use Price
instead.
Once
PerTimeUnit
PerPersonPerTimeUnit
PerPerson
Once
Daily
Once
PerTimeUnit
BillAsPackage
boolean
required
Product should be displayed as part of a package.
Food
boolean
required
Product is classified as food.
Beverage
boolean
required
Product is classified as beverage.
Wellness
boolean
required
Product is classified as wellness.
CityTax
boolean
required
Product is classified as city tax.
Discriminator
required
Determines type of value.
Value
object
required
Structure of object depends on Discriminator
.
Absolute
Relative
Multiplier
number
required
Deprecated!
Target
string
optional
Deprecated!
TaxRateCodes
array of string
optional
Deprecated!
ProductIds
array of string
optional
Deprecated!
ServiceOrderEnd
ServiceOrderStart
PostingTimeUnit
NextTimeUnit
Restricted!This operation is currently in beta-test and as such it is subject to change.
[PlatformAddress]/api/connector/v1/products/getPricing
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
ProductId
string
required
Unique identifier of the product.
FirstTimeUnitStartUtc
string
required
LastTimeUnitStartUtc
string
required
EnterpriseIds
array of string
optional, max 1000 items
Unique identifiers of the Enterprises. If not specified, the operation returns data for all enterprises within scope of the Access Token.
ProductId
string
required
Unique identifier of the product.
TimeUnitStartsUtc
array of string
required
Set of all time units covered by the time interval; expressed in UTC timezone ISO 8601 format.
BaseAmountPrices
required
Base prices of the product for each time unit covered by the time interval.
AgeCategoryPrices
required
Age category prices.
AgeCategoryId
string
required
Unique identifier of the age category.
Prices
required
Prices of the product for the resource category in the covered dates.
[PlatformAddress]/api/connector/v1/products/updatePrice
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
EnterpriseId
string
optional
ProductId
required
Unique identifier of the Product
.
PriceUpdates
required, max 100 items
Price adjustments for specific time intervals.
Value
number
optional
New value of the product on the interval. If not specified, removes all price adjustments within the interval.
FirstTimeUnitStartUtc
string
optional
LastTimeUnitStartUtc
string
optional
[PlatformAddress]/api/connector/v1/products/delete
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
EnterpriseId
string
optional
ProductIds
array of string
required, max 1000 items
Unique identifiers of the products to delete.
Unique identifiers of the .
array of
array of
Unique identifier of the .
Unique identifier of .
Returns prices for a given product for a specified time interval. UTC timestamps must correspond to the start boundary of a time unit, e.g. 00:00 converted to UTC for a time unit of "Day". Other timestamps are not permitted. The maximum size of time interval depends on the service's time unit: 100 hours if hours, 100 days if days, or 24 months if months. For more information about time units, see . This operation supports .
Start of the time interval, expressed as the timestamp for the start of the first , in UTC timezone ISO 8601 format.
End of the time interval, expressed as the timestamp for the start of the last , in UTC timezone ISO 8601 format. The maximum size of time interval depends on the service's : 100 hours if hours, 100 days if days, or 24 months if months.
array of
array of
array of
Updates the prices for a given product. You can make multiple price updates with one API call, and for each one specify the price amount per and the time interval for which it applies. The price will be updated for all service time units that the specified time interval intersects. It is not permitted to update historical prices older than specified by EditableHistoryInterval
. This operation supports .
Unique identifier of the enterprise. Required when using , ignored otherwise.
string
array of
Start of the time interval, expressed as the timestamp for the start of the first , in UTC timezone ISO 8601 format.
End of the time interval, expressed as the timestamp for the start of the last , in UTC timezone ISO 8601 format. The maximum size of time interval depends on the service's time unit: 367 hours if hours, 367 days if days, or 24 months if months.
Deletes specified products. This operation supports .
Unique identifier of the enterprise. Required when using , ignored otherwise.