POST /shop/discount-codes/create
Scope required: (Manage Team)
Create new tag
Servers
- https://www.uchat.com.au/api
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
once_per_order |
Integer | No | |
start_time |
String | Yes | |
min_require |
String | No | |
code |
String | Yes | |
min_qty |
Integer | No | |
type |
String | Yes | |
min_price |
Number | No | |
has_usage_limit |
Integer | No | |
one_per_customer |
Integer | No | |
discount_amount |
Number | No | |
max_usage_count |
Integer | No | |
discount_percentage |
Integer | No | |
end_time |
String | Yes |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.