webflow / js-webflow-api

Node.js SDK for the Webflow Data API
https://www.npmjs.com/package/webflow-api
285 stars 92 forks source link

updateItem and updateItem methods do not update item fieldData #127

Open Vekeryk opened 4 months ago

Vekeryk commented 4 months ago

SDK Version: 2.1.1

As the interface CollectionItemFieldData doesn't have a field for fieldData, the serializer strips all custom fields. This makes the library almost useless, as you can't update the custom field of your items.

webflow-api/api/resources/collections/resources/items/client/Client.js Items.updateItem: image image

dsinghvi commented 4 months ago

@Vekeryk thanks for filing this issue, I hear your frustration. This will require an update to Webflow's OpenAPI spec; we'll see if we can get an update merged in and released!

martinmorenoc commented 3 weeks ago

same issue here. Forced to use the API directly