post
https://api.fundraisingbox.com/v1/promotionCodes.json
Creates a new promotion code.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
| Field | Description | Type | Mandatory |
|---|---|---|---|
| text | Text of the promotion code. In most cases this is an ID that is used in an external system. | string (100) | yes |
| type | An internal description | enum ("project", "source", "type") | yes |
| fb_project_id | ID of a project | integer | |
| fb_source_id | ID of a source | integer | |
| fb_type_id | ID of a payment type | integer |
Mandatory fieldsExactly one field of "fb_project_id", "fb_source_id", "fb_type_id" must be set.

