POST api/v2/products/relatedadvancedproductfilters

Returns related Advanced Product Filters based on the supplied type.

Request Information

URI Parameters

None.

Body Parameters

RelatedAdvancedProductFiltersRequest
NameDescriptionTypeAdditional information
AdvancedProductFilters

The advanced product filters

Collection of AdvancedProductFilter

None.

RelatedAdvancedProductFilter

The advanced product filter

Collection of AdvancedProductFilterType

None.

Filter

List of filters that can be used to refine the results.

Collection of ProductFilter

None.

Request Formats

Sample:

{
  "AdvancedProductFilters": [
    {
      "Type": "ProductType",
      "Values": [
        {
          "DisplayValue": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "DisplayValue": "sample string 1",
          "Value": "sample string 2"
        }
      ]
    },
    {
      "Type": "ProductType",
      "Values": [
        {
          "DisplayValue": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "DisplayValue": "sample string 1",
          "Value": "sample string 2"
        }
      ]
    }
  ],
  "RelatedAdvancedProductFilter": [
    "ProductType",
    "ProductType"
  ],
  "Filter": [
    "OnPriceList",
    "OnPriceList"
  ]
}

Sample:

<RelatedAdvancedProductFiltersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <AdvancedProductFilters>
    <AdvancedProductFilter>
      <Type>ProductType</Type>
      <Values>
        <AdvancedProductFilterValue>
          <DisplayValue>sample string 1</DisplayValue>
          <Value>sample string 2</Value>
        </AdvancedProductFilterValue>
        <AdvancedProductFilterValue>
          <DisplayValue>sample string 1</DisplayValue>
          <Value>sample string 2</Value>
        </AdvancedProductFilterValue>
      </Values>
    </AdvancedProductFilter>
    <AdvancedProductFilter>
      <Type>ProductType</Type>
      <Values>
        <AdvancedProductFilterValue>
          <DisplayValue>sample string 1</DisplayValue>
          <Value>sample string 2</Value>
        </AdvancedProductFilterValue>
        <AdvancedProductFilterValue>
          <DisplayValue>sample string 1</DisplayValue>
          <Value>sample string 2</Value>
        </AdvancedProductFilterValue>
      </Values>
    </AdvancedProductFilter>
  </AdvancedProductFilters>
  <Filter>
    <ProductFilter>OnPriceList</ProductFilter>
    <ProductFilter>OnPriceList</ProductFilter>
  </Filter>
  <RelatedAdvancedProductFilter>
    <AdvancedProductFilterType>ProductType</AdvancedProductFilterType>
    <AdvancedProductFilterType>ProductType</AdvancedProductFilterType>
  </RelatedAdvancedProductFilter>
</RelatedAdvancedProductFiltersRequest>

Response Information

Resource Description

AdvancedProductFiltersResponse
NameDescriptionTypeAdditional information
AdvancedProductFilter

The advanced product filters applied to a set of products.

Collection of AdvancedProductFilter

None.

Response Formats

Sample:

{
  "AdvancedProductFilter": [
    {
      "Type": "ProductType",
      "Values": [
        {
          "DisplayValue": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "DisplayValue": "sample string 1",
          "Value": "sample string 2"
        }
      ]
    },
    {
      "Type": "ProductType",
      "Values": [
        {
          "DisplayValue": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "DisplayValue": "sample string 1",
          "Value": "sample string 2"
        }
      ]
    }
  ]
}

Sample:

<AdvancedProductFiltersResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <AdvancedProductFilter>
    <AdvancedProductFilter>
      <Type>ProductType</Type>
      <Values>
        <AdvancedProductFilterValue>
          <DisplayValue>sample string 1</DisplayValue>
          <Value>sample string 2</Value>
        </AdvancedProductFilterValue>
        <AdvancedProductFilterValue>
          <DisplayValue>sample string 1</DisplayValue>
          <Value>sample string 2</Value>
        </AdvancedProductFilterValue>
      </Values>
    </AdvancedProductFilter>
    <AdvancedProductFilter>
      <Type>ProductType</Type>
      <Values>
        <AdvancedProductFilterValue>
          <DisplayValue>sample string 1</DisplayValue>
          <Value>sample string 2</Value>
        </AdvancedProductFilterValue>
        <AdvancedProductFilterValue>
          <DisplayValue>sample string 1</DisplayValue>
          <Value>sample string 2</Value>
        </AdvancedProductFilterValue>
      </Values>
    </AdvancedProductFilter>
  </AdvancedProductFilter>
</AdvancedProductFiltersResponse>