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

Fields

DigitalContentCreate.variant ● ProductVariant object

DigitalContentCreate.content ● DigitalContent object

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

DEPRECATED

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

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

Returned by

digitalContentCreate mutation


Was this page helpful?