Placing an order using OnSite API typically goes as follows:
- Receive an authorization token for your client ID and client secret
- Upload a 3D model and receive a modelID: POST to API/Model
- To get models parameters (dimensions data), use the modelID in the GET to API/models/{id
- Retrieve the list of available technologies, materials, finishes, and their IDs: GET to API/technologies
- Create a product by combining technologyID, materialID, and finishID with a modelID and receive a productid: POST to API/products
- A list of available services, i.e “Fast Lane” for the product (based on technology/material) is checked by the GET to API /products/{id}/services
- To check the price (already with 10% online discount) and lead-times use POST to API/products/{id}/price
- Create an empty quotation and receive a quotationID :POST to API/quotations
- Important to mention supported currency (EUR, USD, GBP, PLN) and add your reference ID
- Add quotation items to the quotation using a quotationID and productID Post to API/quotations/{id}/items
- Create a new Delivery Address to the quotation using and receive a deliveryAddressID Post to API/delivery-addresses
- Add delivery and invoice address to the quotation using deliveryAddressID and invoiceAddressID. Delivery and Invoice address ID can be found in your profile at onsite after you add them in manually: https://onsite.materialise.com/en/account/personalinfo Post to API/quotations/{id}/addresses
- Place an order by sending quotationID to the corresponding endpoint. Please note that placing an order via API requires invoice payment to be enabled for your account at Materialise OnSite.Post to API/quotations/{id}/order