Set Shopify API Credentials
sdk_credentials_setSaves the app's Shopify client ID and client secret, like the Shopify
API credentials card under App settings > Meridian SDK in the
dashboard. Takes the app_id from apps_list, and
shopify_client_id, shopify_client_secret or both: the one you
leave out keeps its value. Both come from the app's page in the
Shopify Dev Dashboard; ask the developer for them, never guess one.
The pair belongs to the app, not to one environment: every
environment's next deploy gets it as SHOPIFY_API_KEY and
SHOPIFY_API_SECRET, production included, and Plan Builder billing
uses it. So the tool REQUIRES confirm: true in the same call;
without it the tool refuses and changes nothing. Only pass
confirm: true once the developer you act for has agreed.
THE SECRET IS NEVER RETURNED. The answer gives the saved
shopify_client_id, has_shopify_client_secret, and changed, the
credentials that really changed. A credential can be replaced here
but not cleared. Running environments keep the pair they were
deployed with until their next deploy (environments_list reports
config_pending_deploy for them); app_readiness_get says whether the app
is now ready to deploy.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app_id": "<app_id>",
"confirm": "<confirm>"
},
"name": "sdk_credentials_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The app this call works on: its `app_id` uuid from `apps_list`. | |
| confirm | Yes | Must be exactly `true`. The credentials reach every environment, production included, at its next deploy. | |
| organization_id | No | An organisation uuid or slug. When supplied, `app_id` is resolved within that organisation and may be a slug instead of a uuid, mirroring the Meridian web app. | |
| shopify_client_id | No | The Shopify app's client ID (also called API key), from the Shopify Dev Dashboard. | |
| shopify_client_secret | No | The Shopify app's client secret. Stored encrypted, never returned. |