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": 18,
"status": "PENDING",
"valid": false,
"order_nr": 19,
"prices": {
"price": 16,
"discount": 11,
"warranty": 12,
"delivery_cost": 12,
"invoice_cost": 17,
"sms_cost": 18,
"transaction_cost": 17,
"price_to_pay": 18,
"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": 16
},
"shop": {
"id": 14,
"name": "Prof. Mollie Bins",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"currency": "EUR"
},
"created_at": 1657086123,
"joyn": {
"points": 16,
"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": 18,
"discount": 16,
"warranty": 14,
"delivery_cost": 12,
"invoice_cost": 15,
"sms_cost": 16,
"transaction_cost": 15,
"price_to_pay": 17,
"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": 14,
"name": "Mrs. Leda Brakus",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"currency": "EUR"
},
"created_at": 1657086123,
"joyn": {
"points": 13,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
},
{
"id": 16,
"status": "PENDING",
"valid": false,
"order_nr": 19,
"prices": {
"price": 17,
"discount": 10,
"warranty": 10,
"delivery_cost": 19,
"invoice_cost": 15,
"sms_cost": 16,
"transaction_cost": 13,
"price_to_pay": 13,
"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": 17
},
"shop": {
"id": 13,
"name": "Raymundo Strosin PhD",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"currency": "EUR"
},
"created_at": 1657086123,
"joyn": {
"points": 16,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
}
],
"next": {
"status": "PENDING",
"created_after": 1657086123,
"created_before": 1657086123,
"before_id": 11,
"after_id": 10,
"sort": "ascending"
}
}
When returned in a response.
{
"results": [
{
"id": 17,
"status": "PENDING",
"valid": false,
"order_nr": 10,
"prices": {
"price": 15,
"discount": 10,
"warranty": 10,
"delivery_cost": 11,
"invoice_cost": 10,
"sms_cost": 14,
"transaction_cost": 14,
"price_to_pay": 19,
"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": 15
},
"shop": {
"id": 18,
"name": "Hester Kertzmann DVM",
"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": 10,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
},
{
"id": 15,
"status": "PENDING",
"valid": true,
"order_nr": 15,
"prices": {
"price": 15,
"discount": 19,
"warranty": 16,
"delivery_cost": 15,
"invoice_cost": 11,
"sms_cost": 16,
"transaction_cost": 10,
"price_to_pay": 18,
"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": 11
},
"shop": {
"id": 13,
"name": "Dr. Jayce Kshlerin V",
"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": 15,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
},
{
"id": 14,
"status": "PENDING",
"valid": false,
"order_nr": 14,
"prices": {
"price": 16,
"discount": 19,
"warranty": 16,
"delivery_cost": 13,
"invoice_cost": 19,
"sms_cost": 17,
"transaction_cost": 18,
"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": 17
},
"shop": {
"id": 15,
"name": "Arno Lesch",
"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": 16,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
}
],
"next": {
"status": "PENDING",
"created_after": 1657086123,
"created_before": 1657086123,
"before_id": 12,
"after_id": 12,
"sort": "ascending"
}
}