Products

List product

get

List all products

Query parameters
id[]string[]Optional

ID's of the products to list

Example: 579ba6b9-a288-4091-a7e7-5cd0cea8d404
Responses
get
/products
200

A list of products

Retrieve a product

get

Retrieve a product

Path parameters
product_idstring · uuidRequired

ID of the product to retrieve

Responses
get
/products/{product_id}
200

The product

Create a product

post

Create a product

Body
idstring · uuidRead-onlyOptional
root_idstring · uuidRead-onlyOptional
qtyintegerOptionalDefault: 1
backoffice_titlestringRequiredExample: Deluxe Room
typestring · enumRequiredPossible values:
abbreviationstringOptionalExample: DR
skustringOptionalExample: DR-001
category_idintegerRequired
accommodation_type_idintegerOptional
has_accommodationbooleanOptional
location_idintegerRequired
default_start_timestring · time | nullableOptionalExample: 14:00:00
default_end_timestring · time | nullableOptionalExample: 18:00:00
deleted_atstring · date-time | nullableRead-onlyOptional
created_atstring · date-timeRead-onlyOptional
updated_atstring · date-timeRead-onlyOptional
Responses
post
/products
201

The created product

Last updated