Inventory endpoints
Verb | Path | Method |
---|---|---|
POST | /api/v1/inventory/schema/create_schema | Create inventory schema |
POST | /api/v1/inventory/bulk_create_or_update | Bulk update inventory entries |
With our API, you can easily create or update entries in your stock table. This table keeps track of all your inventory. Before that you need to define inventory schema.
attributes_config type: list[string], Required
is_dated type: boolean, default: false,Optional
Allow to defined the granularity of inventory data. It corresponds to a subset of the product catalog fields (code, product_attribute_1, product_attribute_X, extension_name_1, extension_name_Y.....). ⚠️ Note that if the product code is specified, then it is not necessary to add any product attributes (product_attribute_1, product_attribute_X, …).
Allow to specify if inventory data is defined at the date granularity (for Price List display)
Upon success, the response is 201 and returns
With our API, you can easily create or update entries in your stock table. This table keeps track of all your inventory.
code, product_attribute_1, product_attribute_2, product_attribute_X, extension_name_1,extension_name_2, extension_name_Y. type: string, Optional|Required
total type: float, Required
booked type: float, default: 0, Optional
Field from Product Catalog defined by inventory schema.
Corresponds to the total number of inventory (available + booked)
Corresponds to the number of booked units.
Upon success, the response is 201 and returns