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": 14,
"status": "PENDING",
"valid": true,
"order_nr": 17,
"prices": {
"price": 12,
"discount": 11,
"warranty": 15,
"delivery_cost": 11,
"invoice_cost": 17,
"sms_cost": 13,
"transaction_cost": 16,
"price_to_pay": 19,
"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": 10
},
"shop": {
"id": 12,
"name": "Prof. Houston Cummerata III",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"currency": "EUR"
},
"created_at": 1657086122,
"joyn": {
"points": 12,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
},
{
"id": 15,
"status": "PENDING",
"valid": true,
"order_nr": 18,
"prices": {
"price": 12,
"discount": 15,
"warranty": 13,
"delivery_cost": 14,
"invoice_cost": 16,
"sms_cost": 15,
"transaction_cost": 18,
"price_to_pay": 12,
"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": 17
},
"shop": {
"id": 16,
"name": "Miss Mercedes Kreiger",
"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": 19,
"prices": {
"price": 18,
"discount": 16,
"warranty": 15,
"delivery_cost": 14,
"invoice_cost": 16,
"sms_cost": 14,
"transaction_cost": 10,
"price_to_pay": 10,
"price_with_discount": 11
},
"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": 18,
"name": "Madelynn Hauck",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"currency": "EUR"
},
"created_at": 1657086122,
"joyn": {
"points": 15,
"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": 16,
"status": "PENDING",
"valid": true,
"order_nr": 13,
"prices": {
"price": 11,
"discount": 10,
"warranty": 19,
"delivery_cost": 15,
"invoice_cost": 13,
"sms_cost": 14,
"transaction_cost": 13,
"price_to_pay": 10,
"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": "...",
"name": "...",
"latch_id": 15
},
"shop": {
"id": 16,
"name": "Mr. Kane Labadie",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"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": 11,
"prices": {
"price": 11,
"discount": 10,
"warranty": 12,
"delivery_cost": 14,
"invoice_cost": 12,
"sms_cost": 16,
"transaction_cost": 11,
"price_to_pay": 14,
"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": "...",
"name": "...",
"latch_id": 15
},
"shop": {
"id": 10,
"name": "Sherman Kautzer",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"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": 12,
"status": "PENDING",
"valid": true,
"order_nr": 19,
"prices": {
"price": 11,
"discount": 18,
"warranty": 16,
"delivery_cost": 19,
"invoice_cost": 18,
"sms_cost": 12,
"transaction_cost": 12,
"price_to_pay": 10,
"price_with_discount": 11
},
"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": 11,
"name": "Prof. Carleton Crooks",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"currency": "EUR"
},
"created_at": 1657086122,
"joyn": {
"points": 12,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
}
]
}