Materials: the raw materials and components your products are made from. Via the API you can create, edit and delete them, get a list and a material's details, and update stock at storage locations.
Method paths are given relative to the base API URL; the rules common to all methods (authorization, request format, partial editing, pagination) are described in API Overview and Common Rules.
Methods
| Method | What it does |
|---|---|
| v1/materials/add | Creates a material |
| v1/materials/edit | Updates a material |
| v1/materials/delete | Deletes a material |
| v1/materials/update_stock | Sets the stock at a storage location |
| v1/materials/get_list | Returns the materials of a storage location |
| v1/materials/get_entry | Returns a material's details |
| v1/materials/get_stocks | Returns material stock across all storage locations |