Update Inventory
Action types
Type | Description |
| You'll use this when you receive stock from a supplier, making products available for purchase |
| You'll use this when you want to remove stock from product inventory |
| You'll use this when you want to allocate stock, normally to a reseller who will sell on the stock |
| You'll use this when you want to deallocate any previously allocated stock |
Create a Stock Transaction for a Product
POST
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 |
Request Body
Name | Type | Description |
---|---|---|
quantity | integer | The amount of stock affected by this transaction |
action | string |
|
type | string | Always |
Last updated