GetProduct

Getting a product data.

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

Input parameters

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

  3. id (integer)
  4. Required. Producer's identifier. If a given id is incorrect, the function returns an error WEBAPI_INCORRECT_ID.

Output data

  1. created_at (dateTime)
  2. Created at.

  3. updated_at (dateTime)
  4. Last updated at.

  5. id (integer)
  6. Identifier.

  7. name (string)
  8. Required. Product name. Maximum of 255 characters.

  9. code (string)
  10. Required. Product code.

  11. price (double)
  12. Product's net price. Decimal separator is a dot "."

  13. price_brutto (double)
  14. Product's gross price. Decimal separator is a dot "."

  15. vat (double)
  16. Tax given in percentage. Decimal separator is a dot "."

  17. category_id (integer)
  18. Identifier of product's default category. Category with the given id must exist in store.

  19. producer_id (integer)
  20. Identifier of product's producer. Producer with the given id must exist in store.

  21. short_description (string)
  22. Product's short description. Description's maximum length depends on used database, length limit of TEXT field.

  23. description (string)
  24. Product's description. Description's maximum length depends on used database, length limit of TEXT field.

  25. active (integer)

    Specifies whether a product is active.

    • 0 - inactive
    • 1 - active
  26. stock (string)
  27. Product's stock.

  28. availability_id (integer)
  29. Specifies availability name in case a product's stock isn't given.

  30. man_code (string)
  31. Product's producer.

  32. old_price (double)
  33. Old net price. Decimal separator is a dot "."

  34. old_price_brutto (double)
  35. Old gross price. Decimal separator is a dot "."

  36. wholesale_a_netto (double)
  37. Wholesale net price A. Decimal separator is a dot "."

  38. wholesale_a_brutto (double)
  39. Wholesale gross price A. Decimal separator is a dot "."

  40. wholesale_b_netto (double)
  41. Wholesale net price B. Decimal separator is a dot "."

  42. wholesale_b_brutto (double)
  43. Wholesale gross price B. Decimal separator is a dot "."

  44. wholesale_c_netto (double)
  45. Wholesale net price C. Decimal separator is a dot "."

  46. wholesale_c_brutto (double)
  47. Wholesale gross price C. Decimal separator is a dot "."

  48. tax_id (integer)
  49. Tax identifier.

  50. product_options (string)
  51. Product options according to the format from module import / export.

  52. weight (double)
  53. Product's weight.

  54. uom (string)
  55. Product's unit of measure.

  56. is_stock_validated (integer)
  57. Option Check inventory.

  58. points_value (integer)
  59. Option Price in points.

  60. points_earn (integer)
  61. Option Earn points.

  62. points_only (integer)
  63. Option Product for points only.

  64. url (string)
  65. Friendly link