Options

catalog Product Attribute Option Update V1Update Put

put

Update attribute option

Path parameters
attributeCodestringRequired

(Required)

Example: <string>
optionIdstringRequired

(Required)

Example: <integer>
Header parameters
Content-TypestringOptionalExample: application/json
Body
objectOptionalExample: {"option":{"label":"Duis Lorem in sit","value":"velit eu in qui","sort_order":37793088,"is_default":true,"store_labels":[{"store_id":{"value":"<Error: Too many levels of nesting to fake this schema>"},"label":{"value":"<Error: Too many levels of nesting to fake this schema>"}},{"store_id":{"value":"<Error: Too many levels of nesting to fake this schema>"},"label":{"value":"<Error: Too many levels of nesting to fake this schema>"}}]}}
Responses
200

OK

application/json
Responseobject
put
PUT /V1/products/attributes/{attributeCode}/options/{optionId} HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 437

{
  "option": {
    "label": "Duis Lorem in sit",
    "value": "velit eu in qui",
    "sort_order": 37793088,
    "is_default": true,
    "store_labels": [
      {
        "store_id": {
          "value": "<Error: Too many levels of nesting to fake this schema>"
        },
        "label": {
          "value": "<Error: Too many levels of nesting to fake this schema>"
        }
      },
      {
        "store_id": {
          "value": "<Error: Too many levels of nesting to fake this schema>"
        },
        "label": {
          "value": "<Error: Too many levels of nesting to fake this schema>"
        }
      }
    ]
  }
}
true

catalog Product Attribute Option Management V1Delete Delete

delete

Delete option from attribute

Path parameters
attributeCodestringRequired

(Required)

Example: <string>
optionIdstringRequired

(Required)

Example: <string>
Responses
200

OK

application/json
Responseobject
delete
DELETE /V1/products/attributes/{attributeCode}/options/{optionId} HTTP/1.1
Host: {{baseurl}}
Accept: */*
true

catalog Product Attribute Option Management V1Get Items Get

get

Retrieve list of attribute options

Path parameters
attributeCodestringRequired

(Required)

Example: <string>
Responses
200

OK

application/json
Responseobject
get
GET /V1/products/attributes/{attributeCode}/options HTTP/1.1
Host: {{baseurl}}
Accept: */*
[
  {
    "label": "ut in exercitation minim",
    "value": "commodo velit voluptate aliquip proident",
    "sort_order": 47084838,
    "is_default": false,
    "store_labels": [
      {
        "store_id": {
          "value": "<Error: Too many levels of nesting to fake this schema>"
        },
        "label": {
          "value": "<Error: Too many levels of nesting to fake this schema>"
        }
      },
      {
        "store_id": {
          "value": "<Error: Too many levels of nesting to fake this schema>"
        },
        "label": {
          "value": "<Error: Too many levels of nesting to fake this schema>"
        }
      }
    ]
  },
  {
    "label": "labore sunt in adipisicing",
    "value": "non enim cupidatat",
    "sort_order": -7920926,
    "is_default": true,
    "store_labels": [
      {
        "store_id": {
          "value": "<Error: Too many levels of nesting to fake this schema>"
        },
        "label": {
          "value": "<Error: Too many levels of nesting to fake this schema>"
        }
      },
      {
        "store_id": {
          "value": "<Error: Too many levels of nesting to fake this schema>"
        },
        "label": {
          "value": "<Error: Too many levels of nesting to fake this schema>"
        }
      }
    ]
  }
]

catalog Product Attribute Option Management V1Add Post

post

Add option to attribute

Path parameters
attributeCodestringRequired

(Required)

Example: <string>
Header parameters
Content-TypestringOptionalExample: application/json
Body
objectOptionalExample: {"option":{"label":"Duis Lorem in sit","value":"velit eu in qui","sort_order":37793088,"is_default":true,"store_labels":[{"store_id":{"value":"<Error: Too many levels of nesting to fake this schema>"},"label":{"value":"<Error: Too many levels of nesting to fake this schema>"}},{"store_id":{"value":"<Error: Too many levels of nesting to fake this schema>"},"label":{"value":"<Error: Too many levels of nesting to fake this schema>"}}]}}
Responses
200

OK

application/json
Responseobject
post
POST /V1/products/attributes/{attributeCode}/options HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 437

{
  "option": {
    "label": "Duis Lorem in sit",
    "value": "velit eu in qui",
    "sort_order": 37793088,
    "is_default": true,
    "store_labels": [
      {
        "store_id": {
          "value": "<Error: Too many levels of nesting to fake this schema>"
        },
        "label": {
          "value": "<Error: Too many levels of nesting to fake this schema>"
        }
      },
      {
        "store_id": {
          "value": "<Error: Too many levels of nesting to fake this schema>"
        },
        "label": {
          "value": "<Error: Too many levels of nesting to fake this schema>"
        }
      }
    ]
  }
}
proident in