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

Yep, even their example on their own site doesn’t work:

I’m having the same issue, they don’t include a parameter for a sku collection so I’m totally lost

Were you able to find a solution?

Same problem, anyone found a solution?

Docs still don’t match.

Hi everyone!

To have the inventory endpoints work as expected, you’ll need to use IDs for SKUs.

collection_id: Unique identifier for the SKU collection (which you can get using the List Collections endpoint)
item_id: Unique identifier for a SKU (which you can get using the List Products & SKUs endpoint)

We’ll be sure to update the inventory developer docs so that this is clearer.