> ## Documentation Index
> Fetch the complete documentation index at: https://developers.appstle.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Appstle Loyalty API changelog

> Dated changes to the Appstle Loyalty Admin API, Storefront API, JavaScript events, Shopify Flow and Partner Framework: new endpoints, fields, values and events, and what to do about each.

This page lists every developer-facing change to the Loyalty Admin API, the Storefront API, the storefront JavaScript events, Shopify Flow and the Partner Framework, newest first. Each entry is dated the day the change reached production.

* **Additive changes** (new endpoints, new response fields, new optional parameters, new values of an existing field) don't break a client that ignores what it doesn't know. Parse JSON leniently and don't treat enum fields as closed lists.
* Entries tagged **Action required** may need a code change in your integration. Each one says who is affected and what to do.
* The API reference is generated from the live API, so it always shows the current contract. The Admin API base URL is `https://loyalty-admin.appstle.com`, and Storefront API paths start with `/loyalty/cp/api/`.

**November 10, 2026**

Reward dates, customer status, daily limits, credited points, App Proxy path

## Rewards can have start and end dates

Redeem rules now have `ruleStartDate` and `ruleEndDate`, both ISO 8601 date-times. You get them on each rule from `GET /api/external/point-redeem-rules` and in the `appstle_loyalty.point_redeem_rules` shop metafield. Both are `null` for a reward with no dates, which is every existing reward until a merchant sets one.

A reward can be redeemed only from its `ruleStartDate` through its `ruleEndDate`. Outside them, `POST /api/external/redeem-points` and `POST /loyalty/cp/api/redeem-points` return `400` with the title `UserGeneratedError:This reward isn't available yet.` before the start date, or `UserGeneratedError:This reward has ended.` after the end date. The Appstle widget, customer accounts, checkout, point of sale and emails leave the reward out of their lists. A discount code redeemed from a reward with an end date expires on that date at the latest.

**Who is affected:** custom storefronts that list rewards from the `point_redeem_rules` metafield, and integrations that redeem points. The metafield still lists a reward outside its dates, so a storefront that ignores the two fields shows a reward the customer can't redeem.

**Action required:** show a reward only between its `ruleStartDate` and `ruleEndDate`, and hide it when a redeem returns either `400` title.

Reference: [Get all point redemption rules](https://developers.appstle.com/loyalty-admin-api/redemptions-&-discount-codes/get-all-point-redemption-rules.md), [Show the ways to earn and redeem](https://developers.appstle.com/loyalty/build-your-own-frontend.md#show-the-ways-to-earn-and-redeem) and the redeem errors in [Redeem points](https://developers.appstle.com/loyalty/build-your-own-frontend.md#redeem-points).

## `update-customer-status` accepts only `ACTIVE` and `EXCLUDED_BY_CUSTOMER`

`POST /loyalty/cp/api/update-customer-status` now accepts only `ACTIVE`, to join or rejoin the program, and `EXCLUDED_BY_CUSTOMER`, to leave it. Any other value, such as `EXCLUDED` or `INACTIVE`, and a body without `status`, return `400` with `errorKey` `invalidStatus`. Until now, the call saved any status, including `EXCLUDED`, which the API reference listed, and a call without `status` failed with `500`.

A customer the store excluded still can't change their own status: the call returns `400` with `errorKey` `customerAlreadyExcluded`. In the rare case that the customer's status changes while the call runs, it returns `400` with `errorKey` `customerStatusChanged`.

**Who is affected:** custom storefronts with an opt-out or rejoin control, and any that send `EXCLUDED` or `INACTIVE`.

**Action required:** send `EXCLUDED_BY_CUSTOMER` to let a customer leave the program. Show the customer a message for each of these `400` responses, and after `customerStatusChanged`, read `customer-loyalty` again before you retry.

Reference: [Update customer loyalty status](https://developers.appstle.com/loyalty-storefront-api/customer-enrollment-&-profile/update-customer-loyalty-status.md).

## Daily limits on store visits and referrals apply again

Three calls have daily limits that weren't applied from late February 2026 until today. They apply again with the same defaults, counted per UTC day, so each count starts again at 00:00 UTC:

* **`POST /loyalty/cp/api/customer-visit-store`:** 500 calls for each customer. Over the limit, it returns `200` with an empty body and gives no points.
* **`POST /loyalty/cp/api/send-customer-referral-url`:** 500 calls for the whole store. Over the limit, it returns `200` with an empty body and sends no email.
* **Accepting a referral:** 100 calls for the whole store, counted together across `GET` and `POST /loyalty/cp/api/referral-rules/accept-offer` and `POST /api/external/referral-accept`. Over the limit, it returns `400` with `"status": "FAILED"` and the message `An error occurred while processing the request.`

**Who is affected:** integrations that accept more than 100 referrals a day for one store, for example a headless storefront or an import through `POST /api/external/referral-accept`. Normal storefront traffic rarely reaches the other two limits.

**Action required:** if you accept referrals in bulk, spread them over several days or ask [support@appstle.com](mailto:support@appstle.com) for a higher limit. An accept refused for the limit can succeed after 00:00 UTC.

Reference: [Daily limits](https://developers.appstle.com/loyalty/build-your-own-frontend.md#daily-limits), [Refused referrals](https://developers.appstle.com/loyalty/integration-guide.md#refused-referrals).

## `creditedPoints` leaves out points given back for rewards

`creditedPoints` no longer counts points given back when a reward is cancelled, returned or expires, because those points were already counted when the customer earned them. It's the approved points the customer earned toward VIP tiers, since the VIP program's start date or within its current evaluation period, and it still includes points the customer has since spent. VIP tiers based on points earned count the same way, so redeeming and then returning a reward no longer moves a customer up a tier.

Points given back for a reward code used in a fully refunded order are now recorded with `transactionRule` `REDEEM_REVERSAL` instead of `ADJUSTMENT`, so they show that way in the point transaction history and no longer count toward `creditedPoints`. This happens only in stores that turn on **Give back points spent on a fully refunded order**, under **Points program** > **Settings** > **Refunds** in the Loyalty app. Points given back this way before this change keep `ADJUSTMENT` and still count.

The change applies everywhere the field appears: `GET /api/external/customer-loyalty`, `GET /loyalty/cp/api/customer-loyalty`, the `customer_loyalty` customer metafield, `customerLoyaltyDetails` in webhooks, and **Customer Loyalty Details** in Shopify Flow triggers.

**Who is affected:** integrations that show or compare `creditedPoints`, for example a progress bar toward the next tier. For a customer who returned a reward, the value is now lower.

**Action required:** none. Don't use `creditedPoints` as a lifetime total.

Reference: [Get customer loyalty details](https://developers.appstle.com/loyalty-admin-api/customer-enrollment-&-profile/get-customer-loyalty-details.md), [Get customer loyalty information](https://developers.appstle.com/loyalty-storefront-api/customer-enrollment-&-profile/get-customer-loyalty-information.md), [Webhooks](https://developers.appstle.com/loyalty/webhooks.md#payload-structure), [Shopify Flow](https://developers.appstle.com/loyalty/shopify-flow.md#trigger-properties).

## Appstle follows a numbered App Proxy path

When another app already holds the `loyalty` App Proxy path, Shopify serves Appstle at a numbered path such as `apps/loyalty-1`, and calls to `apps/loyalty` get a `404` from Shopify. Appstle now saves the numbered path in the `proxy_path_prefix` shop metafield, and so in `_ALConfig.proxy_path_prefix`, once the Appstle widget on the storefront reaches the app there.

**Who is affected:** custom storefronts that hardcode `apps/loyalty`.

**Action required:** build Storefront API URLs from `_ALConfig.proxy_path_prefix` or the `proxy_path_prefix` metafield, as in [How the Storefront API is reached](https://developers.appstle.com/loyalty/build-your-own-frontend.md#how-the-storefront-api-is-reached).

**November 7, 2026**

Referral note on pending referrals, locale parameter

## `referralNote` on pending referrals in the Storefront API

`GET /loyalty/cp/api/customer-referrals` now returns `referralNote` on referrals whose `status` is `PENDING`. It holds the store's current **Note on pending referrals** text, such as `You'll get your reward once your friend places an order.` Editing or clearing that note changes it on pending referrals that already exist. To get the note in the shopper's language, add the optional `locale` query parameter with their language code, such as `fr` or `pt-BR`. If the store has translated the note into that language, `referralNote` holds the translation. The API looks for the full code first, then the part before the hyphen (`pt-BR`, then `pt`). Without `locale`, for the store's default language, or for a language with no translation, it holds the main text. On every other status `referralNote` is still `null`, and `referredNote` is still always `null`.

The Admin API's `GET /api/external/customer-referrals` is unchanged: its `referralNote` is still always `null`.

**Who is affected:** storefronts that show referral history. A client that ignores `referralNote` keeps working, and a client that doesn't send `locale` gets the main text.

**Action required:** none. To explain a pending referral to the customer, show `referralNote` next to it when it isn't empty. To show it in the shopper's language, send the storefront's current language code as `locale`, for example `GET /loyalty/cp/api/customer-referrals?locale=fr`.

Reference: [Get customer referral history](https://developers.appstle.com/loyalty-storefront-api/referrals/get-customer-referral-history.md).

**November 5, 2026**

Referrals, pagination parameters, unknown paths

## Accept referrals and read referral history from the Admin API

Two new Admin API endpoints let headless storefronts and other server-side code accept referrals and show referral history without the App Proxy:

* **`POST /api/external/referral-accept`** records that a friend accepted a customer's referral. Send the referral token (the last part of the customer's `referralLink`) as `token` and the friend's email as `email`. It runs the same checks and gives the same rewards as the Storefront API's accept call, and it needs a **Read & write** API key.
* **`GET /api/external/customer-referrals`** lists the referrals a customer has sent, with each one's status and whether each side has been rewarded. The friend's email is masked. It takes `customerId`, pages with `page`, `size` and `sort`, and returns the total in `X-Total-Count`.

A refused referral returns `400` with `"status": "FAILED"` and a `message`. `errorKey` is `SELF_REFERRAL` or `ALREADY_REFERRED` for those two cases.

**Who is affected:** headless storefronts, and servers that need to accept referrals or show referral history. Nothing changes for existing integrations. Purchase-based referral rewards and referral emails still need the Appstle Loyalty app embed on in the store's live theme.

Reference: [Accept a referral invite](https://developers.appstle.com/loyalty-admin-api/referrals/accept-a-referral-invite.md), [Get a customer's referral history](https://developers.appstle.com/loyalty-admin-api/referrals/get-a-customers-referral-history.md), and the [integration guide](https://developers.appstle.com/loyalty/integration-guide.md#accept-a-referral-from-your-server).

## `page` and `size` in the API reference

The API reference now lists `page` and `size` as separate query parameters on these endpoints, and `sort` where it changes the order. Until now it showed one required `pageable` object, and **Try it** sent it as `pageable={"page":0,"size":20}`. The API ignores `pageable` and returns the first 20 records. The endpoints' behavior didn't change.

The endpoints are `GET /api/external/top-customers` in the Admin API, and `GET /loyalty/cp/api/customer-referrals` and `GET /loyalty/cp/api/transaction-by-shop` in the Storefront API.

**Who is affected:** integrations that send `pageable`, such as clients generated from the OpenAPI file.

**Action required:** send `page` (zero-based) and `size` (default `20`, at most `2000`) as query parameters, such as `?page=1&size=50`. A larger `size` is treated as `2000`, with no error.

Reference: [Get top customers by points earned](https://developers.appstle.com/loyalty-admin-api/points-&-earn-rules/get-top-customers-by-points-earned.md), and in the Storefront API [Get customer referral history](https://developers.appstle.com/loyalty-storefront-api/referrals/get-customer-referral-history.md) and [Get customer point transaction history](https://developers.appstle.com/loyalty-storefront-api/points-&-earn-rules/get-customer-point-transaction-history.md).

## A `GET` to an unknown `/api/external/` path returns `404`

A `GET` with a valid API key to a path under `/api/external/` that has no `GET` endpoint now returns `404` with a JSON error body, for example:

```json theme={null}
{
  "type": "https://appstle.com/problem/problem-with-message",
  "title": "Not Found",
  "status": 404,
  "detail": "404 NOT_FOUND",
  "path": "/api/external/update-discount",
  "message": "error.http.404"
}
```

Until now, the same request returned `200` with the app's own HTML page. This applies whether the path is mistyped or the endpoint takes `POST`, `PUT` or `DELETE`, like `PUT /api/external/update-discount` in the example. A `POST`, `PUT` or `DELETE` to an unknown path is unchanged: it returns `405` with `Request method 'PUT' not supported` (or `'POST'`, `'DELETE'`). A request without a valid API key still returns `401` first.

**Who is affected:** integrations that send a `GET` to a path that has no `GET` endpoint, including `/api/external/` itself. Such a call used to look like a success: it returned `200`, and code that expected JSON failed while it read the HTML. It now fails with `404`. Calls to documented endpoints with their documented method see no change.

**Action required:** if a health check or script treats `200` from `/api/external/` or another unknown path as a pass, point it at a documented endpoint instead, such as `GET /api/external/point-earn-rules`.

Reference: [Base URL](https://developers.appstle.com/loyalty/integration-guide.md#base-url), [Get all point earning rules](https://developers.appstle.com/loyalty-admin-api/points-&-earn-rules/get-all-point-earning-rules.md).

**November 2, 2026**

Approvals, visit points, pagination links

## Store credit is issued only for pending transactions

**`PUT /api/external/approve-pending-transactions`**, when you send a list of transactions, now issues store credit only for the store-credit transactions that the call moves from `PENDING` to `APPROVED`. A store-credit transaction in the list that is already approved or rejected gets no store credit. Until now, the call issued store credit for every store-credit transaction in the list whatever its status, so a retried call credited the customer a second time, and a rejected transaction was credited too. The response is still `204`, and points transactions are approved as before.

**Who is affected:** integrations that approve store-credit transactions with a list and may send one that is already approved or rejected, for example on a retry. If you check the customer's store credit before a retry to avoid a second credit, you can remove that check.

Reference: [Approve pending point transactions](https://developers.appstle.com/loyalty-admin-api/points-&-earn-rules/approve-pending-point-transactions.md).

## Visit earn rule limits follow the store's time zone

**`POST /loyalty/cp/api/customer-visit-store`** awards points for the **Visit Site** earn rule only while the customer is under the rule's limit for its period. The period now follows the store's time zone. A day runs from midnight to midnight local time, and a week, month or year starts at local midnight 7, 30 or 365 days before today. Until now, the periods followed UTC, so on a store in any other time zone, a customer who visited before and after midnight UTC could earn a once-a-day rule twice on one local day. The call still returns `200` whether or not it awards points.

**Who is affected:** storefront code that tells customers when they can earn visit points again. Count from midnight in the store's time zone. A `200` doesn't mean the customer earned points: the call also returns `200` when they're over the limit or no visit rule applies. To show what they earned, read `availablePoints` and `pendingPoints` from `GET /loyalty/cp/api/customer-loyalty` after the call.

Reference: [Track customer store visit](https://developers.appstle.com/loyalty-storefront-api/points-&-earn-rules/track-customer-store-visit.md), [Get customer loyalty information](https://developers.appstle.com/loyalty-storefront-api/customer-enrollment-&-profile/get-customer-loyalty-information.md).

## Pagination `Link` URLs start with `https://`

`GET /api/external/top-customers`, the only paginated Admin API endpoint, returns a `Link` header with the URLs of the first and last pages, and of the next and previous pages when they exist. Until now, those URLs started with `http://`, even when you called `https://loyalty-admin.appstle.com`. Following one sent the request over plain HTTP and got a `301` redirect to the same URL on `https://`. They now start with `https://`.

**Who is affected:** clients that follow `Link` URLs as they are. Their requests now go straight to HTTPS, without the redirect. If your code rewrites `http://` to `https://` before it follows a `Link` URL, you can drop that step; keeping it does no harm.

Reference: [Get top customers by points earned](https://developers.appstle.com/loyalty-admin-api/points-&-earn-rules/get-top-customers-by-points-earned.md).

**November 1, 2026**

Points, approvals, birth dates

## Stricter validation on points, approvals and birth dates

These calls now return `400` for requests they used to accept. The problem `title` in the response says what's wrong.

* **`POST /api/external/add-points`** and **`POST /api/external/remove-points`** reject a `points` value of `0` or less with the title `Points must be greater than 0`. Until now, `0` and negative values were accepted. To take points away, call `remove-points` with a positive number.
* **`add-points`** rejects an `earnRuleId` whose earn rule is turned off, with the title `Point Earn Rule is not active`. It already rejected an unknown rule and a rule outside its scheduled dates. The same check applies to the **Rule Id** field of the Shopify Flow **Add Points** action.
* **`PUT /api/external/approve-pending-transactions`** approves every pending transaction only when you set `approveAllPendingTransactions=true`. A call that sends no approval list (or an empty one) and leaves out `approveAllPendingTransactions` now returns `400` with the title `Please provide an approval list or set approveAllPendingTransactions to true`. Until now, that call returned `204` and approved every pending transaction in the store.
* **`PUT /api/external/update-customer-birth-date`** validates `dob` the way the Storefront API already did. A missing `dob`, a year before 1900 or a date in the future returns `400` with the title `UserGeneratedError:Please enter a valid birthdate.` When you send `dobYearProvided: false`, only a missing `dob` is rejected. An unknown `customerId` now returns `400` with the title `Customer not found using this customerID` instead of an empty `500`.

**Who is affected:** integrations that send `0` or negative `points`, pass the ID of a turned-off earn rule, call `approve-pending-transactions` without a list to approve everything, or send birth dates without validating them.

**Action required:** send a positive `points` value, and send an `earnRuleId` only for an active earn rule. To approve every pending transaction, set `approveAllPendingTransactions=true`. Validate birth dates before you send them. Handle `400` on these calls and log the `title`.

### Reference corrections

The API reference now matches what these endpoints have always done. Their behavior didn't change.

* **`GET /api/external/customer-loyalty`** returns `400`, not `404`, when the customer isn't found. The title is `Customer not found using this customerID`, `Customer not found using this email`, or `Customer info not found` when you send neither `customerId` nor `customerEmail`. Without `status`, only `UNUSED` rewards are returned. `status` takes one or more of `UNUSED`, `USED`, `EXPIRED`, `SUBSCRIPTION_ACTIVE`, `REFUNDED` and `CANCELED`, separated by commas, and any other value returns `400`.
* **`PUT /api/external/check-discount`** returns the reward whatever its status, so check `status` before you apply the code. An unknown code returns `400` with the title `Discount is not found`, not `404`.
* When the earn rule you pass to `add-points` requires manual approval, the points stay pending until you approve them with `approve-pending-transactions`.

Reference: [Add points to customer account](https://developers.appstle.com/loyalty-admin-api/points-&-earn-rules/add-points-to-customer-account.md), [Remove points from customer account](https://developers.appstle.com/loyalty-admin-api/points-&-earn-rules/remove-points-from-customer-account.md), [Approve pending point transactions](https://developers.appstle.com/loyalty-admin-api/points-&-earn-rules/approve-pending-point-transactions.md), [Update customer birth date](https://developers.appstle.com/loyalty-admin-api/customer-enrollment-&-profile/update-customer-birth-date.md), [Get customer loyalty details](https://developers.appstle.com/loyalty-admin-api/customer-enrollment-&-profile/get-customer-loyalty-details.md), [Check discount code validity](https://developers.appstle.com/loyalty-admin-api/redemptions-&-discount-codes/check-discount-code-validity.md).

**October 30, 2026**

Social media points

## Social media claims return the link to open

When `POST /loyalty/cp/api/claim-social-media-points` awards points, the response includes `redirectUrl`, the social media link set on the earn rule. Open it for the customer after the claim. A refused claim returns `redirectUrl` as `null`.

Reference: [Claim social media reward points](https://developers.appstle.com/loyalty-storefront-api/points-&-earn-rules/claim-social-media-reward-points.md).

**October 29, 2026**

Flow points actions

## Add Points and Remove Points apply once per action run

Shopify Flow resends an action with the same action run ID when it doesn't get a response in time. The **Add Points** and **Remove Points** actions now apply the points once per action run, so a resent action no longer adds or removes them a second time.

**Who is affected:** workflows that guard against doubled points, for example with a tag check before the action. You can remove that guard.

Reference: [Shopify Flow](https://developers.appstle.com/loyalty/shopify-flow.md).

**October 27, 2026**

Rewards

## Return an unused reward for its points

New `POST /loyalty/cp/api/return-reward/{rewardId}` lets a signed-in customer hand back a reward they haven't used and get its points back. The discount code is removed from Shopify and the points are credited as a `REDEEM_REVERSAL` transaction. The response is the customer's updated loyalty details, in the same shape as `redeem-points` returns.

It works only when the merchant has turned on **Let customers return unused rewards** in **Advanced Settings**. Only a discount code the customer bought with points can be returned, and only while it's unused and hasn't expired. Store credit and gifted rewards (VIP tier, birthday, referral) can't be returned.

Otherwise the call returns `400`. The `title` explains why, and `message` is `error.` followed by one of `rewardReturnDisabled`, `idnotfound`, `rewardNotUnused`, `rewardNotReturnable`, `rewardExpired`, `rewardUsageUnverified` or `rewardActionInProgress`. The last two are temporary, so the customer can try again.

**Who is affected:** storefronts that list a customer's rewards. Nothing changes until you call the endpoint.

Reference: [Return an unused reward for its points](https://developers.appstle.com/loyalty-storefront-api/redemptions-&-discount-codes/return-an-unused-reward-for-its-points.md).

**October 24, 2026**

API keys

## Merchants can revoke the legacy API key

In the Appstle admin, under **More → API Integrations**, the **Legacy API Key** card has a **Revoke** button. After a merchant revokes it, every request that sends that key returns `401` with `{"status":401,"detail":"Invalid authentication"}`, the same response as any other wrong key (see [Authentication errors](https://developers.appstle.com/loyalty/authentication.md#authentication-errors)). Appstle doesn't issue a replacement. Keys that start with `apst_` aren't affected.

**Who is affected:** integrations that still send the key shown on the **Legacy API Key** card.

**Action required:** create an `apst_` key under **More → API Integrations** and move your integration to it before the merchant revokes the legacy key.

**October 22, 2026**

Widget labels

## Hover labels for reward activation and expiry

`GET /api/external/widget-labels` returns two new label fields: `rewardActivationDelayHoverLabel` and `rewardExpirationHoverLabel`.

Reference: [List storefront widget label translations](https://developers.appstle.com/loyalty-admin-api/storefront-widgets-&-labels/list-storefront-widget-label-translations.md).

**October 21, 2026**

Redemptions, earn rules

## Redeeming a reward can fail when its Shopify discount has expired

`POST /api/external/redeem-points` and `POST /loyalty/cp/api/redeem-points` now return `400` with the title `UserGeneratedError:This reward is temporarily unavailable. Please try again later or contact the store.` when the Shopify discount behind the redeem rule has expired. Before, Appstle issued a code that Shopify then rejected at checkout, and the customer lost the points. Since October 22, Appstle first tries to renew the expired discount and returns this error only when it can't. The customer's points aren't deducted when the call fails.

Show the title to the customer or log it, and retry later. Tell the merchant to check the redeem rule's discount in Shopify.

## Subscription and sign-up settings on earn rules

`GET /api/external/point-earn-rules` returns three new booleans on each rule:

* `earnOnInitialSubscriptionOrder` and `earnOnRecurringSubscriptionOrder` say whether a purchase rule awards points for subscription products on a subscription's first order and on its renewal orders. When one is missing, treat it as `true`.
* `awardExistingCustomers` applies to the sign-up rule. When it's `true`, customers who joined before the rule was created can still earn its points. When it's missing, treat it as `false`.

Reference: [Redeem customer points for rewards](https://developers.appstle.com/loyalty-admin-api/redemptions-&-discount-codes/redeem-customer-points-for-rewards.md), [Get all point earning rules](https://developers.appstle.com/loyalty-admin-api/points-&-earn-rules/get-all-point-earning-rules.md).

**October 18, 2026**

Widget labels

## Greeting icon in widget settings

`GET /api/external/widget-labels` returns a new field, `customerGreetingsIcon`.

Reference: [List storefront widget label translations](https://developers.appstle.com/loyalty-admin-api/storefront-widgets-&-labels/list-storefront-widget-label-translations.md).

**October 16, 2026**

Earn rules

## Recurring schedule on earn rules

`GET /api/external/point-earn-rules` returns `ruleRecurrence`, a JSON string that limits a rule to certain days on top of its start and end dates. It holds two lists: `weeks`, the weeks of the month (week 1 is days 1 to 7), and `days`, the days of the week (`MONDAY` to `SUNDAY`). Both are read in the store's time zone, and an empty list means any week or any day. `ruleRecurrence` is empty when a rule has no recurrence.

Reference: [Get all point earning rules](https://developers.appstle.com/loyalty-admin-api/points-&-earn-rules/get-all-point-earning-rules.md).

**October 15, 2026**

Referrals

## Error key for self-referrals

* `GET` and `POST /loyalty/cp/api/referral-rules/accept-offer` return `errorKey` `SELF_REFERRAL` when a customer tries to accept their own referral offer. The response was already `400` with `status` `FAILED`. Until now, `errorKey` was empty for this case.
* `GET /api/external/widget-labels` returns `selfReferralErrorLabel`, the text to show for that error.

**Who is affected:** clients that map `errorKey` to a fixed list of values.

**Action required:** accept values you don't recognize.

Reference: [Accept referral offer (POST)](https://developers.appstle.com/loyalty-storefront-api/referrals/accept-referral-offer-post.md).

**October 6, 2026**

Widget labels

## Label for unused rewards

`GET /api/external/widget-labels` returns a new field, `unusedRewardsLabel`.

Reference: [List storefront widget label translations](https://developers.appstle.com/loyalty-admin-api/storefront-widgets-&-labels/list-storefront-widget-label-translations.md).

**October 5, 2026**

Referrals

## `existingCustomer` on referral offers

`GET` and `POST /loyalty/cp/api/referral-rules/accept-offer` return `existingCustomer` (boolean). On success, it's `true` when the referred email already belongs to a customer of the store. `GET /api/external/widget-labels` returns `referralExistingCustomerAcceptedText`.

Reference: [Accept referral offer (POST)](https://developers.appstle.com/loyalty-storefront-api/referrals/accept-referral-offer-post.md).

**October 3, 2026**

Redemptions

## Turned-off redeem rules can't be redeemed

`POST /api/external/redeem-points` and `POST /loyalty/cp/api/redeem-points` return `400` with the title `Redeem rule not available` when the redeem rule is turned off, the same title as for an unknown rule. Until now, a turned-off rule could still be redeemed through the API.

**Who is affected:** integrations that store redeem rule IDs and keep using them after the merchant turns a rule off.

**Action required:** take redeem rule IDs from `GET /api/external/point-redeem-rules`, which lists only active rules, and handle `400` on `redeem-points`.

Reference: [Redeem customer points for rewards](https://developers.appstle.com/loyalty-admin-api/redemptions-&-discount-codes/redeem-customer-points-for-rewards.md), [Get all point redemption rules](https://developers.appstle.com/loyalty-admin-api/redemptions-&-discount-codes/get-all-point-redemption-rules.md).

**October 2, 2026**

Rewards

## Delayed reward activation

* Redeem rules (`GET /api/external/point-redeem-rules`) return `activationDelayDays`, the number of days before a redeemed reward becomes usable.
* Rewards in `customer-loyalty`, `add-points`, `add-credits`, `redeem-points`, `remove-points` and `update-discount-code-status` responses carry `activeFrom`, the date the reward becomes usable. `check-discount` and `update-discount` return `activeFrom` too.
* The Storefront API returns `rewards[].activeFrom` from `GET /loyalty/cp/api/customer-loyalty` and `POST /loyalty/cp/api/redeem-points`.

**Who is affected:** integrations that show reward codes to customers.

**Action required:** check `activeFrom` first so you don't present a code that doesn't work yet.

Reference: [Get all point redemption rules](https://developers.appstle.com/loyalty-admin-api/redemptions-&-discount-codes/get-all-point-redemption-rules.md), [Get customer loyalty details](https://developers.appstle.com/loyalty-admin-api/customer-enrollment-&-profile/get-customer-loyalty-details.md).

**October 1, 2026**

Storefront API writes, social media points

## Storefront API writes need `X-Requested-With`

Every Storefront API request that isn't a `GET`, `HEAD` or `OPTIONS` must send the header `X-Requested-With: XMLHttpRequest`. Without it, the call returns `401` with `{"status":401,"detail":"Invalid authentication"}`, even for a signed-in customer.

**Who is affected:** storefront code that sends a Storefront API `POST`, `PUT` or `DELETE` without that header.

**Action required:** add `X-Requested-With: XMLHttpRequest` to every Storefront API write call.

## New refusal reason for social media claims

`POST /loyalty/cp/api/claim-social-media-points` can return `awarded` `false` with the `reason` `CREDIT_PENDING_RECONCILIATION`. This happens only for earn rules that give store credit: the claim is recorded, but Appstle couldn't confirm that the store credit was added. The `message` asks the customer to contact support before trying again.

**Who is affected:** clients that map `reason` to a fixed list of values.

**Action required:** accept `reason` values you don't recognize, and show the `message` for them.

Reference: [Enroll customer in loyalty program](https://developers.appstle.com/loyalty-storefront-api/customer-enrollment-&-profile/enroll-customer-in-loyalty-program.md), [Claim social media reward points](https://developers.appstle.com/loyalty-storefront-api/points-&-earn-rules/claim-social-media-reward-points.md).

**September 30, 2026**

Redeem rules

## `excludeProductData` on redeem rules

`GET /api/external/point-redeem-rules` returns `excludeProductData` on each rule: a JSON string that lists the products and variants the reward's discount doesn't apply to. It's empty when nothing is excluded.

Reference: [Get all point redemption rules](https://developers.appstle.com/loyalty-admin-api/redemptions-&-discount-codes/get-all-point-redemption-rules.md).

**September 23, 2026**

Widget labels

## Earn rule description labels

`GET /api/external/widget-labels` returns three new label fields: `buyProductRuleDescriptionLabel`, `buyProductFromCollectionRuleDescriptionLabel` and `earnRuleShowMoreLabel`.

Reference: [List storefront widget label translations](https://developers.appstle.com/loyalty-admin-api/storefront-widgets-&-labels/list-storefront-widget-label-translations.md).

**September 21, 2026**

Birthdays

## Birth year is optional on birthday updates

* `PUT /api/external/update-customer-birth-date` and `POST /loyalty/cp/api/update-customer-birth-date` accept `dobYearProvided` (boolean). When `false`, the year in `dob` is a placeholder and only the month and day are used to match birthday rewards. It defaults to `true` when omitted, so existing clients behave as before.
* `customer-loyalty`, `add-points`, `add-credits`, `redeem-points`, `remove-points`, `update-discount-code-status` and `update-customer-birth-date` responses return `dobYearProvided`, and so does `POST /loyalty/cp/api/update-customer-status`.
* The birthday earn rule returns `collectBirthYear`. When it's `false`, the merchant has turned off **Ask for birth year**, so collect only the month and day and send `dobYearProvided: false`. When it's missing, treat it as `true`.

**Who is affected:** integrations that collect birthdays without a year. Send `dobYearProvided: false` with a placeholder year in `dob`.

Reference: [Update customer birth date](https://developers.appstle.com/loyalty-admin-api/customer-enrollment-&-profile/update-customer-birth-date.md).

**September 17, 2026**

Point transactions, error responses

## New transaction rule `REDEEM_REVERSAL`

The `transactionRule` field of a point transaction can now be `REDEEM_REVERSAL`, recorded when the points from a redeemed reward are returned to the customer. It isn't counted as newly earned points. The other values are `ADJUSTMENT`, `EARN_RULE`, `REDEEM_RULE` and `REFERRAL`. It appears in `GET /api/external/point-transaction-history/{customer_id}` and `GET /loyalty/cp/api/transaction-by-shop`.

**Who is affected:** clients that map `transactionRule` to a fixed list of values.

**Action required:** accept values you don't recognize.

Reference: [Get customer point transaction history](https://developers.appstle.com/loyalty-admin-api/points-&-earn-rules/get-customer-point-transaction-history.md).

## Error responses use `appstle.com` problem types and hide internal text in server errors

The `application/problem+json` error responses changed in two ways:

* The `type` of an error now starts with `https://appstle.com/problem/`, for example `https://appstle.com/problem/problem-with-message` or `https://appstle.com/problem/constraint-violation`. Before, it started with a different base URL.
* A server error (`5xx`) now has the `detail` `An unexpected error occurred. Please try again later.` Before, `detail` could carry the text of the internal error.

**Who is affected:** clients that match on the `type` URL, or on the text of `detail` in a `5xx` error.

**Action required:** stop matching on `type`. Branch on `status`, and on `errorKey` or `title` where the body has them. Treat `detail` in a `5xx` error as a generic message.

**September 16, 2026**

Birthdays

## Customers can't change a birth date that's already set

`POST /loyalty/cp/api/update-customer-birth-date` no longer changes a birth date the customer already has. It returns `400` with the title `UserGeneratedError:Birthdate has already been set. Please contact the store to update it.` and leaves the birth date as it is. A customer who has no birth date can still set one.

**Who is affected:** storefronts that let signed-in customers change their birthday.

**Action required:** don't offer customers a way to change a birth date once it's set. To change one, call `PUT /api/external/update-customer-birth-date` from your server, which doesn't have this restriction.

Reference: [Update customer birth date](https://developers.appstle.com/loyalty-storefront-api/customer-enrollment-&-profile/update-customer-birth-date.md), [Update customer birth date (Admin API)](https://developers.appstle.com/loyalty-admin-api/customer-enrollment-&-profile/update-customer-birth-date.md).

**September 14, 2026**

Redeem rules, customer updates

## Discount expiry on redeem rules

`GET /api/external/point-redeem-rules` returns `discountExpirationType` (`DAY`, `MONTH` or `YEAR`), `discountExpirationValue` and `enableDiscountExpirationOverride` on each rule.

## Birthday and status updates return only the profile

`POST /loyalty/cp/api/update-customer-birth-date` and `POST /loyalty/cp/api/update-customer-status` return a smaller customer object. Only the profile fields are filled in: `shop`, `customerId`, `firstName`, `lastName`, `displayName`, `email`, `dob`, `status` and `loyaltyProgramEnabled`. The counters `completedActivities`, `rewardClaimed`, `referrals` and `totalRevenue` are always `0`, and every other field is `null`, including `id`, `availablePoints`, `pendingPoints`, `availableStoreCredits` and `vipTier`. Until now, these calls returned the customer's full record. The API reference lists more fields, such as `totalEarnedPoints`, but they're always `null` here.

**Who is affected:** storefront code that reads points, store credit or the VIP tier from these responses.

**Action required:** after the call, read `availablePoints`, `storeCreditBalance` and `currentVipTier` from `GET /loyalty/cp/api/customer-loyalty`.

Reference: [Get all point redemption rules](https://developers.appstle.com/loyalty-admin-api/redemptions-&-discount-codes/get-all-point-redemption-rules.md), [Update customer birth date](https://developers.appstle.com/loyalty-storefront-api/customer-enrollment-&-profile/update-customer-birth-date.md), [Update customer loyalty status](https://developers.appstle.com/loyalty-storefront-api/customer-enrollment-&-profile/update-customer-loyalty-status.md).

**September 13, 2026**

Session checks

## Storefront requests must match the session

The Storefront API now checks the `customerId` you send against the signed-in customer's session. A `customerId` in the request body or query string that isn't the signed-in customer's returns `403` with the `detail` `Customer does not match the authenticated session`. The bodies of `redeem-points`, `update-customer-birth-date` and `update-customer-status` have a `customerId` field.

Until now, these endpoints ignored `customerId` and used the session's customer.

**Who is affected:** storefront code that sends `customerId`, for example in a body copied from the API reference, whose examples still show `customerId`.

**Action required:** leave `customerId` out of Storefront API requests. The session already identifies the customer.

Reference: [Redeem customer loyalty points](https://developers.appstle.com/loyalty-storefront-api/redemptions-&-discount-codes/redeem-customer-loyalty-points.md), [Update customer birth date](https://developers.appstle.com/loyalty-storefront-api/customer-enrollment-&-profile/update-customer-birth-date.md), [Update customer loyalty status](https://developers.appstle.com/loyalty-storefront-api/customer-enrollment-&-profile/update-customer-loyalty-status.md).

**September 11, 2026**

Partner authentication

## One error for every failed partner authentication

`connect`, `initiate-connect`, `verify`, `disconnect` and `status` under `/api/partner/{partnerId}/` now return the same error for every authentication failure: `400` with the `errorKey` `TOKEN_INVALID` and the title `UserGeneratedError:Invalid partner credentials.` That covers a Partner ID that is wrong or belongs to a deactivated partner, a missing or wrong `X-Partner-Secret`, and an invalid HMAC signature or a timestamp more than 5 minutes off. Until now, an unknown or deactivated Partner ID returned `PARTNER_NOT_FOUND`, and each authentication failure had its own title, such as `UserGeneratedError:Invalid partner secret.`

**Who is affected:** partners whose code branches on `PARTNER_NOT_FOUND`, or on the title of a `TOKEN_INVALID` error.

**Action required:** stop handling `PARTNER_NOT_FOUND` and the old titles. On `TOKEN_INVALID` with the title `UserGeneratedError:Invalid partner credentials.`, check the Partner ID first, then the secret or HMAC key.

Reference: [Partner integration](https://developers.appstle.com/loyalty/partner-integration.md#error-codes).

**September 10, 2026**

Daily call allowance

## Optional daily call allowance per store

The Admin API (`/api/external/`) can now enforce a daily call allowance for a store. Appstle support sets it per store, and a store without one has no daily cap. Calls made with a partner token don't count toward it.

When a store uses up its allowance, every Admin API call made with its API key returns `429` until 00:00 UTC. The response has a `Retry-After` header with the number of seconds left until then, and this body (key order can vary):

```json theme={null}
{
  "status": 429,
  "detail": "Daily API call limit reached for this store. The allowance resets at 00:00 UTC."
}
```

The Admin API's other `429` responses, for the per-minute rate limit and for too many `PUT` calls at once, have no `Retry-After` header, and their body has an `error` field instead of `detail`.

**Who is affected:** integrations that make many Admin API calls a day with one store's API key.

**Action required:** when a `429` has a `Retry-After` header, stop calling until it elapses, because retrying sooner can't succeed. Keep exponential backoff for a `429` without one.

Reference: [Rate limits](https://developers.appstle.com/loyalty/integration-guide.md#rate-limits).

**September 8, 2026**

Widget labels

## Label for already claimed social actions

`GET /api/external/widget-labels` returns a new field, `socialAlreadyClaimedLabel`.

Reference: [List storefront widget label translations](https://developers.appstle.com/loyalty-admin-api/storefront-widgets-&-labels/list-storefront-widget-label-translations.md).

**September 7, 2026**

Credit expiry, widget labels

## Credit expiry date on point transactions

* Point transactions return `creditExpireAt`, the date the store credit from a transaction expires. It's set only when the store has credit expiry turned on. It appears in `GET /api/external/point-transaction-history/{customer_id}` and `GET /loyalty/cp/api/transaction-by-shop`.
* `GET /api/external/widget-labels` returns `dedicatedPageUnavailableLabel`.

Reference: [Get customer point transaction history](https://developers.appstle.com/loyalty-admin-api/points-&-earn-rules/get-customer-point-transaction-history.md).

**September 5, 2026**

Referrals, authentication errors

## Referral errors and a smaller referral history

* `GET` and `POST /loyalty/cp/api/referral-rules/accept-offer` return `errorKey`. When the offer is refused because the friend was already referred, the response is `400` with `status` `FAILED` and `errorKey` `ALREADY_REFERRED`.
* `GET /api/external/widget-labels` returns `alreadyReferredErrorLabel`, the text to show for that error.
* `GET /loyalty/cp/api/customer-referrals` returns less about each referral. `referredEmailId` is always masked, so `jane@example.com` comes back as `j**e@e******.com`. `description`, `referralRuleId`, `referralNote`, `referredNote` and `pixelData` are always `null`. Until now, these fields had values, and the email was masked only in some stores. `orderCount` is listed in the API reference but is always `null` on this endpoint.

**Who is affected:** storefronts that show a friend's full email, or read the fields that are now `null`, from the referral history.

**Action required:** show `referredEmailId` as it comes, and build the history from `status`, `createAt`, `claimAt`, `referralRewarded` and `referredRewarded`.

## New body for authentication errors, and `shop` must match the key

* When the API key or the customer's storefront session is missing or invalid, the Admin API and the Storefront API return `401` with `{"status":401,"detail":"Invalid authentication"}`. Until now, the body was an `application/problem+json` document with the title `Unauthorized`.
* An Admin API call with a `shop` parameter that names a store other than the API key's store returns `403` with the `detail` `Shop does not match the authenticated session`. Until now, `shop` was ignored.

**Action required:** treat any `401` as a credential problem without parsing its body, and leave `shop` out of Admin API calls, since your API key already identifies the store.

Reference: [Accept referral offer (POST)](https://developers.appstle.com/loyalty-storefront-api/referrals/accept-referral-offer-post.md), [Get customer referral history](https://developers.appstle.com/loyalty-storefront-api/referrals/get-customer-referral-history.md), [Authentication errors](https://developers.appstle.com/loyalty/authentication.md#authentication-errors).

**September 4, 2026**

Enrollment, redemptions

## Storefront enrollment no longer accepts a VIP tier

`POST /loyalty/cp/api/enroll-customer` no longer moves a customer into the VIP tier named in `vipTier`. A signed-in customer's request that includes `vipTier` now returns `400` with the title `VIP tier changes require merchant access.` Enrolling a customer without `vipTier` works as before.

## Stricter checks on redemptions

* `POST /api/external/redeem-points` and `POST /loyalty/cp/api/redeem-points` return `400` with the title `Points to redeem must be greater than zero.` when the redeem rule's `type` is `DYNAMIC_DISCOUNT` and `points` is missing, `0` or negative. Until now, a missing `points` returned the title `UserGeneratedError:Please enter the number of points to redeem`.
* When a redeem rule is limited to customers with certain tags and Appstle can't read the customer's tags from Shopify, `redeem-points` returns `400` with the title `Unable to verify reward eligibility. Please try again.` Until now, the redemption went ahead without the tag check. The error is temporary.

**Who is affected:** storefronts that send `vipTier` when enrolling a customer, and integrations that redeem dynamic-discount rules.

**Action required:** remove `vipTier` from the enrollment body. Send a positive `points` value for a dynamic-discount rule, and retry `redeem-points` after `Unable to verify reward eligibility. Please try again.`

Reference: [Enroll customer in loyalty program](https://developers.appstle.com/loyalty-storefront-api/customer-enrollment-&-profile/enroll-customer-in-loyalty-program.md), [Redeem customer points for rewards](https://developers.appstle.com/loyalty-admin-api/redemptions-&-discount-codes/redeem-customer-points-for-rewards.md).

**September 2, 2026**

Flow review points

## Reward Points for Reviews accepts any Product ID

The **Reward Points for Reviews** action now awards the points when **Product ID** is empty or isn't a Shopify product ID, for example when a review app passes a SKU or a handle. Until now, the action failed in those cases and awarded nothing.

**Who is affected:** workflows whose review app passes something other than a Shopify product ID as **Product ID**. Those actions now succeed.

Reference: [Reward Points for Reviews](https://developers.appstle.com/loyalty/shopify-flow.md#reward-points-for-reviews).

**August 20, 2026**

Social media points

## Social media claims say whether points were awarded

`POST /loyalty/cp/api/claim-social-media-points` now returns a body that says what happened. Until now, it returned `200` with an empty body whether or not the customer earned points. A refused claim still returns `200`, so read the body:

* `awarded` (boolean): `true` when the points were added.
* `reason` (string): `AWARDED`, or why the claim was refused: `CUSTOMER_EXCLUDED`, `RULE_NOT_FOUND`, `RULE_OUTSIDE_SCHEDULE`, `CUSTOMER_TAGS_UNAVAILABLE`, `RESTRICTED_CUSTOMER_TAG`, `MISSING_ALLOWED_CUSTOMER_TAG`, `IMPORTED_CUSTOMER`, `ALREADY_CLAIMED` or `NOT_ELIGIBLE`.
* `message` (string): a short description of the outcome.
* `points` (number): the points added. It's `null` when the claim is refused.

The API reference doesn't show this body yet.

Reference: [Claim social media reward points](https://developers.appstle.com/loyalty-storefront-api/points-&-earn-rules/claim-social-media-reward-points.md).

**August 10, 2026**

Earn rules

## Extra points for review photos and videos

`GET /api/external/point-earn-rules` returns `addAdditionalPhotoPoints`, `additionalPhotoPoints`, `addAdditionalVideoPoints` and `additionalVideoPoints` on review earn rules.

Reference: [Get all point earning rules](https://developers.appstle.com/loyalty-admin-api/points-&-earn-rules/get-all-point-earning-rules.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.