POST /api/v1/products/updatestock

The article is specified by sku. You have to send the absolute value for the current stock

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
Reason String No

Optional a reason text for the stock update

Sku String No

The SKU of the product to update

AutosubtractReservedAmount Boolean No

Automatically reduce the NewQuantity by the currently not fulfilled amount

StockId Integer No

Optional the stock id if the feature multi stock is activated

ForceSendStockToShops Boolean No

If true, every sent stockchange is stored and transmitted to the connected shop, even if the value has not changed

NewQuantity Number No

The new absolute stock quantity for the product you want to set

OldQuantity Number No

This parameter is currently ignored

BillbeeId Integer No

Optional the ID of the Billbee product to update

DeltaQuantity Number No

This parameter is currently ignored

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.