Skip to main content
Version: Canary 🚧

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 MANAGE_PRODUCTSpermission.
digitalContentCreate(
input: DigitalContentUploadInput!
variantId: ID!
): DigitalContentCreate

Arguments

digitalContentCreate.input ● DigitalContentUploadInput! non-null input

Fields required to create a digital content.

digitalContentCreate.variantId ● ID! non-null scalar

ID of a product variant to upload digital content.

Type

DigitalContentCreate object

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.

Was this page helpful?