# Models

## The OrderEntryEventResponse object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"OrderEntryEventResponse":{"type":"object","properties":{"eventId":{"type":"string","description":"The event id"},"productId":{"type":"string","description":"The product id for which the event was created"},"deliveryCycle":{"type":"string","description":"The delivery cycle for which the event was created"},"orderNumber":{"type":"string","description":"The order number for which the event was created"},"timestamp":{"type":"string","description":"Timestamp when the event was created"},"pickedAmount":{"description":"The picked amount","type":"integer"},"packedAmount":{"description":"The packed amount","type":"integer"},"canceledAmount":{"description":"The canceled amount","type":"integer"},"packedAmountInPc":{"description":"The packed amount calculated into piece","type":"integer"},"supplierId":{"description":"The supplier id of the product for which the event was created","type":"string"},"user":{"description":"The ID of the user which has created the event","type":"string"},"site":{"description":"The site code for which the event was created","type":"string"},"unit":{"description":"The unit in which the product is packed","type":"string"},"bookProduct":{"description":"The book product flag","type":"boolean"}}}}}}
```

## The OrderEntryEventCreate object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"OrderEntryEventCreate":{"type":"object","properties":{"eventId":{"type":"string","description":"The event id generated by the client"},"orderNumber":{"type":"string","description":"The order number for which the packing event is created"},"productId":{"type":"string","description":"The product id for which the packing event is created"},"deliveryCycle":{"type":"string","description":"The delivery cycle for which the packing event is created"},"pickedAmount":{"type":"integer","description":"The amount of picked items"},"packedAmount":{"type":"integer","description":"The amount of packed items"},"canceledAmount":{"type":"integer","description":"The amount of cancelled items"},"supplierId":{"type":"string","description":"The supplier id"},"unit":{"type":"string","description":"The unit of the packed item"},"timestamp":{"type":"string","format":"date-time","description":"Timestamp of the packing event in ISO format"},"site":{"type":"string","description":"The site code for which the event is created"},"bookProduct":{"type":"boolean"}},"required":["eventId","orderNumber","productId","unit","timestamp","site"]}}}}
```

## The OrderStatusChange object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"OrderStatusChange":{"type":"object","properties":{"packingStatus":{"type":"string","enum":["INITIAL","IN_PROGRESS","PRE_PACKED","PACKED","CANCELLED"],"description":"The new status of the order"}},"required":["packingStatus"]}}}}
```

## The PackagingProductsChange object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"PackagingProductsChange":{"type":"object","properties":{"entryId":{"type":"string","description":"The id of the product that was packed"},"packedCount":{"type":"integer","description":"The amount of packed items"}},"required":["entryId","packedCount"]}}}}
```

## The Assignee object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"Assignee":{"title":"Assignee","type":"object","properties":{"id":{"type":"string","description":"Identifier of an assignment"},"siteCode":{"type":"string","description":"Code of a site"},"firstName":{"type":"string","description":"First name of assignee"},"lastName":{"type":"string","description":"Last name of assignee"}},"required":["id","siteCode","firstName","lastName"]}}}}
```

## The Order object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"Order":{"title":"Order","type":"object","properties":{"id":{"type":"string","description":"The id of the packed order"},"siteCode":{"type":"string","description":"The site code of the packed order"},"orderTotal":{"type":"number","format":"double","description":"The order total amount"},"valueOfGoods":{"type":"number","format":"double","description":"The order subtotal"},"deposit":{"type":"number","format":"double","description":"The order deposit amount"},"coupons":{"type":"number","format":"double","description":"The order coupons amount"},"currency":{"type":"string","description":"The order currency"},"entries":{"type":"array","description":"The order entries","items":{"$ref":"#/components/schemas/Entry"}},"customer":{"$ref":"#/components/schemas/Customer"},"delivery":{"$ref":"#/components/schemas/Delivery"},"payment":{"$ref":"#/components/schemas/Payment"},"packingStatus":{"type":"string","enum":["INITIAL","IN_PROGRESS","PRE_PACKED","PACKED","CANCELLED"],"description":"The current packing status of the order"},"assignees":{"type":"array","minItems":1,"description":"The user data of the person that is currently packing the order","items":{"$ref":"#/components/schemas/Assignee"}},"packagingProducts":{"type":"array","description":"The order packaging product","items":{"$ref":"#/components/schemas/Entry"}},"holdingAreaNumber":{"type":"integer","description":"The order holding area number"}}},"Entry":{"title":"Entry","type":"object","properties":{"entryId":{"type":"string","description":"The entry id"},"productName":{"type":"string","description":"The product name"},"productId":{"type":"string","description":"The id of the product"},"unitPrice":{"type":"number","format":"double","description":"The unit price of the product"},"totalPrice":{"type":"number","format":"double","description":"The overall price, which is the sum of the quantities of packed products."},"imageUrl":{"type":"string","description":"The link to product image"},"unitPricingMeasure":{"$ref":"#/components/schemas/PricingMeasure"},"pricingMeasure":{"$ref":"#/components/schemas/PricingMeasure"},"pricingMeasurePrice":{"type":"number","format":"double"},"orderUnit":{"type":"string"},"packedCount":{"type":"integer","description":"The currently packed count of the product"},"canceledCount":{"type":"integer","description":"The currently canceled count of the product"},"pickedCount":{"type":"integer","description":"The currently picked count of the product"},"packedAmountInPc":{"type":"integer","description":"The currently packed amount of the product packed in pieces"},"totalCount":{"type":"integer"},"location":{"type":"array","description":"The location of the product","items":{"$ref":"#/components/schemas/Location"}},"packingGroup":{"type":"string"},"packaging":{"type":"string"},"cutting":{"type":"string"},"customerComment":{"type":"string"},"barcodes":{"type":"array","items":{"type":"string"}},"weightDependent":{"type":"boolean"},"basePrice":{"$ref":"#/components/schemas/BasePrice"},"mhd":{"type":"string"}}},"PricingMeasure":{"title":"PricingMeasure","type":"object","properties":{"unitCode":{"type":"string"},"value":{"type":"string"}}},"Location":{"title":"Location","type":"object","properties":{"zone":{"type":"string"},"rack":{"type":"string"},"rackName":{"type":"string"},"shelf":{"type":"string"},"section":{"type":"string"},"bin":{"type":"string"}}},"BasePrice":{"title":"BasePrice","type":"object","properties":{"effectiveAmount":{"type":"string"},"originalAmount":{"type":"string"},"priceFactor":{"type":"string"},"basePriceFactor":{"type":"string"},"measurementUnit":{"$ref":"#/components/schemas/MeasurementUnit"}}},"MeasurementUnit":{"title":"MeasurementUnit","type":"object","properties":{"unitCode":{"type":"string","description":"The unit code of the measured quantity"},"quantity":{"type":"number","format":"double","description":"The measured amount"}}},"Customer":{"title":"Customer","type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"name":{"type":"string"},"companyName":{"type":"string"},"email":{"type":"string"},"phoneNumber":{"type":"string"}}},"Delivery":{"title":"Delivery","type":"object","properties":{"deliveryTimeModel":{"$ref":"#/components/schemas/DeliveryTime"},"deliveryAddressModel":{"$ref":"#/components/schemas/DeliveryAddress"},"deliveryCostModel":{"$ref":"#/components/schemas/DeliveryCost"},"deliveryOptionModel":{"$ref":"#/components/schemas/DeliveryOption"},"deliveryWindow":{"$ref":"#/components/schemas/DeliveryWindow"}},"description":""},"DeliveryTime":{"title":"DeliveryTime","type":"object","properties":{"deliveryDate":{"type":"string","format":"date"},"deliveryTimeFrom":{"type":"string","format":"time"},"deliveryTimeTo":{"type":"string","format":"time"},"deliveryChargeType":{"type":"string"}}},"DeliveryAddress":{"title":"DeliveryAddress","type":"object","properties":{"title":{"type":"string"},"contactName":{"type":"string"},"companyName":{"type":"string"},"street":{"type":"string"},"streetNumber":{"type":"string"},"streetAppendix":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"}}},"DeliveryCost":{"title":"DeliveryCost","type":"object","properties":{"amount":{"type":"number","format":"double"},"currency":{"type":"string"}}},"DeliveryOption":{"title":"DeliveryOption","type":"object","properties":{"packaging":{"type":"string"},"replacement":{"type":"boolean"},"pickup":{"type":"boolean"},"deliveryNote":{"type":"string"}},"description":""},"DeliveryWindow":{"title":"DeliveryWindow","type":"object","description":"This object contains attributes that are related to selected delivery window for a given order and allows to group orders by delivery cycle and sort by delivery time for a better and more efficient packing experience","properties":{"deliveryCycle":{"type":"string","description":"The selected delivery cycle for the current order for the given date"},"deliveryCycleName":{"type":"string","description":"The selected delivery cycle name"},"deliveryTimeTo":{"type":"string","format":"date-time","description":"The delivery time until the order should be delivered"}}},"Payment":{"title":"Payment","type":"object","properties":{"invoiceNumber":{"type":"string"},"invoiceAddress":{"$ref":"#/components/schemas/InvoiceAddress"},"methods":{"type":"array","items":{"type":"string"}}}},"InvoiceAddress":{"title":"InvoiceAddress","type":"object","properties":{"title":{"type":"string"},"contactName":{"type":"string"},"companyName":{"type":"string"},"street":{"type":"string"},"streetNumber":{"type":"string"},"streetAppendix":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"}}},"Assignee":{"title":"Assignee","type":"object","properties":{"id":{"type":"string","description":"Identifier of an assignment"},"siteCode":{"type":"string","description":"Code of a site"},"firstName":{"type":"string","description":"First name of assignee"},"lastName":{"type":"string","description":"Last name of assignee"}},"required":["id","siteCode","firstName","lastName"]}}}}
```

## The Entry object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"Entry":{"title":"Entry","type":"object","properties":{"entryId":{"type":"string","description":"The entry id"},"productName":{"type":"string","description":"The product name"},"productId":{"type":"string","description":"The id of the product"},"unitPrice":{"type":"number","format":"double","description":"The unit price of the product"},"totalPrice":{"type":"number","format":"double","description":"The overall price, which is the sum of the quantities of packed products."},"imageUrl":{"type":"string","description":"The link to product image"},"unitPricingMeasure":{"$ref":"#/components/schemas/PricingMeasure"},"pricingMeasure":{"$ref":"#/components/schemas/PricingMeasure"},"pricingMeasurePrice":{"type":"number","format":"double"},"orderUnit":{"type":"string"},"packedCount":{"type":"integer","description":"The currently packed count of the product"},"canceledCount":{"type":"integer","description":"The currently canceled count of the product"},"pickedCount":{"type":"integer","description":"The currently picked count of the product"},"packedAmountInPc":{"type":"integer","description":"The currently packed amount of the product packed in pieces"},"totalCount":{"type":"integer"},"location":{"type":"array","description":"The location of the product","items":{"$ref":"#/components/schemas/Location"}},"packingGroup":{"type":"string"},"packaging":{"type":"string"},"cutting":{"type":"string"},"customerComment":{"type":"string"},"barcodes":{"type":"array","items":{"type":"string"}},"weightDependent":{"type":"boolean"},"basePrice":{"$ref":"#/components/schemas/BasePrice"},"mhd":{"type":"string"}}},"PricingMeasure":{"title":"PricingMeasure","type":"object","properties":{"unitCode":{"type":"string"},"value":{"type":"string"}}},"Location":{"title":"Location","type":"object","properties":{"zone":{"type":"string"},"rack":{"type":"string"},"rackName":{"type":"string"},"shelf":{"type":"string"},"section":{"type":"string"},"bin":{"type":"string"}}},"BasePrice":{"title":"BasePrice","type":"object","properties":{"effectiveAmount":{"type":"string"},"originalAmount":{"type":"string"},"priceFactor":{"type":"string"},"basePriceFactor":{"type":"string"},"measurementUnit":{"$ref":"#/components/schemas/MeasurementUnit"}}},"MeasurementUnit":{"title":"MeasurementUnit","type":"object","properties":{"unitCode":{"type":"string","description":"The unit code of the measured quantity"},"quantity":{"type":"number","format":"double","description":"The measured amount"}}}}}}
```

## The Customer object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"Customer":{"title":"Customer","type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"name":{"type":"string"},"companyName":{"type":"string"},"email":{"type":"string"},"phoneNumber":{"type":"string"}}}}}}
```

## The Delivery object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"Delivery":{"title":"Delivery","type":"object","properties":{"deliveryTimeModel":{"$ref":"#/components/schemas/DeliveryTime"},"deliveryAddressModel":{"$ref":"#/components/schemas/DeliveryAddress"},"deliveryCostModel":{"$ref":"#/components/schemas/DeliveryCost"},"deliveryOptionModel":{"$ref":"#/components/schemas/DeliveryOption"},"deliveryWindow":{"$ref":"#/components/schemas/DeliveryWindow"}},"description":""},"DeliveryTime":{"title":"DeliveryTime","type":"object","properties":{"deliveryDate":{"type":"string","format":"date"},"deliveryTimeFrom":{"type":"string","format":"time"},"deliveryTimeTo":{"type":"string","format":"time"},"deliveryChargeType":{"type":"string"}}},"DeliveryAddress":{"title":"DeliveryAddress","type":"object","properties":{"title":{"type":"string"},"contactName":{"type":"string"},"companyName":{"type":"string"},"street":{"type":"string"},"streetNumber":{"type":"string"},"streetAppendix":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"}}},"DeliveryCost":{"title":"DeliveryCost","type":"object","properties":{"amount":{"type":"number","format":"double"},"currency":{"type":"string"}}},"DeliveryOption":{"title":"DeliveryOption","type":"object","properties":{"packaging":{"type":"string"},"replacement":{"type":"boolean"},"pickup":{"type":"boolean"},"deliveryNote":{"type":"string"}},"description":""},"DeliveryWindow":{"title":"DeliveryWindow","type":"object","description":"This object contains attributes that are related to selected delivery window for a given order and allows to group orders by delivery cycle and sort by delivery time for a better and more efficient packing experience","properties":{"deliveryCycle":{"type":"string","description":"The selected delivery cycle for the current order for the given date"},"deliveryCycleName":{"type":"string","description":"The selected delivery cycle name"},"deliveryTimeTo":{"type":"string","format":"date-time","description":"The delivery time until the order should be delivered"}}}}}}
```

## The Payment object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"Payment":{"title":"Payment","type":"object","properties":{"invoiceNumber":{"type":"string"},"invoiceAddress":{"$ref":"#/components/schemas/InvoiceAddress"},"methods":{"type":"array","items":{"type":"string"}}}},"InvoiceAddress":{"title":"InvoiceAddress","type":"object","properties":{"title":{"type":"string"},"contactName":{"type":"string"},"companyName":{"type":"string"},"street":{"type":"string"},"streetNumber":{"type":"string"},"streetAppendix":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"}}}}}}
```

## The PricingMeasure object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"PricingMeasure":{"title":"PricingMeasure","type":"object","properties":{"unitCode":{"type":"string"},"value":{"type":"string"}}}}}}
```

## The Location object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"Location":{"title":"Location","type":"object","properties":{"zone":{"type":"string"},"rack":{"type":"string"},"rackName":{"type":"string"},"shelf":{"type":"string"},"section":{"type":"string"},"bin":{"type":"string"}}}}}}
```

## The BasePrice object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"BasePrice":{"title":"BasePrice","type":"object","properties":{"effectiveAmount":{"type":"string"},"originalAmount":{"type":"string"},"priceFactor":{"type":"string"},"basePriceFactor":{"type":"string"},"measurementUnit":{"$ref":"#/components/schemas/MeasurementUnit"}}},"MeasurementUnit":{"title":"MeasurementUnit","type":"object","properties":{"unitCode":{"type":"string","description":"The unit code of the measured quantity"},"quantity":{"type":"number","format":"double","description":"The measured amount"}}}}}}
```

## The DeliveryTime object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"DeliveryTime":{"title":"DeliveryTime","type":"object","properties":{"deliveryDate":{"type":"string","format":"date"},"deliveryTimeFrom":{"type":"string","format":"time"},"deliveryTimeTo":{"type":"string","format":"time"},"deliveryChargeType":{"type":"string"}}}}}}
```

## The DeliveryAddress object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"DeliveryAddress":{"title":"DeliveryAddress","type":"object","properties":{"title":{"type":"string"},"contactName":{"type":"string"},"companyName":{"type":"string"},"street":{"type":"string"},"streetNumber":{"type":"string"},"streetAppendix":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"}}}}}}
```

## The DeliveryCost object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"DeliveryCost":{"title":"DeliveryCost","type":"object","properties":{"amount":{"type":"number","format":"double"},"currency":{"type":"string"}}}}}}
```

## The DeliveryOption object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"DeliveryOption":{"title":"DeliveryOption","type":"object","properties":{"packaging":{"type":"string"},"replacement":{"type":"boolean"},"pickup":{"type":"boolean"},"deliveryNote":{"type":"string"}},"description":""}}}}
```

## The DeliveryWindow object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"DeliveryWindow":{"title":"DeliveryWindow","type":"object","description":"This object contains attributes that are related to selected delivery window for a given order and allows to group orders by delivery cycle and sort by delivery time for a better and more efficient packing experience","properties":{"deliveryCycle":{"type":"string","description":"The selected delivery cycle for the current order for the given date"},"deliveryCycleName":{"type":"string","description":"The selected delivery cycle name"},"deliveryTimeTo":{"type":"string","format":"date-time","description":"The delivery time until the order should be delivered"}}}}}}
```

## The InvoiceAddress object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"InvoiceAddress":{"title":"InvoiceAddress","type":"object","properties":{"title":{"type":"string"},"contactName":{"type":"string"},"companyName":{"type":"string"},"street":{"type":"string"},"streetNumber":{"type":"string"},"streetAppendix":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"}}}}}}
```

## The RecalculationJobOrder object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"RecalculationJobOrder":{"title":"RecalculationJobOrder","type":"object","properties":{"orderId":{"type":"string"},"message":{"type":"string"},"jobOrderStatus":{"type":"string","enum":["SUCCESS","FAILURE","PENDING"]}},"description":""}}}}
```

## The RecalculationJob object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"RecalculationJob":{"title":"RecalculationJob","type":"object","properties":{"id":{"type":"string"},"jobType":{"type":"string","enum":["AUTOMATIC","MANUAL"]},"orders":{"type":"array","items":{"$ref":"#/components/schemas/RecalculationJobOrder"}},"jobStatus":{"type":"string","enum":["SUCCESS","FAILURE","IN_PROGRESS"]},"startedAt":{"type":"string","format":"date-time"},"finishedAt":{"type":"string","format":"date-time"}}},"RecalculationJobOrder":{"title":"RecalculationJobOrder","type":"object","properties":{"orderId":{"type":"string"},"message":{"type":"string"},"jobOrderStatus":{"type":"string","enum":["SUCCESS","FAILURE","PENDING"]}},"description":""}}}}
```

## The RecalculationJobCreation object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"RecalculationJobCreation":{"title":"RecalculationJobCreation","type":"object","properties":{"orderIds":{"type":"array","description":"The order identifiers requiring recalculation. This attribute is optional. In case the job type is `AUTOMATIC` the orders for recalculation will be selected automatically based on last packing events.","items":{"type":"string"}},"jobType":{"type":"string","enum":["AUTOMATIC","MANUAL"],"description":"The recalculation job types. Possible values:\n- `MANUAL` - recalculates all orders provided in the `orderIds` attribute\n- `AUTOMATIC` - finds orders that need recalculation and triggers recalculation for them"}},"required":["jobType"]}}}}
```

## The errorMessage object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"errorMessage":{"title":"errorMessage","type":"object","properties":{"code":{"minimum":100,"maximum":599,"description":"original HTTP error code, should be consistent with the response HTTP code","type":"integer"},"message":{"pattern":"[a-z]+[a-z_]*[a-z]+","description":"classification of the error type, lower case with underscore eg validation_failure","type":"string"},"detailInfo":{"description":"More detailed information about the error","type":"string"}}}}}}
```

## The MeasurementUnit object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"MeasurementUnit":{"title":"MeasurementUnit","type":"object","properties":{"unitCode":{"type":"string","description":"The unit code of the measured quantity"},"quantity":{"type":"number","format":"double","description":"The measured amount"}}}}}}
```

## The OrderList object

```json
{"openapi":"3.0.0","info":{"title":"Pick-Pack Service","version":"0.0.1"},"components":{"schemas":{"OrderList":{"title":"OrderList","type":"object","properties":{"orderId":{"type":"string","description":"The id of the order"},"customerName":{"type":"string","description":"The name of the customer"},"packingStatus":{"description":"The current status of the order","type":"string","enum":["INITIAL","IN_PROGRESS","PRE_PACKED","PACKED","CANCELLED"]},"productsTotal":{"type":"integer"},"productsPacked":{"type":"integer"},"productsCanceled":{"type":"integer"},"assignees":{"type":"array","items":{"$ref":"#/components/schemas/Assignee"}},"packagingProducts":{"type":"array","items":{"$ref":"#/components/schemas/Entry"}},"entries":{"type":"array","items":{"$ref":"#/components/schemas/Entry"}},"holdingAreaNumber":{"description":"The serial number of the location where the packed order awaits transportation","type":"integer"},"deliveryWindow":{"$ref":"#/components/schemas/DeliveryWindow"}},"description":""},"Assignee":{"title":"Assignee","type":"object","properties":{"id":{"type":"string","description":"Identifier of an assignment"},"siteCode":{"type":"string","description":"Code of a site"},"firstName":{"type":"string","description":"First name of assignee"},"lastName":{"type":"string","description":"Last name of assignee"}},"required":["id","siteCode","firstName","lastName"]},"Entry":{"title":"Entry","type":"object","properties":{"entryId":{"type":"string","description":"The entry id"},"productName":{"type":"string","description":"The product name"},"productId":{"type":"string","description":"The id of the product"},"unitPrice":{"type":"number","format":"double","description":"The unit price of the product"},"totalPrice":{"type":"number","format":"double","description":"The overall price, which is the sum of the quantities of packed products."},"imageUrl":{"type":"string","description":"The link to product image"},"unitPricingMeasure":{"$ref":"#/components/schemas/PricingMeasure"},"pricingMeasure":{"$ref":"#/components/schemas/PricingMeasure"},"pricingMeasurePrice":{"type":"number","format":"double"},"orderUnit":{"type":"string"},"packedCount":{"type":"integer","description":"The currently packed count of the product"},"canceledCount":{"type":"integer","description":"The currently canceled count of the product"},"pickedCount":{"type":"integer","description":"The currently picked count of the product"},"packedAmountInPc":{"type":"integer","description":"The currently packed amount of the product packed in pieces"},"totalCount":{"type":"integer"},"location":{"type":"array","description":"The location of the product","items":{"$ref":"#/components/schemas/Location"}},"packingGroup":{"type":"string"},"packaging":{"type":"string"},"cutting":{"type":"string"},"customerComment":{"type":"string"},"barcodes":{"type":"array","items":{"type":"string"}},"weightDependent":{"type":"boolean"},"basePrice":{"$ref":"#/components/schemas/BasePrice"},"mhd":{"type":"string"}}},"PricingMeasure":{"title":"PricingMeasure","type":"object","properties":{"unitCode":{"type":"string"},"value":{"type":"string"}}},"Location":{"title":"Location","type":"object","properties":{"zone":{"type":"string"},"rack":{"type":"string"},"rackName":{"type":"string"},"shelf":{"type":"string"},"section":{"type":"string"},"bin":{"type":"string"}}},"BasePrice":{"title":"BasePrice","type":"object","properties":{"effectiveAmount":{"type":"string"},"originalAmount":{"type":"string"},"priceFactor":{"type":"string"},"basePriceFactor":{"type":"string"},"measurementUnit":{"$ref":"#/components/schemas/MeasurementUnit"}}},"MeasurementUnit":{"title":"MeasurementUnit","type":"object","properties":{"unitCode":{"type":"string","description":"The unit code of the measured quantity"},"quantity":{"type":"number","format":"double","description":"The measured amount"}}},"DeliveryWindow":{"title":"DeliveryWindow","type":"object","description":"This object contains attributes that are related to selected delivery window for a given order and allows to group orders by delivery cycle and sort by delivery time for a better and more efficient packing experience","properties":{"deliveryCycle":{"type":"string","description":"The selected delivery cycle for the current order for the given date"},"deliveryCycleName":{"type":"string","description":"The selected delivery cycle name"},"deliveryTimeTo":{"type":"string","format":"date-time","description":"The delivery time until the order should be delivered"}}}}}}
```
