Create a Motivation Code
Creates a motivation code you can attribute gifts to.
name and code, the mediaType describing where it is used, and optionally the groups it belongs to. Returns the created code with its new id, which you can pass as motivationCodeId when processing a donation.Authorizations
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Body
The motivation code details to create.
The name of the motivation code.
1 - 100The code itself, as it appears on gifts.
1 - 100The kind of media the code is used for, such as Email or Direct Mail.
0, 1, 2, 3, 4, 5, 6, 7 The URL of the site or ad the code is used on.
100The description of the motivation code.
1000The postal codes the code was used in, separated by commas.
100The revenue attributed to the code, used for reporting on its return.
What running the code cost, used for reporting on its return.
The position of the code in the order it is displayed in.
Whether the code is pinned to the top of the list.
The groups the code belongs to.
Response
OK
The unique identifier of the motivation code.
The name of the motivation code.
The code itself, as it appears on gifts.
The kind of media the code is used for, such as Email or Direct Mail.
0, 1, 2, 3, 4, 5, 6, 7 The URL of the site or ad the code is used on.
The description of the motivation code.
The postal codes the code was used in, separated by commas.
The revenue attributed to the code, used for reporting on its return.
What running the code cost, used for reporting on its return.
The position of the code in the order it is displayed in.
Whether the code is pinned to the top of the list.
The groups the code belongs to.