Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

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.

Body

application/json
txn
string
required

The mcp_txn parameter of the Settings link the assistant's sign-in opened.

Pattern: ^[A-Za-z0-9_-]{20,}$
scopes
string[]
required

The scopes the user approved; only those the assistant also asked for are granted.

Response

Granted; follow redirect_to.

redirect_to
string
required

The assistant's OAuth redirect, carrying the authorization code; navigate the top-level window there to finish connecting.