Assignees
Was this helpful?
Was this helpful?
Manage pick-pack assignees
Your Emporix tenant's name.
Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$
Order's unique identifier.
assignee which will be removed from order
[a-zA-Z0-9_-]+
DELETE /pick-pack/{tenant}/orders/{orderId}/assignees/{assigneeId} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
Your Emporix tenant's name.
Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$
Order's unique identifier.
If set to true, the new assignee will replace the old one. If set to false, a bad request will be returned if the order already has an assignee.
true
Identifier of an assignment
123
Code of a site
main
First name of assignee
John
Last name of assignee
Smith
POST /pick-pack/{tenant}/orders/{orderId}/assignees HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 68
{
"id": "123",
"firstName": "John",
"lastName": "Smith",
"siteCode": "main"
}
{
"message": "Success",
"code": 200
}