Body
Define project details.
Request body schema for POST /management/v1/projects
.
Determines if the vouchers in the project will be case sensitive (if true
, C0dE-cfV
is not equal to c0de-cfv
) or case insensitive (if false, C0dE-cfV
is equal to c0de-cfv
).
The name of the project.
The time zone in which the project is established. It can be in the GMT format or in accordance with IANA time zone database.
The currency used in the project. It is equal to a 3-letter ISO 4217 code.
A user-defined description of the project, e.g. its purpose, scope, region.
The country dial code for the project. It is equal to an ITU country code.
The webhook version used in the project.
v2024-01-01
An array of URL addresses that allow client requests.
Enables client-side redemption.
Enables client-side publication.
Enables client-side listing of vouchers.
Enables client-side creation of customers.
Enables client-side events for loyalty and referral programs.
Enables client-side setting of voucher expiration date.
Determines the notification settings for webhook callouts configured in Distributions and Project settings.
Determines the notification settings.
The identifier of the cluster where the project will be created. The default cluster is eu1
unless otherwise configured.
The API version used in the project. Currently, the default and only value is v2018-08-01
.
v2018-08-01
The users (their identifiers, logins, and roles) who will be assigned to the project. You can assign only existing Voucherify users.
It must be used either in the following combinations:
id
androle
, orlogin
androle
.
Response
Returns the details of a created project.
Response body schema for POST management/v1/projects
.
Object representing a project.
Returns app_id
and app_token
for the server-side and client-side authentication.
Unique identifier of the project.
The name of the project.
A user-defined description of the project, e.g. its purpose, scope, region.
The time zone in which the project is established. It can be in the GMT format or in accordance with IANA time zone database.
The currency used in the project. It is equal to a 3-letter ISO 4217 code.
The webhook version used in the project.
v2024-01-01
An array of URL addresses that allow client requests.
Enables client-side redemption.
Enables client-side publication.
Enables client-side listing of vouchers.
Enables client-side creation of customers.
Enables client-side events for loyalty and referral programs.
Enables client-side setting of voucher expiration date.
Determines the notification settings for webhook callouts configured in Distributions and Project settings.
Determines the notification settings.
The identifier of the cluster where the project will be created.
Determines if the vouchers in the project will be:
- case sensitive - if
true
,C0dE-cfV
is not equal toc0de-cfv
), - case insensitive - if
false
,C0dE-cfV
is equal toc0de-cfv
.
The API version used in the project. Currently, the default and only value is v2018-08-01
.
v2018-08-01
Determines if the project is a sandbox project.
Webhook token used for authentication.
Contains the app_id
and app_token
to authenticate server-side requests.
Contains the app_id
and app_token
to authenticate client-side requests.
The country dial code for the project. It is equal to an ITU country code.