You can’t set the meta description directly through the articleCreate mutation — it’s actually handled through the seo field, which is part of the OnlineStoreArticleInput object. You can include it like this:
mutation {
articleCreate(
blogId: "gid://shopify/OnlineStoreBlog/123456789",
article: {
title: "My New Article"
bodyHtml: "<p>Some content here</p>"
seo: {
title: "Custom SEO Title"
description: "This is the meta description shown in search results."
}
}
) {
article {
id
title
seo {
title
description
}
}
userErrors {
field
message
}
}
}
That seo.description value maps exactly to the “Meta description” field shown in your screenshot. You can find more details in the Shopify Admin GraphQL API docs for OnlineStoreArticleInput and SEOInput.
If you ever need to update it later, you can use articleUpdate with the same seo field structure.