POST /api/public/v1/customers/adjustStamps
Changed onChanges a member's stamps by hand, with a reason: add or take stamps on a row, or removeReward to remove a ready reward and the stamps it gave back, so the row is left below its count. Taking more than the row's live stamps is refused whole with UNPROCESSABLE_CONTENT; a row or reward the member does not hold, or a reward no longer ready, with NOT_FOUND; removing a ready reward an order holds that took a payment or that a terminal charge or a guest's QR-menu checkout is paying, which keeps its free line until it is paid or cancelled, with CONFLICT and refusal rewardInUse; a program that is not live with PRECONDITION_FAILED, and adding while the program's Stamps are off too. Refused with FORBIDDEN as stampsDisabled while the stamps flag is off for the organization. Adding stamps is refused with FORBIDDEN and refusal loyaltyDisabled while the business switched Loyalty off, featureRestrictedByPlan while its plan restricts Loyalty, or featureNotEntitled while its plan lacks Loyalty. Adding stamps: Refused with FORBIDDEN and refusal billingReadOnly once an overdue subscription's grace has run out, and subscriptionEnded once the business's verified base plan has ended with no eligible base in its place. Either refusal is lifted for this operation's category by an active plan grant whose plan allows it, which does not change the subscription's own standing. Refused with FORBIDDEN as paywallLocked when the caller is an Owner or Manager of a business the merchant Paywall locks: one with no verified subscription that has taken 5 orders while the Paywall's rollout reaches it, an order counting from its first saved line, whether or not it is paid or completed, until it is archived or cancelled before activation. Nothing is read or written; a verified subscription lifts the lock.
Request
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Request body
Changes
- info
endpoint added
- info