{"title":"Document - Liquid Object Reference","slug":"document-liquid-object-reference","url":"https://support.storeconnect.com/articles/document-liquid-object-reference","url_markdown":"https://support.storeconnect.com/articles/document-liquid-object-reference.md","subtitle":null,"summary":"The Document object contains information about a document that has been uploaded via the CMS.","type":"Developer_Documentation","video_url":"","keywords":"liquid, objects, Document, template, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nThe Document object contains information about a document that has been uploaded via the CMS.\n\n:::note\nThis object supports custom data via the `data` attribute.\n:::\n\n## Attributes\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `alt_text` | String | Returns the value of the Alt Text attribute |\n| `description` | String | Returns the value of the Description attribute |\n| `file_type` | String | Returns the value of the File Type attribute |\n| `id` | String | Returns the unique id for this Document |\n| `name` | String | Returns the value of the Name attribute |\n| `url` | String | Returns the complete url for this Document |\n\n## Available on\n\n- [ContentBlock - Liquid Object Reference](content-block-liquid-object-reference) — `document`\n- [Medium - Liquid Object Reference](medium-liquid-object-reference) — `document`\n- [Product - Liquid Object Reference](product-liquid-object-reference) — `documents`, `variant_documents`"}