Labels
POST label
Create a new label
post/v3/labels/{context_model}
Request
- Base URLhttps://api.bookingexperts.com
- Auth
- API key in header X-API-KEY
- or OAuth 2Authorization code/oauth/authorizeToken URL/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
context_modelstring required
Target context model on which the returned labels can be applied. One of: contact, sale, inventory_object, owner, reservation, sales_listing
Query parameters
fields[label]string
Fieldset. Specify a comma separated list of attributes to return
Headers
Accept-Languagestring
Supported languages. A comma separated list with one or more of the following locales: cs, da-DK, de, de-AT, de-CH, en-US, en-GB, es, fr, fr-BE, fr-LU, it, nb, nl, nl-BE, pl, pt, tr, en, da. Default: 'en'.
Request body
Example request
{
"data": {
"type": "label"
}
}Response
LabelResponse
Example response
{
"data": {
"id": "1",
"type": "label"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.