Plugboard needs products to be able to handle the inventory. The products can either be added by the API or it can be imported into Plugboard from any of our connectors.
Find a reference (localId or remoteId) to the product in Plugboard:
- Get products by using the API see section Get products
- Find a specific product by SKU see the endpoint
GET /product/by-skuin the API-reference.
- Create a new product see section Create a product
- Make sure to note the localId of the product that you want to update.
Update using localId
Make a PUT-call to update the product’s stock value in Plugboard. localId is the unique identifier within Plugboard.
Update using remoteId
Plugboard allows you to add your own id to a product which is called remoteId and must be a unique id among all products. The remoteId is designed to contain the external systems unique identifier e.g a database key or a unique SKU.
The remoteId can be used instead of the localId when calling the API but note that it is only possible to use a remoteId that was set by the same API-connector. Read more about localId and remoteId in the API-documentation.
Make a PUT-call to update the product’s stock value in Plugboard.