Create Lot Exclusion

View as Markdown
Creates a new lot exclusion for a specific inventory item. Excludes a lot number from being fulfilled for the given inventory.

Authentication

AuthorizationBearer

Authentication using Personal Access Token (PAT) token

OR
AuthorizationBearer
OAuth2 authentication using JWT tokens

Request

lot_numberstringRequired
The lot number to exclude from fulfillment
inventory_idintegerOptional
Unique identifier of the inventory item, either this or sku must be provided
lot_datedatetimeOptional
The date associated with the lot
skustringOptional

SKU of the inventory item, either this or inventory_id must be provided

Response

Lot exclusion successfully created
created_timestampdatetimeOptional
Timestamp when the lot exclusion was created
deleted_timestampdatetimeOptional
Timestamp when the lot exclusion was deleted, null if active
idintegerOptional
Unique identifier of the created lot exclusion
inventory_idintegerOptional
Unique identifier of the inventory item
is_deletedbooleanOptional

Whether the lot exclusion has been soft-deleted

lot_datedatetimeOptional
The date associated with the excluded lot
lot_numberstringOptional
The lot number excluded from fulfillment

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error
503
Service Unavailable Error