Loyalty
Create Loyalty Program
Changed onCreate a new loyalty program.
Args:
- data: Payload to create the program.
- user: The user creating the program, derived from the current session.
Returns:
- JSON response with the created program details or an error message.
post/v2/programs
Request
- Base URLhttps://api.loyalty.dog
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
authorizationstring nullable
Request body
Response
Successful Response
unknown required
Changes
- warning
removed the request property
- warning
removed the request property
- warning
- info
added the new optional request property
- info
added the new optional request property
- info