Update Item Inventory: BadRequest: SKU collection not specified

Hi everyone.

I’ve been trying to update and item inventory but seems like the endpoint has some kind of SKU validation that is not allowing to do the update

This is the example request:

curl --request PATCH \
  --url https://api.webflow.com/collections/6356f94a28e1a3d0bf5540b0/items/6356f97dd4eda85b854bc3cb/inventory \
  --header 'Accept-Version: 1.0.0' \
  --header 'Authorization: Bearer <MY_OAUTH_ACCESS_TOKEN>' \
  --header 'content-type: application/json' \
  --data '{
  "fields": {
    "inventoryType": "finite",
    "quantity": 100
  }
}'

This is the error response I get

{
   "code" : 400,
   "err" : "BadRequest: SKU collection not specified",
   "msg" : "SKU collection not specified",
   "name" : "BadRequest",
   "path" : "/collections/6356f94a28e1a3d0bf5540b0/items/6356f97dd4eda85b854bc3cb/inventory"
}

So I’m just wondering if there is some property I’m missing in the request or something like that. Thanks in advance.


Pipdream component developer
Pipedream’s Webflow component