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 new 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 body_html.Arguments
Input field required to create a new product.
A list of media to be associated with the product.
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?