Resource
Assets
Files, links and licence-key files in the library.
The asset object
Attributes
idstring, nullableExample:e2b7727e-45ad-42b7-b842-cc4615205b10typestring, nullableExample:linknamestring, nullableExample:ebook-2026filenamestring, nullableExample:ebook-2026.zipextensionstring, nullableExample:zipcontent_typestring, nullableExample:application/zipbyte_sizeinteger, nullableExample:0urlstring, nullableExample:https://example.com/ebook-2026.zipurl_expires_atanywatermarkobjectShow 1 child attributeHide child attributes
enabledboolean, nullableExample:false
licence_keysobjectShow 2 child attributesHide child attributes
autogenerateboolean, nullableExample:falsetagsarray of anys
usageobjectShow 2 child attributesHide child attributes
digital_products_countinteger, nullableExample:2orders_countinteger, nullableExample:0
digital_productsarray of objectsShow 13 child attributesHide child attributes
idstring, nullableExample:f5f278c8-4a92-48a3-bc40-216468b9bccdscopestring, nullableExample:variantshopify_product_idstring, nullableExample:gid://shopify/Product/9642107207975shopify_variant_idstring, nullableExample:gid://shopify/ProductVariant/49417715843367titlestring, nullableExample:Watercolour Coursevariant_titlestring, nullableExample:xs / blue / waterskustring, nullableExample:ae8ea669-7bd1-4afd-b200-a7b75777b46afiles_countinteger, nullableExample:2preorderobjectShow 1 child attributeHide child attributes
enabledboolean, nullableExample:false
deliveryobjectShow 1 child attributeHide child attributes
attach_to_every_orderboolean, nullableExample:false
exists_on_shopifyanyupdated_atstring, nullableExample:2026-10-30T16:55:48Zfolderany
recent_ordersarray of anyscreated_atstring, nullableExample:2026-10-30T16:49:38Zupdated_atstring, nullableExample:2026-10-30T16:49:38Z
Endpoints
The asset object
{
"id": "e2b7727e-45ad-42b7-b842-cc4615205b10",
"type": "link",
"name": "ebook-2026",
"filename": "ebook-2026.zip",
"extension": "zip",
"content_type": "application/zip",
"byte_size": 0,
"url": "https://example.com/ebook-2026.zip",
"url_expires_at": null,
"watermark": {
"enabled": false
},
"licence_keys": {
"autogenerate": false,
"tags": []
},
"usage": {
"digital_products_count": 2,
"orders_count": 0
},
"digital_products": [
{
"id": "f5f278c8-4a92-48a3-bc40-216468b9bccd",
"scope": "variant",
"shopify_product_id": "gid://shopify/Product/9642107207975",
"shopify_variant_id": "gid://shopify/ProductVariant/49417715843367",
"title": "Watercolour Course",
"variant_title": "xs / blue / water",
"sku": "ae8ea669-7bd1-4afd-b200-a7b75777b46a",
"files_count": 2,
"preorder": {
"enabled": false
},
"delivery": {
"attach_to_every_order": false
},
"exists_on_shopify": null,
"updated_at": "2026-10-30T16:55:48Z",
"folder": null
},
{
"id": "4d08443e-549b-44c8-afee-c3836d767e7c",
"scope": "product",
"shopify_product_id": "gid://shopify/Product/9642103537959",
"shopify_variant_id": null,
"title": "The Draft Snowboard",
"variant_title": null,
"sku": null,
"files_count": 2,
"preorder": {
"enabled": false
},
"delivery": {
"attach_to_every_order": false
},
"exists_on_shopify": null,
"updated_at": "2026-10-30T16:56:48Z",
"folder": "Extras"
}
],
"recent_orders": [],
"created_at": "2026-10-30T16:49:38Z",
"updated_at": "2026-10-30T16:49:38Z"
}