Skip to main content

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.
type DigitalContentCreate {
variant: ProductVariant
content: DigitalContent
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
}

Fields

DigitalContentCreate.variant ● ProductVariant object products

DigitalContentCreate.content ● DigitalContent object products

DigitalContentCreate.productErrors ● [ProductError!]! deprecated non-null object products

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

DigitalContentCreate.errors ● [ProductError!]! non-null object products

Returned By

digitalContentCreate mutation