{"title":"Membership - Liquid Object Reference","slug":"membership-liquid-object-reference","url":"https://support.storeconnect.com/articles/membership-liquid-object-reference","url_markdown":"https://support.storeconnect.com/articles/membership-liquid-object-reference.md","subtitle":null,"summary":"A Membership represents an method of grouping Accounts to give them access to special pricing or products.","type":"Developer_Documentation","video_url":"","keywords":"liquid, objects, Membership, template, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nA Membership represents an method of grouping Accounts to give them access to special pricing or products.\n\n:::note\nThis object supports custom data via the `data` attribute.\n:::\n\n## Attributes\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `accounts` | List[[Account](account-liquid-object-reference)] | Returns a list of Accounts belonging to this Membership |\n| `articles` | List[[Article](article-liquid-object-reference)] | Returns a list of Articles associated with this Membership |\n| `id` | String | Returns the unique id for this Membership |\n| `name` | String | Returns the value of the Name attribute |\n| `pages` | List[[Page](page-liquid-object-reference)] | Returns a list of Pages associated with this Membership |\n| `pricebook` | [Pricebook](pricebook-liquid-object-reference) | Returns the Pricebook for this Membership |\n| `product` | [Product](product-liquid-object-reference) | Returns the main Product for this Membership |\n| `product_category` | [ProductCategory](product-category-liquid-object-reference) | Returns the Product Category for this Membership |\n| `products` | List[[Product](product-liquid-object-reference)] | Returns a list of Products for this Membership |\n\n## Available on\n\n- [Account - Liquid Object Reference](account-liquid-object-reference) — `membership`\n- [Contact - Liquid Object Reference](contact-liquid-object-reference) — `membership`\n- [Discount - Liquid Object Reference](discount-liquid-object-reference) — `membership`\n- [Global - Liquid Object Reference](global-liquid-object-reference) — `current_membership`\n- [Product - Liquid Object Reference](product-liquid-object-reference) — `memberships`\n- [PromotionScope - Liquid Object Reference](promotion-scope-liquid-object-reference) — `membership`"}