Appearance
Playbooks
Playbooks are standard operating procedures (SOPs) for SLC. Use calls.md for payload shape and required fields.
Surface availability (explicit)
- API Gateway: Available.
- Direct Lambda: Available.
- CLI: Not available.
- MCP: Available.
Creating a channel
- Create channel:
{"action":"channel/create", "orgcode":"ORG", "name":"My Store", "config":{...}}. - Channel is created in
inactivestate. - Add variant inclusions:
{"action":"variants/add", "channel_guid":"...", "variant_guids":["..."]}. - Bind facilities:
{"action":"facility/bind", "channel_guid":"...", "facility_guid":"...", "role":"primary"}. - Activate:
{"action":"channel/activate", "channel_guid":"..."}.
Rotating credentials
- Obtain new Shopify access token.
- Call
{"action":"credentials/rotate", "channel_guid":"...", "orgcode":"ORG", "shopify_access_token":"shpat_new..."}. - Handler tests connectivity before persisting. On failure, old token remains.
Force-sync
- Sync all variants:
{"action":"channel/force-sync", "channel_guid":"..."}. - Sync specific variants:
{"action":"channel/force-sync-variant", "channel_guid":"...", "variant_guids":["..."]}.
Audit queries
- By variant:
{"action":"audit/variant-history", "variant_guid":"..."}. - By Shopify ID:
{"action":"audit/shopify-history", "shopify_variant_id":"gid://shopify/ProductVariant/123"}. - By SKU:
{"action":"audit/sku-history", "orgcode":"ORG", "sku":"STYLE-001-XL-BLK"}. - All support
limit,since,until,start_keyfor pagination.
Vacuuming an org
- Call
{"action":"vacuum/org", "orgcode":"ORG", "confirmation_phrase":"DELETE ORG DATA"}. - DDB records are deleted. S3 audit objects are cleaned by OPS vacuum (manifest entry).