Inventory

1
Last updated last month

The Moltin Inventory API allows you to manage stock for products in your project catalog. Each product keeps a history of inventory transactions, enabling easier stock auditing.

This feature is currently in BETA and you should expect it to change.

You can specify an initial stock level when you create a product. Otherwise set to0by default, if not specified.

There are a number of actions that happen to your inventory when checking out and paying for an order. For more information please be sure to evaluate our detailed article explaining the processes.

The Stock object

Attributes
Sample Object

Attribute

Type

Description

id

string

The unique identifier for the stock

type

string

The type represents the object being returned

total

integer

The total amount of stock we have

available

integer

The amount of stock available for purchase

allocated

integer

The amount of paid for stock, also known as "reserved"

{
"data": {
"id": "15fbeab0-75a3-4d6b-b23b-9db7455c077e",
"type": "stock",
"total": 100,
"available": 90,
"allocated": 10
}
}