Skip to content

Resource

Digital Products

The digital product object

Attributes

  • digital_productobject
    Show 13 child attributesHide child attributes
    • idstring

      Unique digital product identifier

    • shopify_product_idinteger, nullable

      The numeric Shopify product ID this digital product is linked to.

    • shopify_variant_idinteger, nullable

      The numeric Shopify variant ID, if linked to a specific variant. null if linked at the product level.

    • assetsarray of objects

      The assets attached to this digital product.

      Show 8 child attributesHide child attributes
      • idstring

        Asset identifier

      • typestring

        The asset type.

        One of internalexternallicence
      • namestring, nullable

        Display name of the asset.

      • filenamestring, nullable

        Filename of the asset.

      • external_urlstring, nullable

        External URL for external type assets.

      • content_typestring, nullable

        MIME type of the asset.

      • byte_sizeinteger

        File size in bytes.

      • created_atstring

        When the asset was created.

    • upsert_alwaysboolean

      Whether a new copy of assets is created for each order.

    • custom_messagestring, nullable

      Custom message shown on the download page.

    • preorder_enabledboolean

      Whether this is a preorder product.

    • preorder_launch_datestring, nullable

      When the preorder content becomes available. null if not a preorder.

    • preorder_subjectstring, nullable

      Email subject for the preorder notification.

    • preorder_headingstring, nullable

      Heading shown on the download page while in preorder.

    • preorder_descriptionstring, nullable

      Description shown on the download page while in preorder.

    • created_atstring

      When the digital product was created.

    • updated_atstring

      When the digital product was last updated.

The digital product object
{
  "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"
  }
}