Hello
Any one know where to get the information below to assign the Market to the product
{
“webPresenceId”: “”,
“webPresence”: {
“domainId”: “”,
“defaultLocale”: “”,
“alternateLocales”: ,
“subfolderSuffix”: “”
}
}
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.