collectionCreate
mutation
An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Create a new collection in the store.
TIP
The API does not support direct management of SEO information. Collection SEO details are managed via metafields. For operation instructions, refer to Editing SEO information for the corresponding resource page through metafield's Open API.
When creating a collection via this API, the initial value for
seoTitle is assigned through title, and the initial value for seoDescription is assigned through body_html.Arguments
The input fields for specifying the collection to create.
Return
The created collection.
The list of errors that occurred from executing the mutation. A list of the errors encountered during the mutation.
Status and error codes
For detailed information about common codes, see Status and error codes.
Was this article helpful to you?