Recalculations
Manage pick-pack recalculations
Your Emporix tenant's name.
Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$
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.
123
The recalculation job types. Possible values:
MANUAL
- it will recalculate all orders provided in the orderIds attributeAUTOMATIC
- it will find orders that need recalculation and trigger recalculation for them
MANUAL
Possible values: Job creation response
Request was syntactically incorrect. Details will be provided in the response payload.
Given request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
Conflict
Internal Service Error occurred.
POST /pick-pack/{tenant}/jobs/recalculations HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 99
{
"jobType": "MANUAL",
"orderIds": [
"03DV9N3R",
"5XS34VOB",
"JGPZWWLA",
"JGPZWWLA",
"09FFWHA2",
"1B70WHY7"
]
}
{
"jobId": "text"
}
Your Emporix tenant's name.
Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$
jobId of requested order recalculation job
[a-zA-Z0-9_-]+
Recalculation job response
Given request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
Resource has not been found.
Internal Service Error occurred.
GET /pick-pack/{tenant}/jobs/recalculations/{jobId} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "123",
"jobType": "MANUAL",
"orders": [
{
"orderId": "123",
"message": "Order recalculated successfully",
"jobOrderStatus": "SUCCESS"
}
],
"jobStatus": "SUCCESS",
"startedAt": "2021-03-04T13:45:00.883Z",
"finishedAt": "2021-03-04T13:45:00.883Z"
}
Was this helpful?