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": 15,
    "orders": [
        {
            "id": 16,
            "status": "PENDING",
            "valid": false,
            "order_nr": 10,
            "prices": {
                "price": 14,
                "discount": 19,
                "warranty": 18,
                "delivery_cost": 13,
                "invoice_cost": 18,
                "sms_cost": 12,
                "transaction_cost": 19,
                "price_to_pay": 19,
                "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": 19
            },
            "shop": {
                "id": 13,
                "name": "Susan Kihn",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                }
            },
            "created_at": "2019-01-31 12:00:00",
            "joyn": {
                "points": 13,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending"
        },
        {
            "id": 15,
            "status": "PENDING",
            "valid": true,
            "order_nr": 11,
            "prices": {
                "price": 12,
                "discount": 17,
                "warranty": 10,
                "delivery_cost": 10,
                "invoice_cost": 16,
                "sms_cost": 11,
                "transaction_cost": 17,
                "price_to_pay": 14,
                "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": 16
            },
            "shop": {
                "id": 12,
                "name": "Prof. Kellen Boyer I",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                }
            },
            "created_at": "2019-01-31 12:00:00",
            "joyn": {
                "points": 18,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending"
        },
        {
            "id": 18,
            "status": "PENDING",
            "valid": false,
            "order_nr": 11,
            "prices": {
                "price": 19,
                "discount": 18,
                "warranty": 15,
                "delivery_cost": 15,
                "invoice_cost": 13,
                "sms_cost": 11,
                "transaction_cost": 17,
                "price_to_pay": 18,
                "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": 12
            },
            "shop": {
                "id": 16,
                "name": "Granville Schuppe",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                }
            },
            "created_at": "2019-01-31 12:00:00",
            "joyn": {
                "points": 16,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending"
        }
    ]
}

Response

When returned in a response.

Example 1

{
    "id": 15,
    "orders": [
        {
            "id": 19,
            "status": "PENDING",
            "valid": true,
            "order_nr": 15,
            "prices": {
                "price": 16,
                "discount": 18,
                "warranty": 13,
                "delivery_cost": 12,
                "invoice_cost": 13,
                "sms_cost": 14,
                "transaction_cost": 11,
                "price_to_pay": 15,
                "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": 13
            },
            "shop": {
                "id": 16,
                "name": "Veronica Beatty",
                "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",
            "joyn": {
                "points": 10,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending"
        },
        {
            "id": 16,
            "status": "PENDING",
            "valid": true,
            "order_nr": 18,
            "prices": {
                "price": 14,
                "discount": 13,
                "warranty": 19,
                "delivery_cost": 14,
                "invoice_cost": 16,
                "sms_cost": 15,
                "transaction_cost": 19,
                "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": 14
            },
            "shop": {
                "id": 12,
                "name": "Miss Beulah Bednar",
                "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",
            "joyn": {
                "points": 15,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending"
        },
        {
            "id": 17,
            "status": "PENDING",
            "valid": true,
            "order_nr": 14,
            "prices": {
                "price": 13,
                "discount": 11,
                "warranty": 13,
                "delivery_cost": 13,
                "invoice_cost": 18,
                "sms_cost": 18,
                "transaction_cost": 13,
                "price_to_pay": 15,
                "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": 19
            },
            "shop": {
                "id": 15,
                "name": "Maegan Schmitt II",
                "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",
            "joyn": {
                "points": 18,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending"
        }
    ]
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
0.3.0 stable