productCreate
mutation
An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Create a product in the store.
TIP
The API does not support direct management of product SEO information. Product 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 product via this API, the initial value for
seoTitle is assigned through title, and the initial value for seoDescription is assigned through descriptionHtml .Arguments
Product-related fields required for product creation.
Media-related fields required for product creation.
Return
Created product object.
List of errors returned during mutation execution.
Status and error codes
For detailed information about common codes, see Status and error codes.
Was this article helpful to you?