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": 11,
    "orders": [
        {
            "id": 13,
            "status": "PENDING",
            "valid": false,
            "order_nr": 11,
            "prices": {
                "price": {
                    "value": 11,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 18,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 18,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 11,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 12,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 19,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 18,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 19,
                    "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": 15,
                "comment": "...",
                "notification_method": "email"
            },
            "shop": {
                "id": 18,
                "name": "Prof. Royal Lind",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                },
                "allow_comments": true,
                "url": "...",
                "allow_order_comments": false,
                "allow_product_comments": true,
                "allow_order_messages": false,
                "global_discount_percentage": 13,
                "allow_orders": true,
                "currency": "EUR"
            },
            "created_at": 1657086181,
            "joyn": {
                "points": 11,
                "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"
                    }
                ]
            },
            "external_order_nr": "...",
            "shop_uses_external_order_nrs": false,
            "invoice": {
                "company": {
                    "name": "...",
                    "vat": "BE0123.456.789",
                    "address": {
                        "street": "Sint-Denijslaan",
                        "nr": "96",
                        "zipcode": "9000",
                        "city": "Gent",
                        "country": "BE"
                    }
                }
            },
            "referenceCode": "..."
        },
        {
            "id": 16,
            "status": "PENDING",
            "valid": true,
            "order_nr": 17,
            "prices": {
                "price": {
                    "value": 17,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 10,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 16,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 16,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 12,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 13,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 18,
                    "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": 14,
                "comment": "...",
                "notification_method": "email"
            },
            "shop": {
                "id": 15,
                "name": "Dr. Wilfred Vandervort",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                },
                "allow_comments": true,
                "url": "...",
                "allow_order_comments": true,
                "allow_product_comments": true,
                "allow_order_messages": false,
                "global_discount_percentage": 13,
                "allow_orders": true,
                "currency": "EUR"
            },
            "created_at": 1657086181,
            "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"
                    }
                ]
            },
            "external_order_nr": "...",
            "shop_uses_external_order_nrs": true,
            "invoice": {
                "company": {
                    "name": "...",
                    "vat": "BE0123.456.789",
                    "address": {
                        "street": "Sint-Denijslaan",
                        "nr": "96",
                        "zipcode": "9000",
                        "city": "Gent",
                        "country": "BE"
                    }
                }
            },
            "referenceCode": "..."
        },
        {
            "id": 11,
            "status": "PENDING",
            "valid": true,
            "order_nr": 14,
            "prices": {
                "price": {
                    "value": 14,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 14,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 13,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 16,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 19,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 16,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 12,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 12,
                    "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": 16,
                "comment": "...",
                "notification_method": "email"
            },
            "shop": {
                "id": 10,
                "name": "Brisa Hauck II",
                "address": {
                    "street": "Sint-Denijslaan",
                    "nr": "96",
                    "zipcode": "9000",
                    "city": "Gent",
                    "country": "BE"
                },
                "allow_comments": false,
                "url": "...",
                "allow_order_comments": true,
                "allow_product_comments": false,
                "allow_order_messages": true,
                "global_discount_percentage": 19,
                "allow_orders": false,
                "currency": "EUR"
            },
            "created_at": 1657086181,
            "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"
                    }
                ]
            },
            "external_order_nr": "...",
            "shop_uses_external_order_nrs": true,
            "invoice": {
                "company": {
                    "name": "...",
                    "vat": "BE0123.456.789",
                    "address": {
                        "street": "Sint-Denijslaan",
                        "nr": "96",
                        "zipcode": "9000",
                        "city": "Gent",
                        "country": "BE"
                    }
                }
            },
            "referenceCode": "..."
        }
    ]
}

Response

When returned in a response.

Example 1

{
    "id": 14,
    "orders": [
        {
            "id": 14,
            "status": "PENDING",
            "valid": true,
            "order_nr": 17,
            "prices": {
                "price": {
                    "value": 17,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 15,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 19,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 16,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 15,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 12,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 15,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 12,
                    "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": 11,
                "comment": "...",
                "notification_method": "email"
            },
            "shop": {
                "id": 17,
                "name": "Nels Gerlach",
                "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": true,
                "global_discount_percentage": 16,
                "allow_orders": true,
                "currency": "EUR"
            },
            "created_at": 1657086181,
            "joyn": {
                "points": 16,
                "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"
                    }
                ]
            },
            "external_order_nr": "...",
            "shop_uses_external_order_nrs": true,
            "invoice": {
                "company": {
                    "name": "...",
                    "vat": "BE0123.456.789",
                    "address": {
                        "street": "Sint-Denijslaan",
                        "nr": "96",
                        "zipcode": "9000",
                        "city": "Gent",
                        "country": "BE"
                    }
                }
            },
            "referenceCode": "..."
        },
        {
            "id": 15,
            "status": "PENDING",
            "valid": true,
            "order_nr": 13,
            "prices": {
                "price": {
                    "value": 12,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 15,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 15,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 14,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 15,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 18,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 10,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 18,
                    "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": 10,
                "comment": "...",
                "notification_method": "email"
            },
            "shop": {
                "id": 12,
                "name": "Yvette Bradtke I",
                "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": true,
                "allow_product_comments": false,
                "allow_order_messages": false,
                "global_discount_percentage": 16,
                "allow_orders": true,
                "currency": "EUR"
            },
            "created_at": 1657086181,
            "joyn": {
                "points": 10,
                "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"
                    }
                ]
            },
            "external_order_nr": "...",
            "shop_uses_external_order_nrs": false,
            "invoice": {
                "company": {
                    "name": "...",
                    "vat": "BE0123.456.789",
                    "address": {
                        "street": "Sint-Denijslaan",
                        "nr": "96",
                        "zipcode": "9000",
                        "city": "Gent",
                        "country": "BE"
                    }
                }
            },
            "referenceCode": "..."
        },
        {
            "id": 13,
            "status": "PENDING",
            "valid": true,
            "order_nr": 17,
            "prices": {
                "price": {
                    "value": 17,
                    "currency": "EUR"
                },
                "discount": {
                    "value": 15,
                    "currency": "EUR"
                },
                "warranty": {
                    "value": 15,
                    "currency": "EUR"
                },
                "delivery_cost": {
                    "value": 16,
                    "currency": "EUR"
                },
                "invoice_cost": {
                    "value": 11,
                    "currency": "EUR"
                },
                "sms_cost": {
                    "value": 10,
                    "currency": "EUR"
                },
                "transaction_cost": {
                    "value": 17,
                    "currency": "EUR"
                },
                "price_to_pay": {
                    "value": 17,
                    "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": 13,
                "comment": "...",
                "notification_method": "email"
            },
            "shop": {
                "id": 13,
                "name": "Ted Graham",
                "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": false,
                "allow_product_comments": true,
                "allow_order_messages": false,
                "global_discount_percentage": 12,
                "allow_orders": false,
                "currency": "EUR"
            },
            "created_at": 1657086181,
            "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"
                    }
                ]
            },
            "external_order_nr": "...",
            "shop_uses_external_order_nrs": false,
            "invoice": {
                "company": {
                    "name": "...",
                    "vat": "BE0123.456.789",
                    "address": {
                        "street": "Sint-Denijslaan",
                        "nr": "96",
                        "zipcode": "9000",
                        "city": "Gent",
                        "country": "BE"
                    }
                }
            },
            "referenceCode": "..."
        }
    ]
}
1.9.0 stable