Skip to main content

digitalContentCreate Mutation

DEPRECATED

Support for Digital Content is deprecated and will be removed in Saleor v3.23.0. This functionality is legacy and undocumented, and is not part of the supported API. Users should not rely on this behavior.

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 @deprecated

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.