Sign in

Create custom collection

documented

Create a custom collection.

POST /admin/api/2026-01/custom_collections.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}}.myshopify.com/admin/api/2026-01/custom_collections.json" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-Shopify-Access-Token: {{OAUTH2_ACCESS_TOKEN}}" \
  -d '{"custom_collection": {"title": "{{$title}}", "body_html": "{{$description}}", "collects": [{"product_id": {{$product_id}}}]}}'