Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updateItem and updateItem methods do not update item fieldData #127

Open
Vekeryk opened this issue Mar 7, 2024 · 6 comments
Open

updateItem and updateItem methods do not update item fieldData #127

Vekeryk opened this issue Mar 7, 2024 · 6 comments

Comments

@Vekeryk
Copy link

Vekeryk commented Mar 7, 2024

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
Copy link
Collaborator

dsinghvi commented Mar 7, 2024

@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
Copy link

martinmorenoc commented Jun 17, 2024

same issue here. Forced to use the API directly

@robmarshall
Copy link

Any movement on this? It is holding us back from migrating away from the V1 keys.

@zplata
Copy link
Contributor

zplata commented Aug 20, 2024

Hey folks, we're revisiting this now! Will hopefully have an update soon.

@hmafzal
Copy link

hmafzal commented Sep 17, 2024

@zplata any updates on this? This is blocking us from migrating to V2 as well.

@zplata
Copy link
Contributor

zplata commented Sep 30, 2024

Hey @hmafzal @robmarshall - sorry for the delay. Mind trying with v2.4.2? We've made a fix so that you can pass in additional fields in fieldData and it should not get stripped in the request.

There are some other fixes here as well you can check out on release notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants