We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.
Welcome to the commercetools Community!
Featured topics
The latest & greatest from the Community
commercetools Launches Commerce MCP and AI Hub to Make Enterprise Commerce Agent-Ready
1350
commercetools unveils Spring 2025 Compilations to power better experiences, faster growth, and smarter operations
Hi, we implemented an import service using the Import API and the system that uses it would send the “masterVariant” flag. When a product variant is initially created, we get NewMasterVariantAdditionNotAllowed error. https://docs.commercetools.com/api/import-export/import-resources#productvariantimport I’m wondering how should we create the master variant then? Import without master variant flag and then run the import again to set the proper master variant? For me this is not very logical and friendly and gives the need for redundant operations (re-running the import with all attributes again) Regards, Drazen
20
Preferred way to export all products of a given store
Hi, I want to export product data to an external system. This means: Initially export all products of a given store to the external system After the initial export is finished, sync changes of product data to the external system using subscriptions I was wondering what the recommended way to do the initial full export is, especially with a large amount if products like ~100.000. I checked the documentation and furthermore had a look at the product export template (https://github.com/commercetools/connect-product-export-template/tree/main). The product export template loads all product ids using the the “Query Products assigned to active ProductSelections in a Store” endpoint (https://docs.commercetools.com/api/projects/product-selections#query-products-assigned-to-active-productselections-in-a-store), before retrieving product data with a separate call to the “Get ProductProjection in Store by ID” endpoint (https://docs.commercetools.com/api/projects/productProjections#get-productprojection-in-store) for every single product. This seems like a lot of requests to the API, given a large set of product data with a long execution time for a full export. Furthermore I’m not sure how to handle the problem, that already exported chunks are changed in commercetools, while the export is still running. Yes, I like to use subscriptions to sync changes to the external system, but only after the full export is finished. So, in summary, the question arises for me: what is the best und most performant way to keep a external system in sync with the product data for a given store? Thanks and kind regardsTorben
Connect application using subscriptions – where is the message queue?
Hello everyone, I've just read through the documentation for Connect applications and subscriptions. But one thing is not quite clear to me. An example: I create a Connect application that sends product data to a third party service every time a new product is released. So the application creates a subscription and uses AWS SQS as a queue. But when I eventually want to offer the Connect app on the marketplace and a customer installs the app, where does the AWS SQS come from or who hosts it? Is the idea that the customer does this themselves or that I, as the provider of the Connect application, also provide the required queue? Or am I making the wrong assumptions? Kind regardsTorben