Field | Type | Description |
---|---|---|
results | [Order.simple] | Array of Order.simple |
next | Dictionary? | Nullable. Set when we have more results at this moment. It contains the query parameters you need to request the following results. Is null when there are no results left |
future | Dictionary? | Nullable. When all the results have been returned (no next set), but there might be more results in the future, future contains the query parameters you should use to request new results in the future (e.g. in 15 minutes) to know if you have extra results without returning the same results again. |
When used inside a request.
{
"results": [
{
"id": 16,
"status": "PENDING",
"valid": false,
"order_nr": 13,
"prices": {
"price": {
"value": 16,
"currency": "EUR"
},
"discount": {
"value": 19,
"currency": "EUR"
},
"warranty": {
"value": 11,
"currency": "EUR"
},
"delivery_cost": {
"value": 17,
"currency": "EUR"
},
"invoice_cost": {
"value": 17,
"currency": "EUR"
},
"sms_cost": {
"value": 14,
"currency": "EUR"
},
"transaction_cost": {
"value": 15,
"currency": "EUR"
},
"price_to_pay": {
"value": 16,
"currency": "EUR"
},
"price_with_discount": {
"value": 16,
"currency": "EUR"
}
},
"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": 19
},
"shop": {
"id": 11,
"name": "Kellie Watsica",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"allow_comments": false,
"currency": "EUR"
},
"created_at": 1657086034,
"joyn": {
"points": 11,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
},
{
"id": 13,
"status": "PENDING",
"valid": false,
"order_nr": 18,
"prices": {
"price": {
"value": 10,
"currency": "EUR"
},
"discount": {
"value": 15,
"currency": "EUR"
},
"warranty": {
"value": 14,
"currency": "EUR"
},
"delivery_cost": {
"value": 19,
"currency": "EUR"
},
"invoice_cost": {
"value": 11,
"currency": "EUR"
},
"sms_cost": {
"value": 11,
"currency": "EUR"
},
"transaction_cost": {
"value": 19,
"currency": "EUR"
},
"price_to_pay": {
"value": 12,
"currency": "EUR"
},
"price_with_discount": {
"value": 16,
"currency": "EUR"
}
},
"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": 19,
"name": "Dylan Walker MD",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"allow_comments": true,
"currency": "EUR"
},
"created_at": 1657086034,
"joyn": {
"points": 11,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
},
{
"id": 10,
"status": "PENDING",
"valid": false,
"order_nr": 11,
"prices": {
"price": {
"value": 14,
"currency": "EUR"
},
"discount": {
"value": 14,
"currency": "EUR"
},
"warranty": {
"value": 11,
"currency": "EUR"
},
"delivery_cost": {
"value": 18,
"currency": "EUR"
},
"invoice_cost": {
"value": 15,
"currency": "EUR"
},
"sms_cost": {
"value": 17,
"currency": "EUR"
},
"transaction_cost": {
"value": 15,
"currency": "EUR"
},
"price_to_pay": {
"value": 16,
"currency": "EUR"
},
"price_with_discount": {
"value": 11,
"currency": "EUR"
}
},
"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": 12,
"name": "Mayra Paucek",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"allow_comments": false,
"currency": "EUR"
},
"created_at": 1657086034,
"joyn": {
"points": 17,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
}
],
"next": {
"status": "PENDING",
"created_after": 1657086034,
"created_before": 1657086034,
"before_id": 13,
"after_id": 14,
"sort": "ascending",
"company_id": 18
},
"future": {
"status": "PENDING",
"created_after": 1657086034,
"created_before": 1657086034,
"before_id": 10,
"after_id": 11,
"sort": "ascending",
"company_id": 19
}
}
When returned in a response.
{
"results": [
{
"id": 13,
"status": "PENDING",
"valid": true,
"order_nr": 19,
"prices": {
"price": {
"value": 17,
"currency": "EUR"
},
"discount": {
"value": 12,
"currency": "EUR"
},
"warranty": {
"value": 11,
"currency": "EUR"
},
"delivery_cost": {
"value": 15,
"currency": "EUR"
},
"invoice_cost": {
"value": 18,
"currency": "EUR"
},
"sms_cost": {
"value": 11,
"currency": "EUR"
},
"transaction_cost": {
"value": 11,
"currency": "EUR"
},
"price_to_pay": {
"value": 12,
"currency": "EUR"
},
"price_with_discount": {
"value": 11,
"currency": "EUR"
}
},
"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": "Karlie Reichel IV",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": false,
"currency": "EUR"
},
"created_at": 1657086034,
"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": 18,
"prices": {
"price": {
"value": 11,
"currency": "EUR"
},
"discount": {
"value": 10,
"currency": "EUR"
},
"warranty": {
"value": 12,
"currency": "EUR"
},
"delivery_cost": {
"value": 14,
"currency": "EUR"
},
"invoice_cost": {
"value": 11,
"currency": "EUR"
},
"sms_cost": {
"value": 14,
"currency": "EUR"
},
"transaction_cost": {
"value": 14,
"currency": "EUR"
},
"price_to_pay": {
"value": 17,
"currency": "EUR"
},
"price_with_discount": {
"value": 17,
"currency": "EUR"
}
},
"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": 14,
"name": "Saige Walker",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": false,
"currency": "EUR"
},
"created_at": 1657086034,
"joyn": {
"points": 13,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
},
{
"id": 17,
"status": "PENDING",
"valid": false,
"order_nr": 11,
"prices": {
"price": {
"value": 18,
"currency": "EUR"
},
"discount": {
"value": 16,
"currency": "EUR"
},
"warranty": {
"value": 12,
"currency": "EUR"
},
"delivery_cost": {
"value": 12,
"currency": "EUR"
},
"invoice_cost": {
"value": 19,
"currency": "EUR"
},
"sms_cost": {
"value": 18,
"currency": "EUR"
},
"transaction_cost": {
"value": 15,
"currency": "EUR"
},
"price_to_pay": {
"value": 10,
"currency": "EUR"
},
"price_with_discount": {
"value": 13,
"currency": "EUR"
}
},
"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": 13
},
"shop": {
"id": 11,
"name": "Rickey Cormier",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": true,
"currency": "EUR"
},
"created_at": 1657086034,
"joyn": {
"points": 11,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
}
],
"next": {
"status": "PENDING",
"created_after": 1657086034,
"created_before": 1657086034,
"before_id": 16,
"after_id": 11,
"sort": "ascending",
"company_id": 10
},
"future": {
"status": "PENDING",
"created_after": 1657086034,
"created_before": 1657086034,
"before_id": 19,
"after_id": 15,
"sort": "ascending",
"company_id": 13
}
}