Skip to main content
POST
Release a lot from hold

Authorizations

Authorization
string
header
required

Token returned by POST /auth/token, sent as Authorization: Bearer <token>.

Path Parameters

store_id
integer
required

Store the lot belongs to.

Body

application/json

Body of POST /lots/hold/store/{store_id} and POST /lots/unhold/store/{store_id}.

material_code
string
required

Product SKU (material code). Combined with lot_code as <material_code>-<lot_code> to find the lot.

Example:

"SKU-RED-M"

lot_code
string
required

Lot code.

Example:

"L2026-04"

Response

Release requested.

Acknowledgement of a hold or release request.

unique_code
string
required

The lot's unique code within the store.

Example:

"SKU-RED-M-L2026-04"

status
enum<string>
required

Lot status at the moment of the request, in lowercase. The hold or release is applied right after.

Available options:
active,
holded,
damaged,
expired
Example:

"active"