GET v3/discounts/activeRules

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

StoreFrontActiveRuleListResponse
NameDescriptionTypeAdditional information
apiStatus

string

None.

isApproved

boolean

None.

data

Collection of StoreFrontDiscountDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "apiStatus": "sample string 1",
  "isApproved": true,
  "data": [
    {
      "name": "sample string 1",
      "applyTo": "sample string 2",
      "type": "sample string 3",
      "value": 4.0,
      "code": "sample string 5"
    },
    {
      "name": "sample string 1",
      "applyTo": "sample string 2",
      "type": "sample string 3",
      "value": 4.0,
      "code": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<StoreFrontActiveRuleListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Blumev3.Models">
  <apiStatus>sample string 1</apiStatus>
  <data>
    <StoreFrontDiscountDTO>
      <applyTo>sample string 2</applyTo>
      <code>sample string 5</code>
      <name>sample string 1</name>
      <type>sample string 3</type>
      <value>4</value>
    </StoreFrontDiscountDTO>
    <StoreFrontDiscountDTO>
      <applyTo>sample string 2</applyTo>
      <code>sample string 5</code>
      <name>sample string 1</name>
      <type>sample string 3</type>
      <value>4</value>
    </StoreFrontDiscountDTO>
  </data>
  <isApproved>true</isApproved>
</StoreFrontActiveRuleListResponse>