Events

Manage pick-pack events

Retrieving all events

get

Retrieves all events after a specified timestamp.

Required scopes
This endpoint requires the following scopes:
  • : Needed to retrieve information about resources in the service.
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
tenantstring · min: 3 · max: 16Required

Your Emporix tenant name.

Note: The tenant name should always be written in lowercase.

Pattern: ^[a-z][a-z0-9]+$
Query parameters
timestampstring · min: 3 · max: 16Optional

Date after which we want to filter the events.

Pattern: yyyy-MM-dd'T'HH:mm:ssZ
pageNumberintegerOptional

Number of the page.

pageSizeinteger · max: 20000Optional

Size of the page.

Responses
200

Order entry event

application/json
get
/pick-pack/{tenant}/events

Creating a new packing event

post

Creates a new packing event.

Note: If the order has the packingStatus set to CANCELLED, it is not possible to create any new packing events for that order.

Required scopes
This endpoint requires the following scopes:
  • : Needed to manage resources in the service.
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
tenantstring · min: 3 · max: 16Required

Your Emporix tenant name.

Note: The tenant name should always be written in lowercase.

Pattern: ^[a-z][a-z0-9]+$
Header parameters
saas-tokenstringRequired

Token provided by the Emporix system, used to identify logged in customers. This token has an expiry date and is signed with a passphrase.

Body
eventIdstringRequired

The event id generated by the client

Example: 123
orderNumberstringRequired

The order number for which the packing event is created

Example: 123
productIdstringRequired

The product id for which the packing event is created

Example: 123
deliveryCyclestringOptional

The delivery cycle for which the packing event is created

Example: 2023-10-13-11-test
pickedAmountintegerOptional

The amount of picked items

Example: 1
packedAmountintegerOptional

The amount of packed items

Example: 1
canceledAmountintegerOptional

The amount of cancelled items

Example: 0
supplierIdstringOptional

The supplier id

Example: 123
unitstringRequired

The unit of the packed item

Example: H87
timestampstring · date-timeRequired

Timestamp of the packing event in ISO format

Example: 2020-09-14T13:35:18.333Z
sitestringRequired

The site code for which the event is created

Example: main
bookProductbooleanOptionalExample: true
Responses
200

Event creation response

application/json
post
/pick-pack/{tenant}/events

Last updated

Was this helpful?