Data API for CMS locale

Hey,

I’m trying to create CMS items via Data API for different locales.

By using a regular Create CMS item endpoint, I can create a record only in specific locale. If I then create it in different one - items end up separate with different IDs.

So to create the same CMS item in multiple locales, I use this endpoint . However, it doesn’t have an option to publish the items. And if I use Publish item endpoint, only the primary locale is published, item’s other locale version still remains in staging.

So am I missing something, or is there really no way to publish item’s locale version to live via the API?

I would very much need an answer to this as well.

Not sure if this helps but I just wrote an article on using the Webflow API request on zapier to make locale-specific updates to cms items. Take a look at step 3 specifically, it may be helpful for your use case as well.

Hi @minnd - we’re working on the ability to publish an item to multiple locales (via the Publish Item API). More to come soon!

@zachplata Are there any news about this?

Hi @ruben-ad and all -

We haven’t rolled out the functionality to /v2 yet, since it’s tied to some new publish-item status behavior, but with the beta endpoint for publish item API, you can now pass in a new type of request items: [{ ... }] where you can pass in a list of item objects with the item ID, as well as accompanying cmsLocaleIds: [ ... ]

See more here: Publish Collection Item(s) | Webflow API Documentation

@zachplata That works perfectly fine :partying_face: Thank you so much for the hint with the beta version.