Store credit
A customer's balance with the store - adding and deducting it with a reason, the history, where else credit comes from, and what buyers see.
The balance
Every customer has a store credit balance in the store currency. It shows on their profile, as a badge in the list, and in the Has store credit filter.
Credit is kept as a history: each change is one line with its amount, reason, who made it and when. The balance is the sum of the lines, and it never goes below zero.
Add or deduct
On the customer's page, Store credit > Add or deduct:
Pick Add credit or Deduct credit.
Type the amount in the store currency.
Write the reason. It shows in the history, for example "Goodwill for a late parcel".
For credit you add, an expiry date is optional. It shows in the history.
Deducting more than the balance is refused. Each change is in the customer's activity and the store's activity log.
Expiry dates are shown, not enforced
Credit with an expiry date stays in the balance after that date. Deduct it by hand when it should go.
Other ways credit changes
- Refunds to store credit: a refund paid back as store credit instead of to the card adds the amount. See Order details.
- Spent on an order: a signed-in buyer who ticks Use my store credit at checkout pays with it first. See Payments.
- Expired lines come from the order flow when they apply.
What buyers see
With customer accounts on and Show store credit in accounts turned on, buyers see their balance on their account page.
In the store API
GET /customers has store_credit_minor on every customer, and GET /customers/{id} adds the latest 50 history lines. See the API reference.
Customer profile
One customer's page - totals, orders, contact and language, marketing consent, addresses, tags, note, tax exemption, store credit, sending an email, and the activity on them.
Marketing consent
Which customers agreed to marketing emails and texts, where each choice came from, how it changes, and what it stops.