Menu
Get Stock Transactions
Get Stock Transactions for Product
GET
/inventories/{product_uuid}/transactionsUse it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Get Stock Transactions action (under Inventory (Legacy)).
- Fill in the fields below, then reference the result from later steps as
{{getStockTransactions.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getStockTransactions.response.data.<field>}}.
{
"meta": null,
"data": [
{
"type": "stock-transaction",
"id": "f976dace-450f-4a5d-8877-d119c5a550a1",
"action": "allocate",
"product_id": "86b84d3e-0a86-43d6-a347-78ba4adacca2",
"quantity": 5,
"timestamps": {
"updated_at": "2017-01-10T11:41:19.244842Z",
"created_at": "2017-01-10T11:41:19.244842Z"
}
}
]
}
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?