product
product.option.add
Add product option from store.
post/product.option.add.json
Request
- Base URL: https://api.api2cart.com/v1.1
- URL: https://api.api2cart.com/v1.1/product.option.add.json
- Auth: API key in header x-api-key and API key in header x-store-key
Request body
Example request
{
"name": "Color",
"type": "option_type_select",
"default_option_value": "green",
"option_values": "green,black,yellow",
"description": "Product option",
"sort_order": 2,
"required": true,
"idempotency_key": "098f6bcd4621d373cade4e832627b4f6"
}Response
successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.