Skip to main content
Log inSign up
mutationDeprecated

Requires write_products access scope. Also: The user must have a permission to create media for a product.

Creates media for a product. Use productUpdate or productSet instead.

•

List of new media to be added to a product.

•
ID!required

Specifies the product associated with the media.


Was this section helpful?

Anchor to ProductCreateMediaPayload returnsProductCreateMediaPayload returns

•

The newly created media.

•

The list of errors that occurred from executing the mutation.

•

The product associated with the media.

•
[UserError!]!non-nullDeprecated

The list of errors that occurred from executing the mutation.


Was this section helpful?