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": 17,
    "orders": [
        {
            "id": 18,
            "status": "PENDING",
            "valid": true,
            "order_nr": 10,
            "prices": {
                "price": {
                    "value": 16,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 10,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 14,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 12,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 11,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 19,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 10,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 13,
                    "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": 19
            },
            "shop": {
                "id": 13,
                "name": "Adrain Bergnaum",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                },
                "allow_comments": false,
                "currency": "EUR"
            },
            "created_at": 1657086037,
            "joyn": {
                "points": 13,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending",
            "currency": "EUR"
        },
        {
            "id": 18,
            "status": "PENDING",
            "valid": false,
            "order_nr": 10,
            "prices": {
                "price": {
                    "value": 16,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 19,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 19,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 17,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 19,
                    "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": 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": 11
            },
            "shop": {
                "id": 13,
                "name": "Mr. Dayton Goodwin Sr.",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "created_at": 1657086037,
            "joyn": {
                "points": 12,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending",
            "currency": "EUR"
        },
        {
            "id": 16,
            "status": "PENDING",
            "valid": true,
            "order_nr": 15,
            "prices": {
                "price": {
                    "value": 18,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 13,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 16,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 12,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 11,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 11,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 11,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 14,
                    "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
            },
            "shop": {
                "id": 13,
                "name": "Milford Carter Jr.",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                },
                "allow_comments": true,
                "currency": "EUR"
            },
            "created_at": 1657086037,
            "joyn": {
                "points": 18,
                "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": 12,
            "status": "PENDING",
            "valid": false,
            "order_nr": 12,
            "prices": {
                "price": {
                    "value": 14,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 16,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 19,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 14,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 13,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 19,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 18,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 15,
                    "currency": "EUR"
                },
                "price_with_discount": {
                    "value": 17,
                    "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": 13
            },
            "shop": {
                "id": 10,
                "name": "Nils Hegmann",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE",
                    "position": {
                        "latitude": 1.54361,
                        "longitude": 0.45645
                    }
                },
                "allow_comments": false,
                "currency": "EUR"
            },
            "created_at": 1657086037,
            "joyn": {
                "points": 14,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending",
            "currency": "EUR"
        },
        {
            "id": 13,
            "status": "PENDING",
            "valid": false,
            "order_nr": 10,
            "prices": {
                "price": {
                    "value": 10,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 11,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 15,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 15,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 15,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 11,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 19,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 12,
                    "currency": "EUR"
                },
                "price_with_discount": {
                    "value": 19,
                    "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": 17
            },
            "shop": {
                "id": 13,
                "name": "Arden Stamm",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE",
                    "position": {
                        "latitude": 1.54361,
                        "longitude": 0.45645
                    }
                },
                "allow_comments": false,
                "currency": "EUR"
            },
            "created_at": 1657086037,
            "joyn": {
                "points": 17,
                "collect_url": "https://example.com",
                "qr_code_url": "https://example.com"
            },
            "payment_status": "pending",
            "currency": "EUR"
        },
        {
            "id": 14,
            "status": "PENDING",
            "valid": true,
            "order_nr": 10,
            "prices": {
                "price": {
                    "value": 17,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 17,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 18,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 16,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 10,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 10,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 10,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 13,
                    "currency": "EUR"
                },
                "price_with_discount": {
                    "value": 13,
                    "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": 17
            },
            "shop": {
                "id": 18,
                "name": "Derick Effertz V",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE",
                    "position": {
                        "latitude": 1.54361,
                        "longitude": 0.45645
                    }
                },
                "allow_comments": false,
                "currency": "EUR"
            },
            "created_at": 1657086037,
            "joyn": {
                "points": 13,
                "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.5.1 stable