Introduction

A Workspace on Zepl is the container for all of the host accounts and integrations for a customer. All of the listing, availability, quote and reservation data is specifc to a workspace. It is assigned to the customer when they sign up for Zepl, along with an initial API key.

Schema

The workspace schema is as follows:

FieldTypeDescription
idUUIDUnique Identifier of the Workspace
namestringName of the workspace
slugstringSlug of the Workspace
defaultCurrencyISO4217 Currency CodeThe default currency, used when displaying prices across all endpoints
defaultDiscountPercentagenumberWorkspace level default discount percentage, applied to all prices, when displaying or creating quote/reservations
createdAtDateWorkspace creation timestamp
updatedAtDateWorkspace updated timestamp

Currency

The default currency is used when displaying prices across all endpoints. The currency is represented as an ISO4217 currency code. This is used on the listing, availability, quote and reservation endpoints.

In addition, if you wish to override the currency used for a specific API call, you can pass the displayCurrency query parameter, and it will use that currency for displaying prices. The conversion is done with the exchange rate at the time of the API call.