OrderProduct

A single product in an order.

Fields

FieldDescription
id
int 
(required)

Orderproduct ID

Example value:6843548354
orderid
int 
(required)

Order ID

Example value:1269434
code
string 
(required)

Unique code for this orderproduct

Example value:"123412341234"
contactid
int 
(required)

Contact ID: the holder of this product

Example value:1269434
price
decimal 
(required)

Ticket price

Example value:22.500000
productid
int 
(required)

Product ID

Example value:123
properties
map<string, string> 
(required)

Property values for this product

Example value:{ "colour": "green", "size": "M" }
vouchercodeid
int 
(required)

Vouchercode ID for the voucher that is linked to this orderproduct

Example value:123421

This type can have custom fields

Example

 1{
 2    "id": 6843548354,
 3    "orderid": 1269434,
 4    "code": "123412341234",
 5    "contactid": 1269434,
 6    "price": 22.500000,
 7    "productid": 123,
 8    "properties": {
 9        "colour": "green",
10        "size": "M"
11    },
12    "vouchercodeid": 123421
13}