Delete company discount

Deletes the discount.

Request
query Parameters
companyId
required
integer <int32>

The company internal id for the discount.

Request Body schema:

The discount to delete. See CompanyDiscount entity for details.

TypeId
integer <int32>

The TypeId defines the rule for how Value is interpreted. 1 = Category discount, 2 = DiscountCode on product. Cannot be changed.

Value
string

The value to check for on products. If TypeID = 1 then discounts are valid for all products belonging to Category with Category.Code = Value. If TypeId = 2 then the product's discount code is checked. Cannot be changed. MaxLength: 50

Discount
number <decimal>

The actual discount percentage. Ex: 15.00 equals 15% discount.

PriceListTypeSeed
string

An optional comma-separated list of priceList type-ids for which the discount is valid. MaxLength: 50

Responses
200

Success

500

Internal Server Error

post/CustomerService.svc/rest/DeleteCompanyDiscount
Request samples
{
  • "TypeId": 0,
  • "Value": "string",
  • "Discount": 0,
  • "PriceListTypeSeed": "string"
}