Creates a new extra

Request

POST https://api.rezdy.com/v1/extra

Request body

The request body takes a complete ExtraCreateRequest resource, containing the following writable properties:

{
    "description": "string",
    "extraPriceType": "string",
    "name": "string",
    "price": "float"
}

Properties

Name Type Description Additional
description string

Description of the extra

Optional
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
name string

Name of the extra

Optional
price float

Price for a single quantity of this extra

Optional

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

successful operation

ResponseExtra

Explore this API

apiKey Enter your API Key to try this call
body

New extra

Request Content-Type
Response Content-Type
Try it out!