Skip to content

Shopify return after authorizing the app: validates, stores the encrypted token and sends the user to the dashboard

GET
/shopify/callback
curl --request GET \
--url 'https://api.replifier.com/shopify/callback?shop=example&code=example&state=example&hmac=example&timestamp=example'
shop
required
string
<= 200 characters
code
required
string
<= 200 characters
state
required
string
<= 128 characters
hmac
required
string
<= 128 characters
timestamp
required
string
<= 20 characters

Redirects to the dashboard with shopify=connected or shopify=error&reason=…

Invalid data

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

No session, expired session, or invalid, expired or revoked API key

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Service temporarily unavailable

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}