Products fall out of the collection when they are changed via the API

We have the problem that products that are manually assigned to a collection are dropped from the collection again after product synchronisation via the API. We assume this happens when the products undergo a change in the description via the API. The Shopify ID and the title remain the same.

Thank you very much for your support!

It sounds like the product synchronization via the API might be overwriting your manual collection assignments. To prevent this, ensure your API update calls include the collection data, or use a separate API call to reassign the product to the collection after the description update. This way, your manual assignments won’t be lost.

Double-check your API logic to maintain collection associations during updates

1 Like

Thanks for your input, EcomGraduates. We will check with our API partner.