POST /api/public/v1/loyaltyTerms/document

Changed on

Reads the loyalty Terms and Privacy Notice of the organization organizationSlug names: the business name, its brand, the document's Markdown with its {{rightsContact}} and {{contact}} tokens unfilled, the merchant details (merchantName, email, phone, address, null when unset) that fill them as plain text, and the program's rules (rules), one plain-text line each, generated from its saved settings and the organization's currency, the stamp rules of its active rows after the points rules while the program takes stamps (its Stamps and the stamps flag on). Each detail is the merchant's own value from the Loyalty page, else the one Settings holds; the name from Settings is the registered legal name, else the trade name, else the organization's name. Answers while the program is stopped and while sign-up is off. NOT_FOUND for an unknown slug, an organization that never launched a loyalty program, or a brand that ships no such document. Anonymous and read-only.

Request

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

Request body

object required
organizationSlug, string required

Response

OK

object required
businessName, string required
brandId, string required
markdown, string required
details, object required
rules, string[] required

Changes