A valid request URL is required to generate request examples{
"template_suffix": "<string>",
"is_depict_template": true
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Switch a collection to another theme template
Sets the collection’s templateSuffix on Shopify, which changes the live storefront page at once. Activating a Depict template (suffix starting depict) also marks the theme approved. Side effects: the Shopify write, a theme re-onboarding request, and a template_activated analytics event. Returns the template now in use.
A valid request URL is required to generate request examples{
"template_suffix": "<string>",
"is_depict_template": true
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
Shopify App Bridge session token of the embedded Depict: Search & Merchandising app. The shop in the token determines the merchant; merchant_id parameters must belong to that shop.
Path Parameters
The Shopify collection id (numeric, no gid prefix).
Query Parameters
Lite merchant id, e.g. shopify-<shop id>.
The Shopify template suffix: "" is the default collection template, "depict" is collection.depict.
The main theme's id (theme_id from onboardingMainTheme); activating a Depict template marks that theme approved.
^-?\d+$Was this page helpful?

