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": 10,
    "orders": [
        {
            "id": 10,
            "status": "PENDING",
            "valid": true,
            "order_nr": 13,
            "prices": {
                "price": 11,
                "discount": 18,
                "warranty": 11,
                "delivery_cost": 15,
                "invoice_cost": 17,
                "sms_cost": 13,
                "transaction_cost": 18,
                "price_to_pay": 11,
                "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": 15
            },
            "shop": {
                "id": 12,
                "name": "Dr. Helena Oberbrunner V",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                },
                "currency": "EUR"
            },
            "created_at": 1657086096,
            "joyn": {
                "points": 13,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending",
            "currency": "EUR"
        },
        {
            "id": 15,
            "status": "PENDING",
            "valid": false,
            "order_nr": 19,
            "prices": {
                "price": 10,
                "discount": 14,
                "warranty": 10,
                "delivery_cost": 17,
                "invoice_cost": 11,
                "sms_cost": 13,
                "transaction_cost": 11,
                "price_to_pay": 19,
                "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": 15
            },
            "shop": {
                "id": 11,
                "name": "Johan Hahn",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                },
                "currency": "EUR"
            },
            "created_at": 1657086096,
            "joyn": {
                "points": 12,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending",
            "currency": "EUR"
        },
        {
            "id": 10,
            "status": "PENDING",
            "valid": false,
            "order_nr": 15,
            "prices": {
                "price": 19,
                "discount": 12,
                "warranty": 15,
                "delivery_cost": 13,
                "invoice_cost": 10,
                "sms_cost": 15,
                "transaction_cost": 18,
                "price_to_pay": 11,
                "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": 18
            },
            "shop": {
                "id": 12,
                "name": "Jamil Lueilwitz",
                "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"
        }
    ]
}

Response

When returned in a response.

Example 1

{
    "id": 10,
    "orders": [
        {
            "id": 15,
            "status": "PENDING",
            "valid": false,
            "order_nr": 10,
            "prices": {
                "price": 14,
                "discount": 11,
                "warranty": 15,
                "delivery_cost": 13,
                "invoice_cost": 13,
                "sms_cost": 18,
                "transaction_cost": 14,
                "price_to_pay": 12,
                "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": 12,
                "name": "Raina Oberbrunner",
                "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": 17,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending",
            "currency": "EUR"
        },
        {
            "id": 17,
            "status": "PENDING",
            "valid": false,
            "order_nr": 19,
            "prices": {
                "price": 10,
                "discount": 15,
                "warranty": 12,
                "delivery_cost": 19,
                "invoice_cost": 14,
                "sms_cost": 11,
                "transaction_cost": 18,
                "price_to_pay": 14,
                "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": 10
            },
            "shop": {
                "id": 19,
                "name": "Dr. Drew Towne II",
                "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": 12,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending",
            "currency": "EUR"
        },
        {
            "id": 16,
            "status": "PENDING",
            "valid": false,
            "order_nr": 18,
            "prices": {
                "price": 17,
                "discount": 12,
                "warranty": 19,
                "delivery_cost": 14,
                "invoice_cost": 16,
                "sms_cost": 14,
                "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": 16
            },
            "shop": {
                "id": 17,
                "name": "Mr. Kraig Spencer DDS",
                "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": 14,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending",
            "currency": "EUR"
        }
    ]
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.1.0 stable