products/{sku}/options/{optionId}

products/{sku}/options/{optionId}

get/V1/products/{sku}/options/{optionId}

Get custom option for a specific product

Request
path Parameters
optionId
required
integer
sku
required
string
Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

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

products/{sku}/options/{optionId}

delete/V1/products/{sku}/options/{optionId}
Request
path Parameters
optionId
required
integer
sku
required
string
Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

Response samples
true