Recalculations
Manage pick-pack recalculations
Triggers order recalculation for a specified order list.
- : Needed to manage resources in the service.
Your Emporix tenant 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.
123The recalculation job types. Possible values:
MANUAL- recalculates all orders provided in theorderIdsattributeAUTOMATIC- finds orders that need recalculation and triggers recalculation for them
MANUALPossible 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"
}Retrieves a specified job.
- : Needed to retrieve information about resources in the service.
Your Emporix tenant 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"
}Last updated
Was this helpful?

