Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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
If this fixed your issue, likes and accepting as a solution are highly appreciated
| Build an online presence with our custom-built Shopify Theme: EcomifyTheme
| Check out our reviews: Trustpilot Reviews
| We are Shopify Partners: EcomGraduates Shopify Partner
Thanks for your input, EcomGraduates. We will check with our API partner.
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025