Skip to main content

digitalContentCreate Mutation

Create new digital content. This mutation must be sent as a multipart request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec

Requires MANAGE_PRODUCTSpermission.
digitalContentCreate(
input: DigitalContentUploadInput!
variantId: ID!
): DigitalContentCreate

Arguments

digitalContentCreate.input ● DigitalContentUploadInput! non-null input products

Fields required to create a digital content.

digitalContentCreate.variantId ● ID! non-null scalar miscellaneous

ID of a product variant to upload digital content.

Type

DigitalContentCreate object products

Create new digital content. This mutation must be sent as a multipart request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec

Requires MANAGE_PRODUCTSpermission.