UpdateProduct

Updating a product with the given identifier.

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

Input parameters

  1. _session_hash (string)
  2. Required. Session identifier (received during login - doLogin)

  3. id (integer)
  4. Required. Identifier.

  5. name (string)
  6. Product name. Maximum length is 255 characters.

  7. code (string)
  8. Product code.

  9. price (double)
  10. Net price of the product. Decimal separator used is the dot "."

  11. price_brutto (double)
  12. Gross price of the product. Decimal separator used is the dot "."

  13. category_id (integer)
  14. Identifier of the product's default category. The category with the given id must exist in the store.

  15. producer_id (integer)
  16. Identifier of the product's producer. The producer with the given id must exist in the store.

  17. short_description (string)
  18. Short description of the product. Maximum length of the description depends on the used database, limitation of the TEXT field.

  19. description (string)
  20. Description of the product. Maximum length of the description depends on the used database, limitation of the TEXT field.

  21. active (integer)

    Specifies whether the product is active in the store.

    • 0 - inactive
    • 1 - active
  22. stock (string)
  23. Product stock status.

  24. availability_id (integer)
  25. Specifies the availability name in case the stock status is not specified.

  26. man_code (string)
  27. Manufacturer code.

  28. old_price (double)
  29. Product's net old price. Decimal separator used is the dot "."

  30. old_price_brutto (double)
  31. Product's gross old price. Decimal separator used is the dot "."

  32. wholesale_a_netto (double)
  33. Product's wholesale A net price. Decimal separator used is the dot "."

  34. wholesale_a_brutto (double)
  35. Product's wholesale A gross price. Decimal separator used is the dot "."

  36. wholesale_b_netto (double)
  37. Product's wholesale B net price. Decimal separator used is the dot "."

  38. wholesale_b_brutto (double)
  39. Product's wholesale B gross price. Decimal separator used is the dot "."

  40. wholesale_c_netto (double)
  41. Product's wholesale C net price. Decimal separator used is the dot "."

  42. wholesale_c_brutto (double)
  43. Product's wholesale C gross price. Decimal separator used is the dot "."

  44. tax_id (integer)
  45. VAT rate identifier.

  46. product_options (string)
  47. Product options in the format from the import / export module.

  48. weight (double)
  49. Product weight.

  50. uom (string)
  51. Product unit of measure.

  52. is_stock_validated (integer)
  53. The Check stock status option.

  54. points_value (integer)
  55. The Price in points option.

  56. points_earn (integer)
  57. The Earned points option.

  58. points_only (integer)
  59. The Product only for points option.

  60. url (string)
  61. Friendly link.

  62. width(double)

    Width.

  63. height(double)

    Height.

  64. depth(double)

    Depth.

Output Data

  1. _update (boolean)
  2. Update status.