GET
/
vendor
/
promotions
/
rule-attribute-options
/
{rule_type}
{
  "attributes": [
    {
      "id": "<string>",
      "value": "<string>",
      "label": "<string>",
      "operators": [
        "<any>"
      ],
      "items": {
        "id": "<string>",
        "value": "<string>",
        "label": "<string>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

rule_type
enum<string>
required

The rule type.

Available options:
rules,
target-rules,
buy-rules

Query Parameters

promotion_type
enum<string>

The promotion type to retrieve rules for.

Available options:
standard,
buyget
application_method_type
enum<string>

The application method type to retrieve rules for.

Available options:
fixed,
percentage

Response

200 - application/json

OK

The list of attributes.