Sign in

Update smart collection

documented

Update a smart collection.

PUT /admin/api/2026-01/smart_collections/{collection_id}.jsonCollectionsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$shop_domain}}/admin/api/2025-07/smart_collections/{{$collection_id}}.json" \
  -X PUT \
  -H "X-Shopify-Access-Token: {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"smart_collection": {"id": {{$collection_id}}, "title": "{{$title}}", "body_html": "{{$body_html}}", "disjunctive": {{$disjunctive}}, "rules": {{$rules}}}}'