Adjust warehouse product item attributes and quantity
Path Parameters
- Type: stringFormat: uuidwarehouse
Product Item Id required
Body·
application/json
- Type: array object[] ·attributes
The product attributes to apply to the inventory product. Optional.
- Type: string | nullbatch
The batch to apply to the inventory product.
- Type: string | nullFormat: datebest
Before Date The best before date to apply to the inventory product.
- Type: string | nullFormat: dateexpiry
Date The expiry date to apply to the inventory product.
- Type: string | nullFormat: datepackaging
Date The packaging date to apply to the inventory product.
- Type: string | nullparticulars
The particulars of the adjustment.
- Type: string | nullFormat: dateproduction
Date The production date to apply to the inventory product.
- Type: numberFormat: doublequantity
To Adjust The quantity to move to the new attributes.
- Type: string | nullFormat: datesell
By Date The sell by date to apply to the inventory product.
Responses
- 200
OK
Request Example for post/v1/inventory-items/{warehouseProductItemId}/adjust-attributes
curl https://api.consignlyhq.com/v1/inventory-items/123e4567-e89b-12d3-a456-426614174000/adjust-attributes \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"batch": null,
"bestBeforeDate": "date (YYYY-MM-DD)",
"expiryDate": "date (YYYY-MM-DD)",
"packagingDate": "date (YYYY-MM-DD)",
"productionDate": "date (YYYY-MM-DD)",
"sellByDate": "date (YYYY-MM-DD)",
"attributes": [
{
"productAttributeId": "",
"description": null
}
],
"quantityToAdjust": 1,
"particulars": null
}'
No Body