Core resources


Administration


Booking flow

Create product

Register a new unit in your organization. This action will automatically update your subscription.

Body

namejsonb

Localized name

rent_period"daily" | "nightly"

Rent period of the unit

timezonetext

Timezone of the unit

Responses

201

The newly created unit

POST/create-product
curl -X POST "https://api.bookingmood.com/v1/create-product" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"name":{},"rent_period":"nightly","timezone":"UTC"}'
Example response
{
"id": "00000000-0000-0000-0000-000000000000",
"ac_id": "",
"organization_id": "00000000-0000-0000-0000-000000000000",
"parent_id": "00000000-0000-0000-0000-000000000000",
"created_at": "2024-11-21T11:21:16.913Z",
"updated_at": "2024-11-21T11:21:16.913Z",
"deleted_at": "2024-11-21T11:21:16.913Z",
"approximate_address": "",
"approximate_coordinates": {},
"cancel_after_initial_payment_error": false,
"confirm_after_initial_payment": false,
"confirmation_message": {},
"cooldown_time": 0,
"cta": {},
"currency": "",
"description": {},
"exact_address": "",
"exact_coordinates": {},
"hide_exact_address": false,
"ical_export_secret": "",
"ical_export_secret_no_details": "",
"images": null,
"interaction": "request",
"latest_arrival_time": null,
"name": {},
"payment_expiration_duration": 0,
"price_breakdown_specificity": "combined",
"rent_period": "nightly",
"rent_pricing_definition": "configurations",
"request_status": "TENTATIVE",
"timezone": "UTC"
}