Skip to content

Resource

Digital Products

Shopify products or variants with files attached, their delivery, pre-order and update-email settings.

The digital product object

Attributes

  • idstring, nullable
    Example: 7ea3c05d-6f29-42b6-b24f-43260caeaa32
  • scopestring, nullable
    Example: product
  • shopify_product_idstring, nullable
    Example: gid://shopify/Product/9642107044135
  • shopify_variant_idany
  • titlestring, nullable
    Example: Watercolour Course
  • variant_titleany
  • skuany
  • exists_on_shopifyany
  • filesarray of objects
    Show 5 child attributesHide child attributes
    • idstring, nullable
      Example: 7ea42f2a-6dbe-459c-b8a4-27b0eb823e52
    • namestring, nullable
      Example: price-list.csv
    • typestring, nullable
      Example: file
    • byte_sizeinteger, nullable
      Example: 100634
    • folderany
  • foldersarray of anys
  • deliveryobject
    Show 2 child attributesHide child attributes
    • messageany
    • attach_to_every_orderboolean, nullable
      Example: false
  • preorderobject
    Show 4 child attributesHide child attributes
    • enabledboolean, nullable
      Example: false
    • launch_atany
    • releasedboolean, nullable
      Example: true
    • emailobject
      Show 3 child attributesHide child attributes
      • subjectany
      • headingany
      • descriptionany
  • update_emailobject
    Show 2 child attributesHide child attributes
    • subjectany
    • bodyany
  • orders_countinteger, nullable
    Example: 46
  • created_atstring, nullable
    Example: 2025-05-31T13:37:52Z
  • updated_atstring, nullable
    Example: 2025-05-31T13:37:52Z
The digital product object
{
  "id": "7ea3c05d-6f29-42b6-b24f-43260caeaa32",
  "scope": "product",
  "shopify_product_id": "gid://shopify/Product/9642107044135",
  "shopify_variant_id": null,
  "title": "Watercolour Course",
  "variant_title": null,
  "sku": null,
  "exists_on_shopify": null,
  "files": [
    {
      "id": "7ea42f2a-6dbe-459c-b8a4-27b0eb823e52",
      "name": "price-list.csv",
      "type": "file",
      "byte_size": 100634,
      "folder": null
    },
    {
      "id": "96fbe30b-c819-4cb8-9666-814c0c8853f1",
      "name": "Beginner's Guide.pdf",
      "type": "file",
      "byte_size": 116711,
      "folder": null
    }
  ],
  "folders": [],
  "delivery": {
    "message": null,
    "attach_to_every_order": false
  },
  "preorder": {
    "enabled": false,
    "launch_at": null,
    "released": true,
    "email": {
      "subject": null,
      "heading": null,
      "description": null
    }
  },
  "update_email": {
    "subject": null,
    "body": null
  },
  "orders_count": 46,
  "created_at": "2025-05-31T13:37:52Z",
  "updated_at": "2025-05-31T13:37:52Z"
}