UpdateProductOption

Updating a product option.

  • Input data type => object
  • Output data type => object

Input parameters

  1. option_id (integer)
  2. Required. Product option identifier.

  3. _session_hash (string)
  4. Required. Session identifier (received during login - doLogin)

  5. value (string)
  6. Option value.

  7. price (string)
  8. Price modifier.

  9. old_price (double)
  10. Old price.

  11. stock (double)
  12. Stock level.

  13. weight (string)
  14. Weight modifier.

  15. code (string)
  16. Product code.

  17. pum (double)
  18. Unit of measure price.

  19. image_id (integer)
  20. Product image identifier.

  21. man_code (string)

    Manufacturer code

  22. is_stock_enabled (integer)

    Specifies whether the option has stock enabled

Output data

  1. _update (boolean)
  2. Update status.