POST /api/public/v1/customers/tillOrderEarn

Changed on

What a paid order earned its loyalty member: the points and their balance after it, the stamps it earned over every row (stampsEarned) and the reward names of the rewards its earn filled, in row order (rewardsReady); a stamps-only earn answers earnedHundredths 0. Null when it earned neither points nor stamps, and while the plan lacks Loyalty under enforcement. 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 URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
orderId, string required

Response

OK

object nullable required
firstName, string nullable required
earnedHundredths, integer required
balanceHundredths, integer required
stampsEarned, integer required
rewardsReady, string[] required

Changes

    • info

      added the required property anyOf[subschema #1]/rewardsReady to the response with the status

    • info

      added the required property anyOf[subschema #1]/stampsEarned to the response with the status

    • info

      endpoint added