Get specific Product Type
GET/product/:guid
Retrieve a specific Product Type.
Request
Path Parameters
The guid of the Product Type.
Responses
- 200
- 404
Product Type found.
- application/json
- Schema
- Example (from schema)
Schema
The guid of the Product Type.
The guid of the Event associated with the Product Type.
Possible values: <= 255 characters
The name of the Product Type.
Possible values: <= 65536 characters
The description of the Product Type.
Possible values: <= 100
The VAT percentage which applies to this Product Type. This is a float with at most 2 decimals, because VAT percentages in some countries have fractions of a percent.
The price of this Product Type in cents.
Possible values: [own
, container
]
The type of pricing method. Whether the container value or its own value is used for varying kickback calculations.
Possible values: [EventProtect
, RefundProtect
, RandomNumberGenerator
, PlayPass
, Co2Compensate
, Giro555
]
The class which get called on order Events.
Boolean whether to ask information in shop even when a ticket has late personalisation
Possible values: [date
, ticket
, product
]
The type of Product Type. This is either date, ticket, or product. This is auto-generated.
Possible values: [auto
, sold_out
]
The sale status of the Product Type.
Extra class data.
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"event_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"description": "string",
"vat_percentage": 0,
"price": 0,
"pricing_method": "own",
"class": "EventProtect",
"skip_late_personalization": true,
"origin_type": "date",
"status": "auto",
"extra_data": [
null
]
}
Product Type not found.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}