products/options

products/options

post/V1/products/options

Save Custom Option

Request
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": { }
}