FuturePagedResult

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.

Examples

Request

When used inside a request.

Example 1

{
    "results": [
        {
            "id": 14,
            "status": "PENDING",
            "valid": true,
            "order_nr": 10,
            "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": 10,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 17,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 18,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 13,
                    "currency": "EUR"
                },
                "price_with_discount": {
                    "value": 12,
                    "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": 12,
                "comment": "..."
            },
            "shop": {
                "id": 15,
                "name": "Prof. Margie Jacobi Sr.",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                },
                "allow_comments": true,
                "url": "...",
                "allow_order_comments": true,
                "allow_product_comments": false,
                "allow_order_messages": true,
                "allow_orders": true,
                "currency": "EUR"
            },
            "created_at": 1657086004,
            "joyn": {
                "points": 12,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending",
            "currency": "EUR",
            "bank_transfer": {
                "reference": "...",
                "bank_accounts": [
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    },
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    },
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    }
                ]
            }
        },
        {
            "id": 18,
            "status": "PENDING",
            "valid": true,
            "order_nr": 16,
            "prices": {
                "price": {
                    "value": 17,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 17,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 19,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 19,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 17,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 17,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 18,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 11,
                    "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": 15,
                "comment": "..."
            },
            "shop": {
                "id": 10,
                "name": "Miss Delfina Mertz I",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                },
                "allow_comments": true,
                "url": "...",
                "allow_order_comments": true,
                "allow_product_comments": false,
                "allow_order_messages": false,
                "allow_orders": true,
                "currency": "EUR"
            },
            "created_at": 1657086004,
            "joyn": {
                "points": 14,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending",
            "currency": "EUR",
            "bank_transfer": {
                "reference": "...",
                "bank_accounts": [
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    },
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    },
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    }
                ]
            }
        },
        {
            "id": 12,
            "status": "PENDING",
            "valid": false,
            "order_nr": 18,
            "prices": {
                "price": {
                    "value": 19,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 15,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 14,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 15,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 15,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 19,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 14,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 16,
                    "currency": "EUR"
                },
                "price_with_discount": {
                    "value": 18,
                    "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": 18,
                "comment": "..."
            },
            "shop": {
                "id": 16,
                "name": "Baylee Jaskolski",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                },
                "allow_comments": false,
                "url": "...",
                "allow_order_comments": false,
                "allow_product_comments": true,
                "allow_order_messages": true,
                "allow_orders": true,
                "currency": "EUR"
            },
            "created_at": 1657086004,
            "joyn": {
                "points": 18,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending",
            "currency": "EUR",
            "bank_transfer": {
                "reference": "...",
                "bank_accounts": [
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    },
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    },
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    }
                ]
            }
        }
    ],
    "next": {
        "status": "PENDING",
        "created_after": 1657086004,
        "created_before": 1657086004,
        "before_id": 18,
        "after_id": 17,
        "sort": "ascending",
        "company_id": 18
    },
    "future": {
        "status": "PENDING",
        "created_after": 1657086004,
        "created_before": 1657086004,
        "before_id": 11,
        "after_id": 19,
        "sort": "ascending",
        "company_id": 15
    }
}

Response

When returned in a response.

Example 1

{
    "results": [
        {
            "id": 10,
            "status": "PENDING",
            "valid": true,
            "order_nr": 13,
            "prices": {
                "price": {
                    "value": 14,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 10,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 10,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 10,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 12,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 13,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 14,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 16,
                    "currency": "EUR"
                },
                "price_with_discount": {
                    "value": 15,
                    "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": 10,
                "comment": "..."
            },
            "shop": {
                "id": 10,
                "name": "Davin Jones",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE",
                    "position": {
                        "latitude": 1.54361,
                        "longitude": 0.45645
                    }
                },
                "allow_comments": false,
                "url": "...",
                "allow_order_comments": false,
                "allow_product_comments": false,
                "allow_order_messages": false,
                "allow_orders": false,
                "currency": "EUR"
            },
            "created_at": 1657086004,
            "joyn": {
                "points": 13,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending",
            "currency": "EUR",
            "bank_transfer": {
                "reference": "...",
                "bank_accounts": [
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    },
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    },
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    }
                ]
            }
        },
        {
            "id": 19,
            "status": "PENDING",
            "valid": true,
            "order_nr": 10,
            "prices": {
                "price": {
                    "value": 18,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 12,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 16,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 16,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 12,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 15,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 15,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 19,
                    "currency": "EUR"
                },
                "price_with_discount": {
                    "value": 14,
                    "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": 10,
                "comment": "..."
            },
            "shop": {
                "id": 10,
                "name": "Colleen Pfeffer IV",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE",
                    "position": {
                        "latitude": 1.54361,
                        "longitude": 0.45645
                    }
                },
                "allow_comments": true,
                "url": "...",
                "allow_order_comments": true,
                "allow_product_comments": true,
                "allow_order_messages": false,
                "allow_orders": false,
                "currency": "EUR"
            },
            "created_at": 1657086004,
            "joyn": {
                "points": 19,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending",
            "currency": "EUR",
            "bank_transfer": {
                "reference": "...",
                "bank_accounts": [
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    },
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    },
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    }
                ]
            }
        },
        {
            "id": 17,
            "status": "PENDING",
            "valid": true,
            "order_nr": 17,
            "prices": {
                "price": {
                    "value": 12,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 19,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 15,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 14,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 18,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 18,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 10,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 15,
                    "currency": "EUR"
                },
                "price_with_discount": {
                    "value": 14,
                    "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,
                "comment": "..."
            },
            "shop": {
                "id": 11,
                "name": "Mr. Adelbert Jacobs",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE",
                    "position": {
                        "latitude": 1.54361,
                        "longitude": 0.45645
                    }
                },
                "allow_comments": false,
                "url": "...",
                "allow_order_comments": false,
                "allow_product_comments": false,
                "allow_order_messages": false,
                "allow_orders": false,
                "currency": "EUR"
            },
            "created_at": 1657086004,
            "joyn": {
                "points": 14,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending",
            "currency": "EUR",
            "bank_transfer": {
                "reference": "...",
                "bank_accounts": [
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    },
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    },
                    {
                        "bank": "ING. Bank",
                        "number": "BE283578529348"
                    }
                ]
            }
        }
    ],
    "next": {
        "status": "PENDING",
        "created_after": 1657086004,
        "created_before": 1657086004,
        "before_id": 17,
        "after_id": 16,
        "sort": "ascending",
        "company_id": 11
    },
    "future": {
        "status": "PENDING",
        "created_after": 1657086004,
        "created_before": 1657086004,
        "before_id": 11,
        "after_id": 19,
        "sort": "ascending",
        "company_id": 17
    }
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.6.0 stable