Pass Templates
Create Pass Template
Create Pass Template
Creates a new pass template based on the provided data.
Parameters:
- input (dict): The template data.
- user (User): The currently authenticated user.
- background_tasks (BackgroundTasks): Background tasks for asynchronous execution.
Returns:
- dict: The newly created pass template.
post/v2/templates
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
object required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 7 revisions of this API.