curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.example.com/api/admin/sites/{id}/install/shopify' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"method": "script_tag",
"scriptTagId": 1,
"note": "Two-person tent, green — replacement for damaged pole set.",
"error": "string"
}
Install on a Shopify store
Uses the site’s stored accessToken.
POST
/
api
/
admin
/
sites
/
{id}
/
install
/
shopify
curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.example.com/api/admin/sites/{id}/install/shopify' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"method": "script_tag",
"scriptTagId": 1,
"note": "Two-person tent, green — replacement for damaged pole set.",
"error": "string"
}
Uses the site’s stored
accessToken.
Path parameters
Request body
No request body.Response
object
On failure (
ok: false): unsafe_domain, unsafe_address, shopify_unreachable, or the Shopify API error.Status codes
| Code | Meaning |
|---|---|
200 | Install result |
401 | Error |
404 | Error |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.example.com/api/admin/sites/{id}/install/shopify' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"method": "script_tag",
"scriptTagId": 1,
"note": "Two-person tent, green — replacement for damaged pole set.",
"error": "string"
}
Last modified on November 13, 2026