Venue prices
Create venue price
GET
/api/internal/v1/partners/:partner_id/venue-prices
Create a new venue price.
Path Parameters
partner_id
integer
The ID of the partner.
Request Body
vat_id
integer
The ID of the VAT to be applied.
type
string
The type of the price. At the moment only default
is supported.
name
string
A name to easily recognize the price later.
form
string
The form of the price. Allowed values: net
, gross
.
amount
number
The price amount.
usable_online
boolean
Indicate if the price should be usable online or not.
description
string
A description for the price.
venue_ids_to_attach
array
The IDs of the venues to which this price should be attached.
Get venue price
GET
/api/internal/v1/partners/:partner_id/venue-prices/:venue_price_id
Get the given venue price.
Path Parameters
partner_id
integer
The ID of the partner.
venue_price_id
integer
The ID of the venue price.
Update venue price
PUT
/api/internal/v1/partners/:partner_id/venue-prices/:venue_price_id
Update the given venue price.
Path Parameters
partner_id
integer
The ID of the partner.
venue_price_id
integer
The ID of the venue price.
Request Body
name
string
description
string
form
string
amount
number
vat_id
integer
usable_online
boolean
venue_ids_to_attach
array
If the update request will alter the final amount of the price (amount, VAT or form is changed), the current price will be soft-deleted and a new one will be created. Because of that, the new price will have a different ID than the current one. This happens because if an existent price is already used by existent bookings, we want to preserve the price of that bookings.
Delete venue price
DELETE
/api/internal/v1/partners/:partner_id/venue-prices/:venue_price_id
Path Parameters
partner_id
integer
The ID of the partner.
venue_price_id
integer
The ID of the venue price.
Last updated
Was this helpful?