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