This page was automatically generated from tracezilla’s Swagger API documentation 2026-07-17
POST /lots/{lotId}/transform
Transform lot as of a specific date
Parameters (path)
| Name | Required | Description | Values |
|---|---|---|---|
| lotId | required | Target lot. |
Request body
Description
Data to store.
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
{
"properties": {
"adjustment_date": {
"format": "date",
"example": "2021-01-01"
},
"transformation": {
"description": "Transformation to perform.",
"type": "string",
"format": "string",
"enum": [
"status_change",
"batch_change",
"cost_change"
],
"example": "batch_change"
},
"new_status": {
"description": "New status in case *transformation* is *status_change*.",
"type": "string",
"format": "string",
"enum": [
"recalled",
"quarantined",
"minor_defect"
],
"example": "minor_defect"
},
"new_cost_price": {
"description": "New cost price in case *transformation* is *cost_change*.",
"type": "double",
"format": "double",
"example": 3.44
},
"new_batch_number": {
"description": "New batch number in case *transformation* is *batch_change*.",
"type": "string",
"format": "string",
"example": "ABC123"
},
"line_text": {
"description": "Text to be put on the transformation line.",
"type": "string",
"format": "string",
"example": "quarantined"
},
"quantity": {
"description": "Quantity to adjust the physical on hand quantity. Negative quantity will decrease inventory.",
"format": "int32",
"example": 100
}
},
"type": "object"
}
Responses
201
Successful operation. The transformed lot that was created/updated.
403
Unauthorized request
406
not acceptable
500
Internal server error