Web SDK Reference | Order
The order()
method stores the current product configuration (i.e. parameter settings) on the Twikit server and generates production files. This method returns an Promise containing an OrderDTO
JS
order(): Promise<OrderDTO>
JS
OrderDto {
id: string;
code: string;
externalId: string;
state: OrderStateDto;
createdDate: string;
products: OrderProductBasicDto[];
productionFiles: OrderFileDto[];
project: ProjectBasicDto;
}
Example
JS
window.twikit.order();