Method

rxc-discounts-add

Description

This method will add a new discount to the system.

Parameters

Name Input Value Type Description
label String This is the new label for the discount.
description String This is the new description for the discount.
percent1 BigDecimal This is the discount percentage.
percent2 BigDecimal This is the second discount percentage.
flat_rate BigDecimal This is the discount flat rate.
max_discount BigDecimal This is the max discount of the discount.
flat_rate_per_day Boolean If this is turned on the flat rate will charge per day.
online_web_enabled Boolean If this is turned on the discount available on web.
format enumeration (optional) Set this value to "xml" for XML raw formatted output, "xml-clean" for XML tidy formatted output or "json" for JSON formatted output. If not passed, "xml" is used as a default

XML Encoded Request

URL Encoded Request





Result