Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello
Any one know where to get the information below to assign the Market to the product
{
"webPresenceId": "",
"webPresence": {
"domainId": "",
"defaultLocale": "",
"alternateLocales": [],
"subfolderSuffix": ""
}
}
If you're wanting to publish a product to a market, I believe you'll want to use:
https://shopify.dev/docs/api/admin-graphql/2024-07/mutations/publishablepublish
The market has an associated publicationId that you would use.
marketWebPresenceUpdate would be for updating the market-specific website details, not specific to a given product.
Hi Kalen,
Thanks for the explanation I have tried the advice mutations/publishablepublish
but it did not update the Primary Market
{
"id": "{{product.id}}",
"input": [
{
"publicationId": "gid://shopify/Publication/80755196127"
}
]
}
Those look like channels. There are separate publications for the markets.