{"title":"points - Liquid Filter Reference","slug":"points-filter-reference","url":"https://support.storeconnect.com/articles/points-filter-reference","url_markdown":"https://support.storeconnect.com/articles/points-filter-reference.md","subtitle":null,"summary":"Formats a number as account points with thousands separators and a \u0026quot;pts\u0026quot; suffix. Use `points` to display loyalty or reward balances.","type":"Developer_Documentation","video_url":"","keywords":"liquid, filters, points, loyalty, rewards, balance, pts, account points, numbers, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nFormats the input as account points\n\n| Property | Value |\n|----------|-------|\n| **Return Type** | string |\n| **Category** | numbers |\n\n## Examples\n\n### Default behavior\n\nSmall values are formatted with the `pts` suffix:\n\n\n```liquid\n\n{{ 12 | points }}\n```\n\n\n**Output:** `12 pts`\n\nThousands separators are added automatically:\n\n\n```liquid\n\n{{ 1200 | points }}\n```\n\n\n**Output:** `1,200 pts`\n\n\n```liquid\n\n{{ 1200000 | points }}\n```\n\n\n**Output:** `1,200,000 pts`\n\nZero is formatted the same way:\n\n\n```liquid\n\n{{ 0 | points }}\n```\n\n\n**Output:** `0 pts`\n\n### Using points with Liquid objects\n\nUse the filter with `current_account_points` to display a customer's loyalty balance:\n\n\n```liquid\n\n{{ current_account_points.current_balance | points }}\n```\n\n\n**Output:** `4,750 pts`\n\nDisplay pending (not yet activated) points separately:\n\n\n```liquid\n\n{{ current_account_points.pending_balance | points }}\n```\n\n\n**Output:** `200 pts`\n\nUse the filter on product pricing to show how many points a product earns or costs:\n\n\n```liquid\n\n{{ current_product.pricing.earn_points | points }}\n```\n\n\n**Output:** `150 pts`\n\n\n```liquid\n\n{{ current_product.pricing.points | points }}\n```\n\n\n**Output:** `1,200 pts`"}