Update a collection

Mirrors Admin GraphQL collectionUpdate. Body: { input: CollectionInput }.

Unlike productUpdate, this mutation's id lives INSIDE the input. The path id is written there for you and OVERRIDES any id in the body, so a caller cannot edit a different collection by accident.

Editing a SMART collection's ruleSet is how you change its membership. Shopify recomputes that asynchronously, so productsCount immediately after can still be the old number — re-read it rather than retrying.

  • Write — changes a live store immediately; needs a write-scoped token.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Numeric id or a full GID; both pass through.

Query Params
uuid
required

The Analify organization whose connected account to use.

Body Params
Responses
200

OK

Language
Credentials
Bearer
anlfy_...
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json