PriceType

A single price type.

More info: see the get operation and the price types endpoint.

Fields

FieldDescription
id
int 
(required)

Unique ID

Example value:123
typeid
int 
(required)

The category of this price type, defines how the price is displayed. The available values for this field can be found on the price type overview page.

Example value:2301
name
mlstring 
(required)

Name of the price type

Example value:"Student"
remark
mlstring 
(required)

A remark that describes the price type. Will be shown to customers.

Example value:"Only valid with a student card."
isarchived
bool 
(required)

Whether or not this item is archived

createdts
timestamp 
(required)

Created timestamp

Example value:"2014-09-26 15:24:36"
lastupdatets
timestamp 
(required)

Last updated timestamp

Example value:"2014-09-26 15:24:36"

This type can have custom fields

Example

1{
2    "id": 123,
3    "typeid": 2301,
4    "name": "Student",
5    "remark": "Only valid with a student card.",
6    "isarchived": false,
7    "createdts": "2014-09-26 15:24:36",
8    "lastupdatets": "2014-09-26 15:24:36"
9}