Skip to main content
Version: 3.x

digitalContentCreate

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 one of the following permissions: MANAGE_PRODUCTS.

digitalContentCreate(
input: DigitalContentUploadInput!
variantId: ID!
): DigitalContentCreate

Arguments

input (DigitalContentUploadInput!)

Fields required to create a digital content.

variantId (ID!)

ID of a product variant to upload digital content.

Type

DigitalContentCreate

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 one of the following permissions: MANAGE_PRODUCTS.