Field | Type | Description |
---|---|---|
id | Int | Id of the order group |
orders | [Order.simple] | Array of Order.simple |
When used inside a request.
{
"id": 14,
"orders": [
{
"id": 12,
"status": "PENDING",
"valid": false,
"order_nr": 16,
"prices": {
"price": 13,
"discount": 10,
"warranty": 14,
"delivery_cost": 15,
"invoice_cost": 18,
"sms_cost": 12,
"transaction_cost": 13,
"price_to_pay": 17,
"price_with_discount": 15
},
"payment_method": "point_of_sale",
"checkout": {
"method": "delivery",
"date": "2019-01-31",
"time": "12:00",
"end_time": "12:00",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"notes": "..."
},
"shop": {
"id": 19,
"name": "Dr. Duncan Gerhold DVM",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
}
},
"created_at": "2019-01-31 12:00:00",
"joyn": {
"points": 18,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending"
},
{
"id": 14,
"status": "PENDING",
"valid": true,
"order_nr": 14,
"prices": {
"price": 15,
"discount": 17,
"warranty": 11,
"delivery_cost": 11,
"invoice_cost": 17,
"sms_cost": 10,
"transaction_cost": 19,
"price_to_pay": 11,
"price_with_discount": 10
},
"payment_method": "point_of_sale",
"checkout": {
"method": "delivery",
"date": "2019-01-31",
"time": "12:00",
"end_time": "12:00",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"notes": "..."
},
"shop": {
"id": 15,
"name": "Prof. Ceasar Schroeder DDS",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
}
},
"created_at": "2019-01-31 12:00:00",
"joyn": {
"points": 18,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending"
},
{
"id": 18,
"status": "PENDING",
"valid": false,
"order_nr": 12,
"prices": {
"price": 15,
"discount": 16,
"warranty": 13,
"delivery_cost": 14,
"invoice_cost": 14,
"sms_cost": 13,
"transaction_cost": 13,
"price_to_pay": 14,
"price_with_discount": 18
},
"payment_method": "point_of_sale",
"checkout": {
"method": "delivery",
"date": "2019-01-31",
"time": "12:00",
"end_time": "12:00",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"notes": "..."
},
"shop": {
"id": 16,
"name": "Kian Koss",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
}
},
"created_at": "2019-01-31 12:00:00",
"joyn": {
"points": 14,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending"
}
]
}
When returned in a response.
{
"id": 13,
"orders": [
{
"id": 11,
"status": "PENDING",
"valid": true,
"order_nr": 11,
"prices": {
"price": 12,
"discount": 16,
"warranty": 13,
"delivery_cost": 18,
"invoice_cost": 14,
"sms_cost": 15,
"transaction_cost": 13,
"price_to_pay": 14,
"price_with_discount": 13
},
"payment_method": "point_of_sale",
"checkout": {
"method": "delivery",
"date": "2019-01-31",
"time": "12:00",
"end_time": "12:00",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"notes": "..."
},
"shop": {
"id": 14,
"name": "Lavada Cassin",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
}
},
"created_at": "2019-01-31 12:00:00",
"joyn": {
"points": 13,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending"
},
{
"id": 11,
"status": "PENDING",
"valid": true,
"order_nr": 16,
"prices": {
"price": 10,
"discount": 15,
"warranty": 13,
"delivery_cost": 13,
"invoice_cost": 17,
"sms_cost": 17,
"transaction_cost": 18,
"price_to_pay": 19,
"price_with_discount": 17
},
"payment_method": "point_of_sale",
"checkout": {
"method": "delivery",
"date": "2019-01-31",
"time": "12:00",
"end_time": "12:00",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"notes": "..."
},
"shop": {
"id": 15,
"name": "Celestine Johnson",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
}
},
"created_at": "2019-01-31 12:00:00",
"joyn": {
"points": 19,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending"
},
{
"id": 17,
"status": "PENDING",
"valid": true,
"order_nr": 14,
"prices": {
"price": 10,
"discount": 17,
"warranty": 17,
"delivery_cost": 14,
"invoice_cost": 11,
"sms_cost": 10,
"transaction_cost": 12,
"price_to_pay": 15,
"price_with_discount": 10
},
"payment_method": "point_of_sale",
"checkout": {
"method": "delivery",
"date": "2019-01-31",
"time": "12:00",
"end_time": "12:00",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"notes": "..."
},
"shop": {
"id": 17,
"name": "Prof. Hilda Ward",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
}
},
"created_at": "2019-01-31 12:00:00",
"joyn": {
"points": 15,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending"
}
]
}