GET v3/discounts

Request Information

URI Parameters

None.

Body Parameters

None.

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-10-07T13:47:25.3465194-06:00",
      "startDate": "2022-10-07T13:47:25.3465194-06:00",
      "endDate": "2022-10-07T13:47:25.3465194-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-10-07T13:47:25.3465194-06:00",
      "startDate": "2022-10-07T13:47:25.3465194-06:00",
      "endDate": "2022-10-07T13:47:25.3465194-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-10-07T13:47:25.3465194-06:00</createdDate>
      <customCondition>sample string 15</customCondition>
      <endDate>2022-10-07T13:47:25.3465194-06:00</endDate>
      <id>1</id>
      <isAuto>true</isAuto>
      <isFeatured>true</isFeatured>
      <name>sample string 2</name>
      <startDate>2022-10-07T13:47:25.3465194-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-10-07T13:47:25.3465194-06:00</createdDate>
      <customCondition>sample string 15</customCondition>
      <endDate>2022-10-07T13:47:25.3465194-06:00</endDate>
      <id>1</id>
      <isAuto>true</isAuto>
      <isFeatured>true</isFeatured>
      <name>sample string 2</name>
      <startDate>2022-10-07T13:47:25.3465194-06:00</startDate>
      <type>sample string 4</type>
      <value>5</value>
    </StoreDiscount>
  </data>
  <isApproved>true</isApproved>
</StoreDiscountListResponse>