Hi @AMaL
To replicate the situation, I created the product with ProductSet without specifying the global metafield, then I modified the product’s SEO title from the Web. Subsequently, I constructed this call, which was supposed to update the product with all its fields, including the global metafield.
{
"input": {
"descriptionHtml": "yessa",
"files": [
{
"duplicateResolutionMode": "APPEND_UUID",
"id": "gid://shopify/MediaImage/28804688478398"
},
{
"duplicateResolutionMode": "APPEND_UUID",
"id": "gid://shopify/MediaImage/28804688511166"
}
],
"id": "gid://shopify/Product/8367631958206",
"metafields": [
{
"key": "brand",
"namespace": "custom",
"type": "single_line_text_field",
"value": "My Brand"
},
{
"id": "gid://shopify/Metafield/42168478433470",
"key": "title_tag",
"namespace": "global",
"type": "single_line_text_field",
"value": "My super Title"
}
],
"productOptions": [
{
"name": "Title",
"values": [
{
"name": "variante 2"
},
{
"name": "variante 1"
}
]
}
],
"productType": "Snowboard",
"status": "ACTIVE",
"tags": [],
"title": "My super Product",
"variants": [
{
"barcode": "8000000004734",
"compareAtPrice": "9.00",
"file": {
"duplicateResolutionMode": "APPEND_UUID",
"id": "gid://shopify/MediaImage/28804688478398"
},
"id": "gid://shopify/ProductVariant/44697790939326",
"inventoryPolicy": "CONTINUE",
"optionValues": [
{
"name": "variante 1",
"optionName": "Title"
}
],
"price": "6.00",
"sku": "8000000004734"
},
{
"barcode": "8000000004735",
"compareAtPrice": "5.00",
"file": {
"duplicateResolutionMode": "APPEND_UUID",
"id": "gid://shopify/MediaImage/28804688511166"
},
"id": "gid://shopify/ProductVariant/44697790972094",
"inventoryPolicy": "DENY",
"optionValues": [
{
"name": "variante 2",
"optionName": "Title"
}
],
"price": "6.00",
"sku": "8000000004735"
}
],
"vendor": "My Vendor"
},
"synchronous": true
}
Best regards.