POST /shop/discount-codes/create

Scope required: (Manage Team)

Create new tag

Servers

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

  1. Add HTTP Task to your workflow definition.
  2. 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.
  3. Click Test request to test run your request to the API and see the API's response.