Parameter name | Value | Description |
---|---|---|
id |
string |
Identifier of the discount. |
name |
string |
Name of the discount. Writable. Max length: 255 |
duration |
string |
Duration of the discount, in seconds |
type |
string |
Type of discount. Values: "percentage", "fixedAmount". Writable. |
details |
list |
Details list of the discount. |
details[]. |
integer |
Priority order of the discount details. Writable. |
details[]. |
object |
Company linked with discount details. |
details[]. |
string |
Identifier of the company. Writable. |
details[]. |
string |
Name of the company. |
details[]. |
string |
API link to the company. |
details[]. |
object |
Service linked with discount details. |
details[]. |
string |
Identifier of the service. Writable. |
details[]. |
string |
Name of the service. |
details[]. |
string |
API link to the service. |
details[]. |
object |
Resource linked with discount details. |
details[]. |
string |
Identifier of the resource. Writable. |
details[]. |
string |
Name of the resource. |
details[]. |
string |
API link to the resource. |
Authentication is required to execute this request. Please refer to Authentication for more.
{discountId}
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
discountId |
string |
Discount identifier. |
Do not supply a request body with this method.
If successful, this method returns an empty response body.
Authentication is required to execute this request. Please refer to Authentication for more.
{discountId}
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
discountId |
string |
discount identifier. |
Do not supply a request body with this method.
If successful, this method returns a Discount resource in the response body.
Authentication is required to execute this request. Please refer to Authentication for more.
Do not supply a request body with this method.
If successful, this method returns a response body with the following structure:
Authentication is required to execute this request. Please refer to Authentication for more.
In the request body, supply a Discount Resource with the following properties:
Parameter name | Value | Description |
---|---|---|
Required Properties | ||
name |
string |
Name of the queue. |
If successful, this method returns a Discount resource in the response body.
Authentication is required to execute this request. Please refer to Authentication for more.
{discountId}
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
discountId |
string |
Queue identifier. |
In the request body, supply a Discount resource with the following properties:
Parameter name | Value | Description |
---|---|---|
Optional Properties |
If successful, this method returns a Discount resource in the response body.