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": 17,
"status": "PENDING",
"valid": true,
"order_nr": 11,
"prices": {
"price": 13,
"discount": 11,
"warranty": 16,
"delivery_cost": 17,
"invoice_cost": 14,
"sms_cost": 12,
"transaction_cost": 15,
"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": 12
},
"shop": {
"id": 13,
"name": "Mac Harvey",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"currency": "EUR"
},
"created_at": 1657086096,
"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": 16,
"prices": {
"price": 12,
"discount": 17,
"warranty": 15,
"delivery_cost": 11,
"invoice_cost": 18,
"sms_cost": 18,
"transaction_cost": 13,
"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": 14
},
"shop": {
"id": 19,
"name": "Aliza Dooley",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"currency": "EUR"
},
"created_at": 1657086096,
"joyn": {
"points": 10,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
},
{
"id": 19,
"status": "PENDING",
"valid": false,
"order_nr": 16,
"prices": {
"price": 16,
"discount": 16,
"warranty": 15,
"delivery_cost": 10,
"invoice_cost": 17,
"sms_cost": 11,
"transaction_cost": 18,
"price_to_pay": 16,
"price_with_discount": 16
},
"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": 13,
"name": "Jessika Blick",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"currency": "EUR"
},
"created_at": 1657086096,
"joyn": {
"points": 10,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
}
],
"next": {
"status": "PENDING",
"created_after": 1657086096,
"created_before": 1657086096,
"before_id": 15,
"after_id": 12,
"sort": "ascending",
"company_id": 16
}
}
When returned in a response.
{
"results": [
{
"id": 11,
"status": "PENDING",
"valid": true,
"order_nr": 18,
"prices": {
"price": 17,
"discount": 14,
"warranty": 19,
"delivery_cost": 17,
"invoice_cost": 12,
"sms_cost": 17,
"transaction_cost": 18,
"price_to_pay": 16,
"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": 13
},
"shop": {
"id": 16,
"name": "Darren Gleason DVM",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"currency": "EUR"
},
"created_at": 1657086096,
"joyn": {
"points": 11,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
},
{
"id": 19,
"status": "PENDING",
"valid": true,
"order_nr": 17,
"prices": {
"price": 13,
"discount": 15,
"warranty": 17,
"delivery_cost": 11,
"invoice_cost": 18,
"sms_cost": 11,
"transaction_cost": 13,
"price_to_pay": 11,
"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": 19
},
"shop": {
"id": 14,
"name": "Graciela Stehr",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"currency": "EUR"
},
"created_at": 1657086096,
"joyn": {
"points": 10,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
},
{
"id": 11,
"status": "PENDING",
"valid": false,
"order_nr": 12,
"prices": {
"price": 14,
"discount": 16,
"warranty": 15,
"delivery_cost": 17,
"invoice_cost": 11,
"sms_cost": 10,
"transaction_cost": 14,
"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": 12
},
"shop": {
"id": 17,
"name": "Clemens Lind",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"currency": "EUR"
},
"created_at": 1657086096,
"joyn": {
"points": 11,
"collect_url": "https://example.com",
"qr_code_url": "https://example.com"
},
"payment_status": "pending",
"currency": "EUR"
}
],
"next": {
"status": "PENDING",
"created_after": 1657086096,
"created_before": 1657086096,
"before_id": 18,
"after_id": 16,
"sort": "ascending",
"company_id": 12
}
}