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

This endpoint expects an object.
lot_numberstringRequired
The lot number to exclude from fulfillment
inventory_idinteger or nullOptional
Unique identifier of the inventory item, either this or sku must be provided
lot_datedatetime or nullOptional
The date associated with the lot
skustring or nullOptional

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

Response

Lot exclusion successfully created
created_timestampdatetime
Timestamp when the lot exclusion was created
deleted_timestampdatetime or null
Timestamp when the lot exclusion was deleted, null if active
idinteger
Unique identifier of the created lot exclusion
inventory_idinteger
Unique identifier of the inventory item
is_deletedboolean

Whether the lot exclusion has been soft-deleted

lot_datedatetime or null
The date associated with the excluded lot
lot_numberstring
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