POST /api/public/v1/loyaltyTerms/document
Changed onReads 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 URLhttps://app.fortuneos.ai
- Authnone declared
Request body
Response
OK
Changes
- info
added the required property
rulesto the response with the status
- info
- info
endpoint added
- info