Actions14
Adjust Inventory
AI-generatedSummary
Adjust product inventory levels in a specified Miva store by processing input items containing product identifiers and corresponding adjustment values.
Inputs
- Store Code (required) — The Miva store code identifier to identify which store's inventory to adjust.
- Product Identifier Type (required) — Defines the type of product identifier used in the input data field. Options are Product ID, Product Code, and Product SKU.
- Product Identifier Field (required) — Specifies which field in the input item data contains the product identifier value.
- Adjustment Field (required) — Specifies which field in the input item data contains the inventory adjustment amount, representing how much to increase or decrease the inventory for the product.
Output shape
a single response object summarizing the adjustment result
The output includes a success status, a message indicating how many products had their inventory successfully adjusted, counts of processed and skipped items, and the store code used. If no valid adjustments are found, the output indicates no adjustments were made and details the processed item count. Errors are returned per the node's error handling configuration.
Examples
Example 1: Adjust inventory for multiple products
Provide the Miva store code, select the product identifier type (e.g., Product Code), specify the data field containing product identifiers, and specify the data field containing adjustment values. The node reads items input with these fields, applies the specified inventory adjustments for each product in the store, and returns a summary of the operation outcome.