Skip to content
campaiDeveloper
campai.com

Resources

Subcategories

API Endpoints

Create resource

Creates a new resource for a given mandate

POST/{organizationId}/{mandateId}/booking/resources

Duplicate resource

Copies a resource and its settings within its mandate, without bookings or reservations

POST/{organizationId}/{mandateId}/booking/resources/{resourceId}/duplicate

Get resource

Returns a specific resource with all of its details for a given mandate

GET/{organizationId}/{mandateId}/booking/resources/{resourceId}

Update resource

Updates a specific resource for a given mandate

POST/{organizationId}/{mandateId}/booking/resources/{resourceId}

Delete resource

Deletes a specific resource for a given mandate

DELETE/{organizationId}/{mandateId}/booking/resources/{resourceId}

Get available stock

Returns the available stock for a specific resource for a given mandate

POST/{organizationId}/{mandateId}/booking/resources/{resourceId}/getAvailableStock

Get resource date availabilities

Returns availability for resource date ranges for a given mandate

POST/{organizationId}/{mandateId}/booking/resources/datesAvailabilities

List available resource slots

Returns available slots for resources for a given mandate

POST/{organizationId}/{mandateId}/booking/resources/availableSlots

List resources

Returns a list of resources for a given mandate

POST/{organizationId}/{mandateId}/booking/resources/list

Export resources

Exports resources for the organization and mandate

POST/{organizationId}/{mandateId}/booking/resources/export

Update attachables

Updates the attachables of a specific resource for a given mandate

POST/{organizationId}/{mandateId}/booking/resources/{resourceId}/attachables

Update sites

Updates the sites of a specific resource for a given mandate

POST/{organizationId}/{mandateId}/booking/resources/{resourceId}/sites

Update offer

Updates the linked offer of a specific resource for a given mandate

POST/{organizationId}/{mandateId}/booking/resources/{resourceId}/offer

Update form

Updates the form of a specific resource for a given mandate

POST/{organizationId}/{mandateId}/booking/resources/{resourceId}/form

Update services

Updates all services for a specific resource for a given mandate

POST/{organizationId}/{mandateId}/booking/resources/{resourceId}/services

Create rate

Creates a new rate for a specific resource for a given mandate

POST/{organizationId}/{mandateId}/booking/resources/{resourceId}/rates

Update rate

Updates a specific rate for a specific resource for a given mandate

POST/{organizationId}/{mandateId}/booking/resources/{resourceId}/rates/{rateId}

Delete rate

Deletes a specific rate for a specific resource for a given mandate

DELETE/{organizationId}/{mandateId}/booking/resources/{resourceId}/rates/{rateId}

List tags

Returns a list of tags for a given resource for a given mandate

POST/{organizationId}/{mandateId}/booking/resources/tags/list

Remove tag

Removes a resource tag case-insensitively from resources and dependent booking views and discount codes and updates its canonical usage.

POST/{organizationId}/{mandateId}/booking/resources/tags/remove

List occupancy

Returns a list of occupancy for a given resource for a given mandate

POST/{organizationId}/{mandateId}/booking/resources/occupancy