Skip to main content

Manage Product

Hotel
Utility
REST API
Hospitality
Try Now

What is it?

The Manage Product API allows a hotelier to create, update and delete products for a specified hotel. Additionally, the API supports the assignment of products to booking channels.

Note: Products are a combination of rates and room types. For example, a 'King Non-Smoking Room' Type for the 'Rack' Rate is a product, while the 'Queen Non-Smoking Room' type for the same 'Rack' rate is another product.

Why use it?

This API is useful for chains that manage Products outside of the SynXis CR by providing the ability to synchronize data between the two systems without duplicate data entry.

How it works

Use in conjunction with the Query Products operation to fully manage products.

How to use

Create or Update a Product and assign booking channels

Use action=AddEdit to create or update a product.

Note: The default value for action is AddEdit.

[POST] /admin/product/setup/

{
  "Hotel": {
    "id": 13098
  },
  "ProductList": [
    {
      "action": "AddEdit",
      "channel": [
        {
          "code": "WEB",
        },
        {
          "code": "CRS",
        },
        {
          "code": "AGODA",
        },
      ],
      "rateCode": "ADV",
      "roomCode": "ROOMSP1"
    }
  ]
}


Unassign the AGODA booking channel and assign the GDS channel

Use action=UnAssign to delete a booking channel

[POST] /admin/product/setup/

{
  "Hotel": {
    "id": 13098
  },
  "ProductList": [
    {
      "channel": [
        {
          "code": "AGODA",
          "action": "UnAssign",
        },
        {
          "code": "GDS",
        },     
      ],
      "rateCode": "ADV",
      "roomCode": "ROOMSP1"
    }
  ]
}


Delete a Product

Use action=UnAssign to delete a product

[POST] /admin/product/setup/

{
  "Hotel": {
    "id": 13098
  },
  "ProductList": [
    {
      "action": "UnAssign",
      "rateCode": "ADV",
      "roomCode": "ROOMSP1"
    }
  ]
}