OrderGroup

Field Type Description
id Int Id of the order group
orders [Order.simple] Array of Order.simple

Examples

Request

When used inside a request.

Example 1

{
    "id": 18,
    "orders": [
        {
            "id": 11,
            "status": "PENDING",
            "valid": false,
            "order_nr": 14,
            "prices": {
                "price": 12,
                "discount": 12,
                "warranty": 18,
                "delivery_cost": 18,
                "invoice_cost": 13,
                "sms_cost": 11,
                "transaction_cost": 17,
                "price_to_pay": 11,
                "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": "..."
            },
            "shop": {
                "id": 12,
                "name": "Josefa McCullough",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                }
            },
            "created_at": "2019-01-31 12:00:00",
            "payment_status": "pending"
        },
        {
            "id": 16,
            "status": "PENDING",
            "valid": false,
            "order_nr": 16,
            "prices": {
                "price": 16,
                "discount": 14,
                "warranty": 11,
                "delivery_cost": 15,
                "invoice_cost": 18,
                "sms_cost": 10,
                "transaction_cost": 12,
                "price_to_pay": 13,
                "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": "..."
            },
            "shop": {
                "id": 18,
                "name": "Kirk O'Connell Jr.",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                }
            },
            "created_at": "2019-01-31 12:00:00",
            "payment_status": "pending"
        },
        {
            "id": 11,
            "status": "PENDING",
            "valid": true,
            "order_nr": 16,
            "prices": {
                "price": 13,
                "discount": 10,
                "warranty": 16,
                "delivery_cost": 19,
                "invoice_cost": 18,
                "sms_cost": 16,
                "transaction_cost": 11,
                "price_to_pay": 12,
                "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": "..."
            },
            "shop": {
                "id": 19,
                "name": "Yasmeen Crist",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                }
            },
            "created_at": "2019-01-31 12:00:00",
            "payment_status": "pending"
        }
    ]
}

Response

When returned in a response.

Example 1

{
    "id": 10,
    "orders": [
        {
            "id": 12,
            "status": "PENDING",
            "valid": false,
            "order_nr": 14,
            "prices": {
                "price": 13,
                "discount": 14,
                "warranty": 13,
                "delivery_cost": 17,
                "invoice_cost": 14,
                "sms_cost": 13,
                "transaction_cost": 17,
                "price_to_pay": 18,
                "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": "..."
            },
            "shop": {
                "id": 14,
                "name": "Prof. Joany Emmerich",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE",
                    "position": {
                        "latitude": 1.54361,
                        "longitude": 0.45645
                    }
                }
            },
            "created_at": "2019-01-31 12:00:00",
            "payment_status": "pending"
        },
        {
            "id": 12,
            "status": "PENDING",
            "valid": false,
            "order_nr": 18,
            "prices": {
                "price": 11,
                "discount": 13,
                "warranty": 14,
                "delivery_cost": 16,
                "invoice_cost": 14,
                "sms_cost": 13,
                "transaction_cost": 10,
                "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": "..."
            },
            "shop": {
                "id": 16,
                "name": "Haskell Daugherty",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE",
                    "position": {
                        "latitude": 1.54361,
                        "longitude": 0.45645
                    }
                }
            },
            "created_at": "2019-01-31 12:00:00",
            "payment_status": "pending"
        },
        {
            "id": 13,
            "status": "PENDING",
            "valid": true,
            "order_nr": 15,
            "prices": {
                "price": 17,
                "discount": 16,
                "warranty": 18,
                "delivery_cost": 17,
                "invoice_cost": 10,
                "sms_cost": 13,
                "transaction_cost": 11,
                "price_to_pay": 14,
                "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": "..."
            },
            "shop": {
                "id": 16,
                "name": "Dr. Kale Sawayn",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE",
                    "position": {
                        "latitude": 1.54361,
                        "longitude": 0.45645
                    }
                }
            },
            "created_at": "2019-01-31 12:00:00",
            "payment_status": "pending"
        }
    ]
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
0.2.0 stable