Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

It is also possible to access information about past orders placed on the platform for the specific material. Based on that, an if-condition can be constructed to impact the price based on the order history. For example: when a specified amount of orders was achieved during the day, increase the margin for the next orders.

Orderded_parts is an Array with a maximum length equal to 20. These variables are only available in 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

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

  • No labels