Stock Transactions
Each product has its own Inventory and stock history. This is useful when auditing product movements across your project. Below is the Stock Transaction object, request and response examples for getting all stock transactions by Product ID.
The Stock Transaction Object
Attribute | Type | Description |
|
| The unique identifier for the stock transaction |
|
| The type represents the object being returned |
|
| The type of action performed by this transaction |
|
| The product identifier that this stock transaction is for |
|
| The amount of stock affected by the stock transaction |
Get All Product Stock Transactions
GET
https://api.moltin.com/v2/inventories/:productId/transactions
Path Parameters
Name | Type | Description |
---|---|---|
productId | string | The ID for the product you're performing this action on |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | The Bearer token to grant access to the API |
Last updated