This page was automatically generated from tracezilla’s Swagger API documentation 2026-01-26
GET /orders/{orderType}/{orderId}/inbound/lots/{orderLotId}
Get order lot
Description
Returns order lot line
Parameters (path)
| Name | Required | Description | Values |
|---|---|---|---|
| orderType | required | Type of order: purchase, production, warehouse, sales. | purchase, production, warehouse, return |
| orderId | required | Target order. | |
| orderLotId | required | Target order lot line. |
Responses
200
successful operation
406
not acceptable
500
internal server error
PUT /orders/{orderType}/{orderId}/inbound/lots/{orderLotId}
Update existing order lot line
Parameters (path)
| Name | Required | Description | Values |
|---|---|---|---|
| orderType | required | Type of order: purchase, production, warehouse, return. | purchase, production, warehouse, return |
| orderId | required | Target order. | |
| orderLotId | required | Target order lot line. |
Request body
Description
Target order.
Required
This parameter is required.
Request body JSON schema
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
[
{
"properties": {
"id": {
"description": "Id of the record",
"type": "string",
"format": "uuid",
"readOnly": true,
"example": "be3233c4-c0a2-4f47-a62a-303492c20ba6"
},
"free_units": {
"description": "The quantity of free units",
"type": "integer",
"format": "int32",
"example": 1234
},
"line_text": {
"description": "Line text to be displayed on documents",
"type": "string",
"format": "string",
"example": "A string"
},
"locked": {
"description": "If this lot line is locked and therefore cannot be deleted",
"type": "boolean",
"format": "boolean",
"readOnly": true,
"example": true
},
"lot_id": {
"description": "No description is available",
"type": "string",
"format": "uuid",
"readOnly": true,
"example": "be3233c4-c0a2-4f47-a62a-303492c20ba6"
},
"no_successor": {
"description": "Not used on inbound lines",
"type": "boolean",
"format": "boolean",
"readOnly": true,
"example": true
},
"partner_location_id": {
"description": "Reference to the partner location model where the movement takes place",
"type": "string",
"format": "uuid",
"readOnly": true,
"example": "be3233c4-c0a2-4f47-a62a-303492c20ba6"
},
"price_per": {
"description": "The price unit\n- *lot_unit* - *unit_price* is set per one unit of the *quantity*-attribute\n- *stock_unit* - *unit_price* is set per one UoM (*quantity* x *uom_conversion*)\n- *parcel_unit* - *unit_price* is set per one unit of the *quantity_parcel*-attribute\n- *custom_unit* - *unit_price* is set to a defined number of UoMs set in the *uoms_per_price_unit*-attribute",
"type": "string",
"format": "string",
"enum": [
"lot_unit",
"stock_unit",
"custom_unit",
"parcel_unit"
],
"example": "lot_unit"
},
"quantity": {
"description": "Total quantity of lot units",
"type": "integer",
"format": "int32",
"example": 1234
},
"quantity_delivered": {
"description": "Total quantity delivered of lot units",
"type": "integer",
"format": "int32",
"readOnly": true,
"example": 1234
},
"quantity_dispatched": {
"description": "Total quantity dispatched",
"type": "integer",
"format": "int32",
"readOnly": true,
"example": 1234
},
"quantity_invoiced": {
"description": "Total quantity invoiced (only relevant for return orders)",
"type": "integer",
"format": "int32",
"readOnly": true,
"example": 1234
},
"quantity_parcels": {
"description": "Total quantity of parcels",
"type": "integer",
"format": "int32",
"example": 1234
},
"quantity_floor": {
"description": "Total quantity picked of lot units",
"type": "integer",
"format": "int32",
"readOnly": true,
"example": 1234
},
"section": {
"description": "The section is always inbound for inbound orders",
"type": "string",
"format": "string",
"readOnly": true,
"example": "inbound"
},
"sku_id": {
"description": "The id of the Sku to be used for this order lot line",
"type": "string",
"format": "uuid",
"example": "be3233c4-c0a2-4f47-a62a-303492c20ba6"
},
"stock_movement_date": {
"description": "Stock movement date will be the availability date of the order",
"type": "string",
"format": "date",
"readOnly": true,
"example": "2019-01-01"
},
"traceable": {
"description": "If this order lot line is traceable. This can only be *true* if the SKU is traceable",
"type": "boolean",
"format": "boolean",
"example": true
},
"unit": {
"description": "Unit of the ordered quantity. Taken from the Sku.",
"type": "string",
"format": "string",
"readOnly": true,
"example": "g"
},
"unit_price": {
"description": "The price per one price unit.",
"type": "number",
"format": "double",
"example": 1234.123
},
"uom_conversion": {
"description": "The number of lot units per 1 Unit of Measure",
"type": "number",
"format": "double",
"readOnly": true,
"example": 1234.123
},
"uoms_per_price_unit": {
"description": "The number of unit of measures per one price unit. \nCan only be set if the *per_unit*-attribute is set to *custom_unit*",
"type": "number",
"format": "double",
"example": 1234.123
},
"created_at": {
"description": "The time when the record was created in UTC date & time (Iso8601 ZuluString)",
"type": "string",
"format": "date-time",
"readOnly": true,
"example": "2019-01-01T13:25:32.312Z"
},
"updated_at": {
"description": "The time when the record was last updated in UTC date & time (Iso8601 ZuluString)",
"type": "string",
"format": "date-time",
"readOnly": true,
"example": "2020-01-01T13:25:32.312Z"
}
}
},
{
"$ref": "#/components/schemas/OrderLot"
}
]
Responses
403
Unauthorized request
406
not acceptable
422
Has validation errors
500
Internal server error
DELETE /orders/{orderType}/{orderId}/inbound/lots/{orderLotId}
Delete inbound order lot line. If order lot is locked it will set the quantity to zero.
Description
Remove the specified resource from storage.
Parameters (path)
| Name | Required | Description | Values |
|---|---|---|---|
| orderType | required | Type of order: purchase, production, warehouse, sales. | purchase, production, warehouse, return |
| orderId | required | Target order. | |
| orderLotId | required | Target order lot line. |
Responses
403
Unauthorized request
406
not acceptable
500
Internal server error