Batch Number
The Batch Number PATCH API allows you to update the lock code/expiry date for an existing lot.
URL
PATCH .../wms/lgfapi/v10/entity/batch_number/(id).
Here is an example of a PATCH update request:
{
"fields": {
"expiry_date": "EXPIRY_DATE_VALUE",
"lock_id": "LOCK_ID_VALUE"
}
}
NOTE: If you would like to nullify a lock id for a specific batch, you can send a request with lock_id as " " (empty). You will not be able to nullify the expiry date for a particular item that is expiry-tracked.
Field | Type |
---|---|
lock_id | Integer |
expiry_date | Date |