Do someone know how to add /update seo title and description using shopify collection api?
Topic summary
A user asked how to add/update SEO title and description for a collection via the Shopify API.
One reply proposed sending a custom_collection JSON payload with fields: title, collects, template_suffix, and body_html, stating that the first line of body_html acts as the SEO description. A brief code example was included to illustrate the request body.
No method for setting an SEO title was provided, and the suggestion was not verified by others. It’s unclear whether Shopify officially maps the first line of body_html to the SEO description.
Outcome: No confirmed solution; discussion remains open. Key unanswered question: how to explicitly set both SEO title and SEO description for collections via the API.
json{
“custom_collection”: {
“title”: “”,
“collects”: “”,
“template_suffix”: “”,
“body_html”: “”
}
}
i use this requestbody,body_html 's first line is seo description