action walmart_get_inventory { label: "Inventory" description: "You can use this API to get the inventory for a given item." provider: walmart method: GET 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" } shipNode: { type: "string" } sku: { type: "string" } } required: ["WM_QOS.CORRELATION_ID", "WM_SEC.ACCESS_TOKEN", "WM_SVC.NAME", "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." } } } }