action walmart_update_inventory_for_an_item { label: "Update inventory" description: "Updates the inventory for a given item." provider: walmart method: PUT path: "/v3/inventory" encoding: json input: { type: "object" properties: { "WM_CONSUMER.CHANNEL.TYPE": { type: "string" } "WM_QOS.CORRELATION_ID": { type: "string" } "WM_SEC.ACCESS_TOKEN": { type: "string" } "WM_SVC.NAME": { type: "string" } quantity: { type: "object" description: "Quantity that has been ordered by the customers but not yet shipped" required: ["amount", "unit"] properties: { amount: { type: "number" description: "Inventory Count" } unit: { type: "string" description: "The unit of measurement. Example: 'EACH'" enum: ["EACH"] } } } shipNode: { type: "string" } sku: { type: "string" } } required: ["WM_QOS.CORRELATION_ID", "WM_SEC.ACCESS_TOKEN", "WM_SVC.NAME", "quantity", "sku"] additionalProperties: false } output: { type: "object" required: ["quantity", "sku"] properties: { quantity: { type: "object" description: "Quantity that has been ordered by the customers but not yet shipped" required: ["amount", "unit"] properties: { amount: { type: "number" description: "Inventory Count" } unit: { type: "string" description: "The unit of measurement. Example: 'EACH'" enum: ["EACH"] } } } sku: { type: "string" description: "A seller-provided Product ID. Response will have decoded value." } } } }