Menu
Get inventory/stocks/{stockId}
Get inventory/stocks/{stockId}
GET
/V1/inventory/stocks/{stockId}Use it in a workflow
- Add a step and choose the Adobe Commerce connector.
- Pick the Get inventory/stocks/{stockId} action (under Inventory).
- Fill in the fields below, then reference the result from later steps as
{{getInventoryStocksStockid.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getInventoryStocksStockid.response.data.<field>}}.
{
"stock_id": 0,
"name": "string",
"extension_attributes": {
"sales_channels": [
{
"type": "string",
"code": "string",
"extension_attributes": {}
}
]
}
}
Need more? See the Adobe Commerce guide for connection setup and behaviour shared by every action.
Was this page helpful?