POST /api/public/v1/loyaltySignup/page

Changed on

Reads the loyalty sign-up page a join code opens: the business and its brand, the cashback and welcome offer, the phone field's country, the path of the loyalty Terms and Privacy Notice the join agrees to (termsPath, null for a brand that ships none; the deprecated privacy and terms are always empty), the captcha site key, whether the join asks for a WhatsApp code to the number (verifiesPhone) and whether the name, email and date of birth are off, optional or required (signupFields), whether the program's Points are on (offersPoints), and the stamps it offers (stamps: each active row's place, reward name, stamps to fill and signed image srcSet, and the welcome stamps; null while Stamps or the stamps flag are off), and the program's rules (rules), one plain-text English line each generated from its saved settings and the organization's currency: the points rules while Points are on, then the stamp rules while it takes stamps; or closed while the program is stopped, the merchant unpaid, the plan lacking Loyalty while Loyalty is enforced, or the region unset. NOT_FOUND for an unknown code or while sign-up is switched off.

Request

  • Base URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
code, string required

Response

OK

union required
object required
OR
object required

Changes

    • info

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

    • info

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

    • info

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