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?
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.
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: [ ... ]