APIAdmin - Update blog article seo title and description

APIAdmin - Update blog article seo title and description

clunizzi
Visitor
1 0 0

Hello,

I'm trying to update seo title and description metafield via a GraphQL APIAdmin call.

I'm using a make.com module to do this and the follow is the query:

 

mutation UpdateArticleMeta {
articleUpdate(
id: "gid://shopify/Article/{{43.id}}", 
article: {
metafields: [
{
namespace: "seo",
key: "title",
type: "single_line_text_field",
value: "{{40.result.meta_title}}"
},
{
namespace: "seo",
key: "description",
type: "multi_line_text_field",
value: "{{40.result.meta_description}}"
}
]
}
) {
article {
id
metafields(first: 2) {
edges {
node {
namespace
key
value
}
}
}
}
userErrors {
field
message
}
}
}

 

I've tried on the GraphQL App on Shopify and via make.com.

The call return 200 with no error but the fields never change.

 

Any idea?

 

Thanks

Replies 0 (0)