adjust_inventory
Update inventory levels for specific products in ShipBob fulfillment centers by adjusting quantities with a given reason, ensuring accurate stock management.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fulfillmentCenterId | Yes | The ID of the fulfillment center | |
productId | Yes | The ID of the product to adjust | |
quantity | Yes | Quantity to adjust (positive for addition, negative for reduction) | |
reason | Yes | Reason for the adjustment |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"fulfillmentCenterId": {
"description": "The ID of the fulfillment center",
"type": "string"
},
"productId": {
"description": "The ID of the product to adjust",
"type": "string"
},
"quantity": {
"description": "Quantity to adjust (positive for addition, negative for reduction)",
"type": "number"
},
"reason": {
"description": "Reason for the adjustment",
"type": "string"
}
},
"required": [
"productId",
"fulfillmentCenterId",
"quantity",
"reason"
],
"type": "object"
}