GetOrderProductList

Getting the products from an order with a given identifier.

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

Input parameters

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

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

  5. _offset (integer)
  6. Specifies results' shift by a certain offset.

  7. _limit (integer)
  8. Specifies the amount of results in a query.

  9. _modified_from (dateTime)
  10. Specifies modification date from which the results are displayed. Unixtime format.

  11. _modified_to (dateTime)
  12. Specifies modification date to which the results are displayed. Unixtime format.

Output data

  1. created_at (dateTime)
  2. Created at.

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

  5. id (integer)
  6. Identifier

  7. product_id (integer)
  8. Product identifier.

  9. name (string)
  10. Product name. Maximum of 255 characters.

  11. code (string)
  12. Product code.

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

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

  17. vat (double)
  18. Tax given in percentage. Decimal separator is a dot "."

  19. quantity (double)
  20. Product quantity.

  21. discount_in_percent (string)
  22. Discount given in percentage.

  23. product_options (string)
  24. Product options.

  25. points_value (integer)
  26. Option Price in points.

  27. points_earn (integer)
  28. Option Earn points.

  29. points_only (integer)
  30. Option Product for points only.

  31. discount_amount (double)
  32. Discount amount.

  33. discount_type (string)
  34. Discount type (% - percentage / P - amount).

  35. set (type: OrderProductSetTypeArray)
  36. An array of products included in a set.