Field | Type | Description |
---|---|---|
id | Int | Id of the order group |
orders | [Order.simple] | Array of Order.simple |
When used inside a request.
{
"id": 17,
"orders": [
{
"id": 12,
"status": "PENDING",
"valid": true,
"order_nr": 12,
"prices": {
"price": 12,
"discount": 18,
"warranty": 11,
"delivery_cost": 15,
"invoice_cost": 12,
"sms_cost": 19,
"transaction_cost": 17,
"price_to_pay": 11,
"price_with_discount": 16
},
"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": "Abraham Rodriguez PhD",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
}
},
"created_at": "2019-01-31 12:00:00",
"joyn": {
"points": 17,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending"
},
{
"id": 17,
"status": "PENDING",
"valid": true,
"order_nr": 12,
"prices": {
"price": 17,
"discount": 19,
"warranty": 12,
"delivery_cost": 17,
"invoice_cost": 13,
"sms_cost": 15,
"transaction_cost": 17,
"price_to_pay": 16,
"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": "Suzanne Borer",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
}
},
"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": 13,
"status": "PENDING",
"valid": false,
"order_nr": 19,
"prices": {
"price": 19,
"discount": 12,
"warranty": 13,
"delivery_cost": 15,
"invoice_cost": 19,
"sms_cost": 17,
"transaction_cost": 15,
"price_to_pay": 15,
"price_with_discount": 12
},
"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": "Darren Wunsch",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
}
},
"created_at": "2019-01-31 12:00:00",
"joyn": {
"points": 11,
"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": false,
"order_nr": 10,
"prices": {
"price": 16,
"discount": 19,
"warranty": 14,
"delivery_cost": 14,
"invoice_cost": 14,
"sms_cost": 12,
"transaction_cost": 10,
"price_to_pay": 12,
"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": "Miss Maribel Cormier DDS",
"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": 11,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending"
},
{
"id": 15,
"status": "PENDING",
"valid": false,
"order_nr": 19,
"prices": {
"price": 16,
"discount": 11,
"warranty": 16,
"delivery_cost": 11,
"invoice_cost": 19,
"sms_cost": 17,
"transaction_cost": 15,
"price_to_pay": 15,
"price_with_discount": 14
},
"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": 12,
"name": "Lance Hudson",
"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": 17,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending"
},
{
"id": 12,
"status": "PENDING",
"valid": false,
"order_nr": 12,
"prices": {
"price": 15,
"discount": 11,
"warranty": 11,
"delivery_cost": 14,
"invoice_cost": 11,
"sms_cost": 11,
"transaction_cost": 13,
"price_to_pay": 17,
"price_with_discount": 12
},
"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": "Jace Grady",
"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": 16,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending"
}
]
}