Inventory
Set inventory
This method can be used to update the 'rate plan - space type' mapping relations in the connection.
All mapping relations need to be sent.
Mapping relations that are defined in Mews for the connection, but missing in the call, are deleted.
It is possible to create a new rate-space category combination for the rates and space categories that are already in Mews.
It is impossible to add a new rate or space category.
Request
[PlatformAddress]/api/channelManager/v1/setInventory
Property | Type | Contract | Description |
---|---|---|---|
|
| required | Client token of the channel manager. |
|
| required | Token of a concrete connection. |
|
| required | Defines all rate plan - space type mapping relations. |
Response
Synchronous simple response is expected.
Request ARI update
[async
] This method allows the channel manager to request an ARI data update for certain space types and rate plans in addition to the changes automatically sent in the Delta update. The requested data will be sent by Mews asynchronously via push operations to the channel manager side API in the next Delta update.
Request
[PlatformAddress]/api/channelManager/v1/requestAriUpdate
Property | Type | Contract | Description |
---|---|---|---|
|
| required | Client token of the channel manager. |
|
| required | Token of a concrete connection. |
|
| required | Start of requested update in format |
|
| required | End of requested update in format |
|
| optional |
|
|
| optional |
|
|
| optional |
|
ARI Types
Code | Description |
---|---|
| Availability |
| Prices |
| Restrictions |
Response
Simple response will determine whether the ARI update was accepted for processing or not.
Confirm availability update
Request
[PlatformAddress]/api/channelManager/v1/processAvailabilityConfirmation
Property | Type | Contract | Description |
---|---|---|---|
|
| required | Client token of the channel manager. |
|
| required | Token of a concrete connection. |
|
| required | Id of message which requests relates to. |
|
| required | Determinines the result of the operation. |
| array of | optional | In case of |
Response
Synchronous simple response is expected.
Confirm price update
Request
[PlatformAddress]/api/channelManager/v1/processRateConfirmation
Property | Type | Contract | Description |
---|---|---|---|
|
| required | Client token of the channel manager. |
|
| required | Token of a concrete connection. |
|
| required | Id of message which requests relates to. |
|
| required | Determinines the result of the operation. |
| array of | optional | In case of |
Response
Synchronous simple response is expected.
Confirm restriction update
Request
[PlatformAddress]/api/channelManager/v1/processRestrictionConfirmation
Property | Type | Contract | Description |
---|---|---|---|
|
| required | Client token of the channel manager. |
|
| required | Token of a concrete connection. |
|
| required | Id of message which requests relates to. |
|
| required | Determinines the result of the operation. |
| array of | optional | In case of |
Response
Synchronous simple response is expected.
Last updated