product

product.option.value.update

Update product option item from option.

put/product.option.value.update.json

Request

  • Base URL: https://api.api2cart.com/v1.1
  • URL: https://api.api2cart.com/v1.1/product.option.value.update.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 updated

option_idstring required

Defines option id where the value has to be updated

option_value_idstring required

Defines value id that has to be assigned

option_valuestring

Defines option value that has to be added

pricenumber

Defines new product option price

quantitynumber

Defines new products' options quantity

display_valuestring

Defines the value that will be displayed for the option value

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

return_codeinteger
return_messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.