GetOrderProductList

Retrieve products for an order with a given identifier.

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

Input parameters

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

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

  5. _offset (integer)
  6. Specifies the offset of the results.

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

  9. _modified_from (dateTime)
  10. Specifies the modification date from which the results will be displayed. Time in unixtime format.

  11. _modified_to (dateTime)
  12. Specifies the modification date to which the results will be displayed. Time in unixtime format.

Output data

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

  3. updated_at (dateTime)
  4. Date of last entry modification.

  5. id (integer)
  6. Identifier

  7. product_id (integer)
  8. Product identifier.

  9. name (string)
  10. Product name. Maximum length is 255 characters.

  11. code (string)
  12. Product code.

  13. price (double)
  14. Net price of the product. Decimal separator is the dot "."

  15. price_brutto (double)
  16. Gross price of the product. Decimal separator used is a dot "."

  17. vat (double)
  18. VAT tax given in percentages. Decimal separator used is a dot "."

  19. quantity (double)
  20. Quantity of units ordered.

  21. discount_in_percent (string)
  22. Discount granted.

  23. product_options (string)
  24. Product options.

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

  27. points_earn (integer)
  28. Option Earned points

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

  31. discount_amount (double)
  32. Amount of discount granted.

  33. discount_type (string)
  34. Type of discount granted (% - percentage / P - amount).

  35. set (type: OrderProductSetTypeArray)
  36. Array of products included in the set.

  37. allegro_offer_id (string)
  38. Allegro offer number.