/promotionCodes.json

Creates a new promotion code.

Log in to see full request history

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 fields

Exactly one field of "fb_project_id", "fb_source_id", "fb_type_id" must be set.

Responses

Language
Credentials
:
Click Try It! to start a request and see the response here! Or choose an example:
application/json