Field | Type | Description |
---|---|---|
results | [Order.simple] | Array of Order.simple |
next | Dictionary? | Nullable. The query parameters you need to request the following results. Is null when there are no results left |
When used inside a request.
{
"results": [
{
"id": 16,
"status": "PENDING",
"valid": false,
"order_nr": 14,
"prices": {
"price": 10,
"discount": 12,
"warranty": 16,
"delivery_cost": 17,
"invoice_cost": 10,
"sms_cost": 17,
"transaction_cost": 15,
"price_to_pay": 10,
"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": "...",
"name": "...",
"latch_id": 19
},
"shop": {
"id": 17,
"name": "Ericka Jerde II",
"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": 14,
"status": "PENDING",
"valid": false,
"order_nr": 12,
"prices": {
"price": 16,
"discount": 19,
"warranty": 11,
"delivery_cost": 16,
"invoice_cost": 19,
"sms_cost": 10,
"transaction_cost": 14,
"price_to_pay": 17,
"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": 12
},
"shop": {
"id": 10,
"name": "Ralph Kris",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"currency": "EUR"
},
"created_at": 1657086122,
"joyn": {
"points": 14,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
},
{
"id": 13,
"status": "PENDING",
"valid": true,
"order_nr": 12,
"prices": {
"price": 11,
"discount": 17,
"warranty": 11,
"delivery_cost": 18,
"invoice_cost": 11,
"sms_cost": 18,
"transaction_cost": 18,
"price_to_pay": 17,
"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": "...",
"name": "...",
"latch_id": 13
},
"shop": {
"id": 12,
"name": "Sister Lehner",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"currency": "EUR"
},
"created_at": 1657086122,
"joyn": {
"points": 17,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
}
],
"next": {
"status": "PENDING",
"created_after": 1657086122,
"created_before": 1657086122,
"before_id": 15,
"after_id": 12,
"sort": "ascending"
}
}
When returned in a response.
{
"results": [
{
"id": 19,
"status": "PENDING",
"valid": true,
"order_nr": 14,
"prices": {
"price": 17,
"discount": 19,
"warranty": 12,
"delivery_cost": 10,
"invoice_cost": 19,
"sms_cost": 11,
"transaction_cost": 14,
"price_to_pay": 13,
"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": 19,
"name": "Obie Kreiger",
"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": 19,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
},
{
"id": 11,
"status": "PENDING",
"valid": true,
"order_nr": 19,
"prices": {
"price": 18,
"discount": 10,
"warranty": 16,
"delivery_cost": 16,
"invoice_cost": 14,
"sms_cost": 10,
"transaction_cost": 16,
"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": "...",
"name": "...",
"latch_id": 11
},
"shop": {
"id": 13,
"name": "Vernice Heller",
"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": 10,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
},
{
"id": 16,
"status": "PENDING",
"valid": false,
"order_nr": 12,
"prices": {
"price": 10,
"discount": 15,
"warranty": 19,
"delivery_cost": 19,
"invoice_cost": 12,
"sms_cost": 19,
"transaction_cost": 17,
"price_to_pay": 15,
"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": 14
},
"shop": {
"id": 16,
"name": "Gussie Koch",
"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"
}
],
"next": {
"status": "PENDING",
"created_after": 1657086122,
"created_before": 1657086122,
"before_id": 16,
"after_id": 12,
"sort": "ascending"
}
}