Create orders as a customer via API

Questions:

  • How can I create orders automatically?
  • How can I use dropshipping?
  • How do I transfer my delivery note data?

Description:

TYRIOS allows you as a customer to place orders automatically via an interface. This function must be activated for you by the shop operator. If this is the case, a REST interface is available to you, which also supports dropshipping if required.

URL structure:

If the shop operator has activated the function for you to use the API, an order API is available to you at the following URL:

https://[shop-url]/service/OrderManagement/UserOrderManagement

The interface only supports POST requests to generate the order

Authentication

To create a purchase order or an order via the customer interface, you must be authenticated to the system. In addition to your user name, you will need an API secret, which must be provided to you by the shop operator. Both together must be transferred to TYRIOS in the form of a basic authentication.

Data structure

To create an order, you must transfer a JSON object in the body of your request:

{ "billingAddress": { "company": "company name", "name": "name", "preName": "firstName", "street": "street", "streetNo": "houseNo", "postCode": "postCode", "city": "city", "country": "country abbreviation (e.g. 'de')" }, "deliveryAddress": { /* same structure as billingAddress */ }, "positions": [ { "productID": 1, "amount": 2 }], "dropShipping": true/false } 

Return

If your order is successful, all order information - including shipping costs - is automatically sent to you as a response in JSON format. You will also receive all the necessary detailed information for each item.

Solution:

Tips and Tricks:

Du kannst beim Shopbetreiber eine eigene PDF-Vorlage hinterlegen lassen. Dann wird auf Basis deiner Bestellung vollautomatisch ein Lieferschein mit deinem Briefpapier erstellt und die Bestellung kann in deinem Namen an deinen Kunden verschickt werden. Voraussetzung ist hierfür, dass "dropShipping" mit "true" markiert ist.

Subscribe to our newsletter

Stay informed at all times. We will gladly inform you about product news and offers.