POST v3/discounts/remove

Request Information

URI Parameters

None.

Body Parameters

StoreDiscount
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

applyTo

string

None.

type

string

None.

value

decimal number

None.

code

string

None.

createdDate

date

None.

startDate

date

None.

endDate

date

None.

conditionVariable

string

None.

conditionOperator

string

None.

conditionValue

decimal number

None.

isFeatured

boolean

None.

isAuto

boolean

None.

customCondition

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "applyTo": "sample string 3",
  "type": "sample string 4",
  "value": 5.0,
  "code": "sample string 6",
  "createdDate": "2022-09-30T04:35:29.3939132-06:00",
  "startDate": "2022-09-30T04:35:29.3939132-06:00",
  "endDate": "2022-09-30T04:35:29.3939132-06:00",
  "conditionVariable": "sample string 10",
  "conditionOperator": "sample string 11",
  "conditionValue": 12.0,
  "isFeatured": true,
  "isAuto": true,
  "customCondition": "sample string 15"
}

application/xml, text/xml

Sample:
<StoreDiscount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Blumev3.Models">
  <applyTo>sample string 3</applyTo>
  <code>sample string 6</code>
  <conditionOperator>sample string 11</conditionOperator>
  <conditionValue>12</conditionValue>
  <conditionVariable>sample string 10</conditionVariable>
  <createdDate>2022-09-30T04:35:29.3939132-06:00</createdDate>
  <customCondition>sample string 15</customCondition>
  <endDate>2022-09-30T04:35:29.3939132-06:00</endDate>
  <id>1</id>
  <isAuto>true</isAuto>
  <isFeatured>true</isFeatured>
  <name>sample string 2</name>
  <startDate>2022-09-30T04:35:29.3939132-06:00</startDate>
  <type>sample string 4</type>
  <value>5</value>
</StoreDiscount>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StoreDiscountListResponse
NameDescriptionTypeAdditional information
apiStatus

string

None.

isApproved

boolean

None.

data

Collection of StoreDiscount

None.

Response Formats

application/json, text/json

Sample:
{
  "apiStatus": "sample string 1",
  "isApproved": true,
  "data": [
    {
      "id": 1,
      "name": "sample string 2",
      "applyTo": "sample string 3",
      "type": "sample string 4",
      "value": 5.0,
      "code": "sample string 6",
      "createdDate": "2022-09-30T04:35:29.3939132-06:00",
      "startDate": "2022-09-30T04:35:29.3939132-06:00",
      "endDate": "2022-09-30T04:35:29.3939132-06:00",
      "conditionVariable": "sample string 10",
      "conditionOperator": "sample string 11",
      "conditionValue": 12.0,
      "isFeatured": true,
      "isAuto": true,
      "customCondition": "sample string 15"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "applyTo": "sample string 3",
      "type": "sample string 4",
      "value": 5.0,
      "code": "sample string 6",
      "createdDate": "2022-09-30T04:35:29.3939132-06:00",
      "startDate": "2022-09-30T04:35:29.3939132-06:00",
      "endDate": "2022-09-30T04:35:29.3939132-06:00",
      "conditionVariable": "sample string 10",
      "conditionOperator": "sample string 11",
      "conditionValue": 12.0,
      "isFeatured": true,
      "isAuto": true,
      "customCondition": "sample string 15"
    }
  ]
}

application/xml, text/xml

Sample:
<StoreDiscountListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Blumev3.Models">
  <apiStatus>sample string 1</apiStatus>
  <data>
    <StoreDiscount>
      <applyTo>sample string 3</applyTo>
      <code>sample string 6</code>
      <conditionOperator>sample string 11</conditionOperator>
      <conditionValue>12</conditionValue>
      <conditionVariable>sample string 10</conditionVariable>
      <createdDate>2022-09-30T04:35:29.3939132-06:00</createdDate>
      <customCondition>sample string 15</customCondition>
      <endDate>2022-09-30T04:35:29.3939132-06:00</endDate>
      <id>1</id>
      <isAuto>true</isAuto>
      <isFeatured>true</isFeatured>
      <name>sample string 2</name>
      <startDate>2022-09-30T04:35:29.3939132-06:00</startDate>
      <type>sample string 4</type>
      <value>5</value>
    </StoreDiscount>
    <StoreDiscount>
      <applyTo>sample string 3</applyTo>
      <code>sample string 6</code>
      <conditionOperator>sample string 11</conditionOperator>
      <conditionValue>12</conditionValue>
      <conditionVariable>sample string 10</conditionVariable>
      <createdDate>2022-09-30T04:35:29.3939132-06:00</createdDate>
      <customCondition>sample string 15</customCondition>
      <endDate>2022-09-30T04:35:29.3939132-06:00</endDate>
      <id>1</id>
      <isAuto>true</isAuto>
      <isFeatured>true</isFeatured>
      <name>sample string 2</name>
      <startDate>2022-09-30T04:35:29.3939132-06:00</startDate>
      <type>sample string 4</type>
      <value>5</value>
    </StoreDiscount>
  </data>
  <isApproved>true</isApproved>
</StoreDiscountListResponse>