Delete Lot Exclusion

View as Markdown

Soft-deletes a lot exclusion for a specific inventory item. The exclusion can be restored later using the restore endpoint.

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 of the exclusion to delete
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 soft-deleted

deleted_timestampdatetime or null
Timestamp when the lot exclusion was deleted
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 lot
lot_numberstring
The lot number of the deleted exclusion

Errors

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