DigitalContent
Represents digital content associated with a product variant.
type DigitalContent implements Node, ObjectWithMetadata {
id: ID!
metadata: [MetadataItem!]!
privateMetadata: [MetadataItem!]!
useDefaultSettings: Boolean!
automaticFulfillment: Boolean!
maxDownloads: Int
urlValidDays: Int
auditEvents(
before: String
after: String
first: Int
last: Int
): DigitalContentAuditEventCountableConnection!
productVariant: ProductVariant!
contentUrl: String
contentFile: String
urls: [DigitalContentUrl!]!
}
Fields
DigitalContent.id ● ID! non-null scalar
The Globally Unique ID of this object
DigitalContent.metadata ● [MetadataItem!]! non-null object
List of public metadata items. Can be accessed without permissions.
DigitalContent.privateMetadata ● [MetadataItem!]! non-null object
List of private metadata items. Requires proper staff permissions to access.
DigitalContent.useDefaultSettings ● Boolean! non-null scalar
Whether to use default download settings
DigitalContent.automaticFulfillment ● Boolean! non-null scalar
Whether to automatically fulfill after purchase
DigitalContent.maxDownloads ● Int scalar
Maximum number of allowed downloads
DigitalContent.urlValidDays ● Int scalar
Number of days the download URL is valid
DigitalContent.auditEvents ● DigitalContentAuditEventCountableConnection! non-null object
Database-level audit trail for this digital content (requires MANAGE_PRODUCTS).
DigitalContent.auditEvents.before ● String scalar
Returns the items in the list that come before the specified cursor.
DigitalContent.auditEvents.after ● String scalar
Returns the items in the list that come after the specified cursor.
DigitalContent.auditEvents.first ● Int scalar
Returns the first n items from the list.
DigitalContent.auditEvents.last ● Int scalar
Returns the items in the list that come after the specified cursor.
DigitalContent.productVariant ● ProductVariant! non-null object
The product variant associated with this digital content.
DigitalContent.contentUrl ● String scalar
URL for accessing the digital content
DigitalContent.contentFile ● String scalar
The URL of the digital content file.
DigitalContent.urls ● [DigitalContentUrl!]! non-null object
List of URLs for downloading this digital content.
Interfaces
Node interface
An object with a Globally Unique ID
ObjectWithMetadata interface
An object that supports metadata.
Returned By
digitalContent query
Member Of
DigitalContentCountableEdge object ● DigitalContentCreate object ● DigitalContentUpdate object ● DigitalContentUrl object ● ProductVariant object