Methods

  • post - Create extra
  • delete - Delete extra
  • get - Retrieve an extra
  • get - Search extra
  • put - Update extra

Resource

{
    "extra": {
        "description": "string",
        "extraPriceType": "string",
        "id": "int64",
        "name": "string",
        "price": "float"
    },
    "requestStatus": {
        "error": {
            "errorCode": "string",
            "errorMessage": "string"
        },
        "success": "boolean",
        "version": "string",
        "warning": {
            "warningMessage": "string"
        }
    }
}

Properties

Name Type Description Additional
extra object

Partial optional service or item that can be purchased when booking a specific product

Optional
extra.description string

Description of the extra

Optional
extra.extraPriceType string

Price type for this extra. Defines what quantities are allowed and how their price is calculated

Possible values are:

  • ANY
  • FIXED
  • QUANTITY
Optional
extra.id int64

ID of the extra

Optional
extra.name string

Name of the extra

Optional
extra.price float

Price for a single quantity of this extra

Optional
requestStatus object RequestStatus Required
requestStatus.error object Error Optional
requestStatus.error.errorCode string Required
requestStatus.error.errorMessage string Optional
requestStatus.success boolean Required
requestStatus.version string Optional
requestStatus.warning object Warning Optional
requestStatus.warning.warningMessage string Optional