Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

It is possible to access information about past orders placed on the platform for specific materials. For example: when a specified amount of orders or parts is reached over a day or week to cover minimum capacity, you can increase the margin for all the next orders.

Ordered_parts is an Array with a maximum length of 20. These variables are only available in the materials pricing (not available in Post-processing pricing and Additional Order Fees).

Variable name

Description

ordered_parts[0].unit_price

Value of the order unit price

ordered_parts[0].discount

Value of the discount (deprecated)

ordered_parts[0].quantity

Quantity of the models in the order

ordered_parts[0].stl_file.volume

Volume of the current 3D model [mm^3]

ordered_parts[0].stl_file.machine_volume

Area of the current 3D model [mm^2]

ordered_parts[0].stl_file.area

Area of the current 3D model [mm^2]

ordered_parts[0].stl_file.h

Height of the current 3D model [mm]

ordered_parts[0].stl_file.w

Width of the 3D model [mm]

ordered_parts[0].stl_file.d

Depth of the 3D model [mm]

ordered_parts[0].name

Name of the order

ordered_parts[0].datetime_created

Time of the order creating