Anchor to section titled 'undefined'

productCreateMedia
mutation

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

Creates media for a product.


List of new media to be added to a product.

Anchor to productId
productId
required

Specifies the product associated with the media.


Was this section helpful?

The newly created media.

The list of errors that occurred from executing the mutation.

The product associated with the media.

The list of errors that occurred from executing the mutation. Use mediaUserErrors instead.


Was this section helpful?