Skip to main content
Skip table of contents

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();
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.