# points - Liquid Filter Reference

Source: https://support.storeconnect.com/articles/points-filter-reference · Last modified 21 August 2026

## Description

Formats the input as account points

| Property | Value |
|----------|-------|
| **Return Type** | string |
| **Category** | numbers |

## Examples

### Default behavior

Small values are formatted with the `pts` suffix:


```liquid

{{ 12 | points }}
```


**Output:** `12 pts`

Thousands separators are added automatically:


```liquid

{{ 1200 | points }}
```


**Output:** `1,200 pts`


```liquid

{{ 1200000 | points }}
```


**Output:** `1,200,000 pts`

Zero is formatted the same way:


```liquid

{{ 0 | points }}
```


**Output:** `0 pts`

### Using points with Liquid objects

Use the filter with `current_account_points` to display a customer's loyalty balance:


```liquid

{{ current_account_points.current_balance | points }}
```


**Output:** `4,750 pts`

Display pending (not yet activated) points separately:


```liquid

{{ current_account_points.pending_balance | points }}
```


**Output:** `200 pts`

Use the filter on product pricing to show how many points a product earns or costs:


```liquid

{{ current_product.pricing.earn_points | points }}
```


**Output:** `150 pts`


```liquid

{{ current_product.pricing.points | points }}
```


**Output:** `1,200 pts`

---

## Follow StoreConnect

- [Email Newsletter](https://getstoreconnect.com/c/lp-newsletter)
- [LinkedIn Newsletter](https://www.linkedin.com/build-relation/newsletter-follow?entityUrn=7444956928444862464)
- [YouTube](https://www.youtube.com/channel/UCngKdP2x8l1wcbAKW3tvU8g)
- [LinkedIn](https://www.linkedin.com/company/storeconnect)
- [X / Twitter](https://x.com/storeconnecthq)

## Popular Links

- [Partners](https://getstoreconnect.com/partners)
- [News](https://getstoreconnect.com/articles/news)
- [Events](https://getstoreconnect.com/articles/events)
- [Feature Comparison](https://getstoreconnect.com/how-we-compare)
- [Download a free trial](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMkeKUAT)
- [Book a Demo](https://getstoreconnect.com/contact)

## Documentation

- [Help documentation](https://support.storeconnect.com/help-documentation)
- [AI agents](https://support.storeconnect.com/ai)
- [Videos & tutorials](https://support.storeconnect.com/videos-tutorials)
- [Developer reference](https://support.storeconnect.com/developer-reference)
- [Release notes](https://support.storeconnect.com/release-notes)
- [Troubleshooting](https://support.storeconnect.com/troubleshooting)
- [Trust Center](https://trust.getstoreconnect.com/)
- [Status Page](https://status.storeconnect.com/)

## Contact

- info@getstoreconnect.com
- US +1 415 745 3230
- AUS +61 2 8365 2308

100 S Ashley Dr, Suite 600-2461
Tampa FL 33602-600 USA

Level 22, Sydney Place
180 George Street
Sydney, NSW, 2000, AUS

---

StoreConnect Support — https://support.storeconnect.com/articles/points-filter-reference