ReDoc documentation

products/options/{optionId}

products/options/{optionId}

put/V1/products/options/{optionId}

Save Custom Option

Request
path Parameters
optionId
required
string
Request Body schema:
required
object (catalog-data-product-custom-option-interface)
Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "option": {
    }
}
Response samples
{
  • "product_sku": "string",
  • "option_id": 0,
  • "title": "string",
  • "type": "string",
  • "sort_order": 0,
  • "is_require": true,
  • "price": 0,
  • "price_type": "string",
  • "sku": "string",
  • "file_extension": "string",
  • "max_characters": 0,
  • "image_size_x": 0,
  • "image_size_y": 0,
  • "values": [
    ],
  • "extension_attributes": { }
}