Skip to main content
GET
/
api
/
public
/
resources
/
published
/
{resourceId}
/
products

Booking Products

Returns the add-on products (e.g. catering, equipment) that can be included with a booking for a specific resource.

Authentication

No authentication required.

Path Parameters

resourceId
number
required
Numeric identifier of the resource.

Query Parameters

_shape
string
Comma-separated list of field paths to include in the response. When provided, only the specified fields are returned — useful for reducing payload size. Supports nested paths using dot notation. Example: _shape=Products.Name,Products.Price.

Response

Returns an object with a Products array. Each product has the following fields:

Product Item

FieldTypeDescription
IdnumberUnique identifier for the resource-product link
ProductIdnumberProduct identifier
ProductNamestringDisplay name of the product
ProductDescriptionstringDescription of the product
ProductProductFull product object (nested — see List Store Products)
TagsstringProduct tags
RequestQuantitybooleanWhether the user can specify a quantity
QuantitynumberDefault quantity
InvoiceInMinutesnumber?Billing interval in minutes
PricenumberPrice amount
FormattedPricestringLocale-formatted price string
CurrencyCodestringISO currency code
SelectedbooleanWhether the product is pre-selected
TrackStockbooleanWhether stock tracking is enabled
AllowNegativeStockbooleanWhether negative stock is allowed
CurrentStocknumber?Current available stock

Examples

Fetch booking products

GET /api/public/resources/published/88/products

TypeScript Integration

import endpoints from '@/api/endpoints'

const { resource: products } = useTypedData(httpClient, endpoints.bookings.bookingProducts(88))