GetAccessoriesList

Returns a list of accessories for a given product.

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

Input parameters

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

  3. product_id (integer)
  4. Required. Product identifier. The product with the given id must exist.

Output data

  1. created_at (dateTime)
  2. Entry creation date.

  3. updated_at (dateTime)
  4. Entry last modification date.

  5. id (integer)
  6. Identifier.

  7. name (string)
  8. Product name. Maximum length is 255 characters.

  9. code (string)
  10. Product code.

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

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

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

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

  19. vat (double)
  20. VAT rate given in percentages. Decimal separator is a dot "."

  21. short_description (string)
  22. Short product description. The maximum length of the description depends on the database used, the limitation of the TEXT type field.

  23. description (string)
  24. Product description. The maximum length of the description depends on the database used, the limitation of the TEXT type field.

  25. active (integer)

    Determines if the product is active in the store.

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

  28. availability_id (integer)
  29. Determines the availability name if the stock is not specified.

  30. man_code (string)
  31. Manufacturer code.

  32. old_price (double)
  33. Old net price of the product. The decimal separator used is the dot "."

  34. old_price_brutto (double)
  35. Old gross price of the product. The decimal separator used is the dot "."

  36. wholesale_a_netto (double)
  37. Wholesale A net price of the product. The decimal separator used is the dot "."

  38. wholesale_a_brutto (double)
  39. Wholesale A gross price of the product. The decimal separator used is the dot "."

  40. wholesale_b_netto (double)
  41. Wholesale B net price of the product. The decimal separator used is the dot "."

  42. wholesale_b_brutto (double)
  43. Wholesale B gross price of the product. The decimal separator used is the dot "."

  44. wholesale_c_netto (double)
  45. Wholesale C net price of the product. The decimal separator used is the dot "."

  46. wholesale_c_brutto (double)
  47. Wholesale C gross price of the product. The decimal separator used is the dot "."

  48. tax_id (integer)
  49. VAT rate identifier.

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

  52. weight (double)
  53. Product weight.

  54. uom (string)
  55. Unit of measure of the product.

  56. is_stock_validated (integer)
  57. Option Check stock status.

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

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

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

  64. url (string)
  65. Friendly link.