Resource
Digital Products
The digital product object
Attributes
digital_productobjectShow 13 child attributesHide child attributes
idstringUnique digital product identifier
shopify_product_idinteger, nullableThe numeric Shopify product ID this digital product is linked to.
shopify_variant_idinteger, nullableThe numeric Shopify variant ID, if linked to a specific variant.
nullif linked at the product level.assetsarray of objectsThe assets attached to this digital product.
Show 8 child attributesHide child attributes
idstringAsset identifier
typestringThe asset type.
One ofinternalexternallicencenamestring, nullableDisplay name of the asset.
filenamestring, nullableFilename of the asset.
external_urlstring, nullableExternal URL for
externaltype assets.content_typestring, nullableMIME type of the asset.
byte_sizeintegerFile size in bytes.
created_atstringWhen the asset was created.
upsert_alwaysbooleanWhether a new copy of assets is created for each order.
custom_messagestring, nullableCustom message shown on the download page.
preorder_enabledbooleanWhether this is a preorder product.
preorder_launch_datestring, nullableWhen the preorder content becomes available.
nullif not a preorder.preorder_subjectstring, nullableEmail subject for the preorder notification.
preorder_headingstring, nullableHeading shown on the download page while in preorder.
preorder_descriptionstring, nullableDescription shown on the download page while in preorder.
created_atstringWhen the digital product was created.
updated_atstringWhen the digital product was last updated.
{
"digital_product": {
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"shopify_product_id": 8847261098265,
"shopify_variant_id": 46012345678921,
"assets": [
{
"id": "3e84eb8d-e1d9-4e92-a4b2-a419c7f1122f",
"type": "internal",
"name": "string",
"filename": "string",
"external_url": "https://example.com",
"content_type": "string",
"byte_size": 1,
"created_at": "2026-01-15T09:30:00Z"
}
],
"upsert_always": false,
"custom_message": "Thank you for your purchase!",
"preorder_enabled": false,
"preorder_launch_date": "2026-01-15T09:30:00Z",
"preorder_subject": "string",
"preorder_heading": "string",
"preorder_description": "string",
"created_at": "2026-01-15T09:30:00Z",
"updated_at": "2026-01-15T09:30:00Z"
}
}