Field | Type | Description |
---|---|---|
id | Int | Id of the order group |
orders | [Order.simple] | Array of Order.simple |
When used inside a request.
{
"id": 11,
"orders": [
{
"id": 13,
"status": "PENDING",
"valid": false,
"order_nr": 12,
"prices": {
"price": 12,
"discount": 10,
"warranty": 19,
"delivery_cost": 13,
"invoice_cost": 10,
"sms_cost": 11,
"transaction_cost": 10,
"price_to_pay": 14,
"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": "...",
"name": "...",
"latch_id": 12
},
"shop": {
"id": 18,
"name": "Adolfo Friesen",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"currency": "EUR"
},
"created_at": 1657086122,
"joyn": {
"points": 13,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
},
{
"id": 18,
"status": "PENDING",
"valid": false,
"order_nr": 12,
"prices": {
"price": 10,
"discount": 16,
"warranty": 12,
"delivery_cost": 14,
"invoice_cost": 11,
"sms_cost": 17,
"transaction_cost": 16,
"price_to_pay": 14,
"price_with_discount": 19
},
"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": "...",
"name": "...",
"latch_id": 17
},
"shop": {
"id": 12,
"name": "Kole Rohan",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"currency": "EUR"
},
"created_at": 1657086122,
"joyn": {
"points": 18,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
},
{
"id": 16,
"status": "PENDING",
"valid": true,
"order_nr": 10,
"prices": {
"price": 13,
"discount": 14,
"warranty": 18,
"delivery_cost": 18,
"invoice_cost": 17,
"sms_cost": 10,
"transaction_cost": 14,
"price_to_pay": 16,
"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": "...",
"name": "...",
"latch_id": 15
},
"shop": {
"id": 18,
"name": "Mr. Hilario Wintheiser II",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"currency": "EUR"
},
"created_at": 1657086122,
"joyn": {
"points": 19,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
}
]
}
When returned in a response.
{
"id": 17,
"orders": [
{
"id": 18,
"status": "PENDING",
"valid": false,
"order_nr": 13,
"prices": {
"price": 19,
"discount": 17,
"warranty": 18,
"delivery_cost": 12,
"invoice_cost": 15,
"sms_cost": 12,
"transaction_cost": 19,
"price_to_pay": 13,
"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": "...",
"name": "...",
"latch_id": 15
},
"shop": {
"id": 17,
"name": "Doyle Kub",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"currency": "EUR"
},
"created_at": 1657086123,
"joyn": {
"points": 12,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
},
{
"id": 18,
"status": "PENDING",
"valid": true,
"order_nr": 15,
"prices": {
"price": 11,
"discount": 17,
"warranty": 19,
"delivery_cost": 18,
"invoice_cost": 12,
"sms_cost": 11,
"transaction_cost": 16,
"price_to_pay": 10,
"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": "...",
"name": "...",
"latch_id": 11
},
"shop": {
"id": 13,
"name": "Oliver Hills",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"currency": "EUR"
},
"created_at": 1657086123,
"joyn": {
"points": 11,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
},
{
"id": 14,
"status": "PENDING",
"valid": true,
"order_nr": 17,
"prices": {
"price": 10,
"discount": 10,
"warranty": 15,
"delivery_cost": 15,
"invoice_cost": 11,
"sms_cost": 12,
"transaction_cost": 11,
"price_to_pay": 13,
"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": "...",
"name": "...",
"latch_id": 11
},
"shop": {
"id": 13,
"name": "Janelle Nikolaus",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"currency": "EUR"
},
"created_at": 1657086123,
"joyn": {
"points": 11,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
}
]
}