Error
A valid request URL is required to generate request examples{
"theme_id": 123,
"name": "<string>",
"role": "<string>",
"depict_added": true,
"has_depict_collection_template": true
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}API Reference
The merchant's published Shopify theme and Depict's footprint in it
Reads the store’s themes from the Shopify Admin API, picks the published (main) one and reports whether Depict’s inline script and a Depict collection template are installed in it. Call it to decide whether the theme setup steps are done. Read-only; two Shopify calls per request.
GET
/
onboarding
/
{merchant_id}
/
themes
/
main
Error
A valid request URL is required to generate request examples{
"theme_id": 123,
"name": "<string>",
"role": "<string>",
"depict_added": true,
"has_depict_collection_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
Lite merchant id, e.g. shopify-<shop id>.
Response
The main theme.
Always "main" here.
The theme has Depict's inline script snippet (snippets/depict-inline-script.liquid).
The theme has a Depict collection template (templates/collection.depict.*).
Was this page helpful?

