product
product.option.value.add
Add product option item from option.
post/product.option.value.add.json
Request
- Base URL: https://api.api2cart.com/v1.1
- URL: https://api.api2cart.com/v1.1/product.option.value.add.json
- Auth: API key in header x-api-key and API key in header x-store-key
Query parameters
product_idstring required
Defines product id where the option value should be added
option_idstring required
Defines option id where the value has to be added
option_valuestring
Defines option value that has to be added
sort_orderinteger
Sort number in the list
display_valuestring
Defines the value that will be displayed for the option value
is_defaultboolean
Defines as a default
clear_cacheboolean
Is cache clear required
idempotency_keystring
A unique identifier associated with a specific request. Repeated requests with the same <strong>idempotency_key</strong> return a cached response without re-executing the business logic. <strong>Please note that the cache lifetime is 15 minutes.</strong>
Response
successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.