Transferring orders from your own site to Adisyo
Let's imagine that you make sales from your own website and want these orders to be recorded and reported on Adisyo. The operations to be performed are as follows:
Get products
- The product list of your restaurant in the Adisyo application is retrieved with
GET /api/External/v2/Products
Get features (optional)
- Similarly, the features of your products are retrieved with
GET /api/External/v2/Features
Create order in Adisyo
- The
JSONorder object you have prepared is sent to Adisyo withPOST /api/External/v2/SaveOrder(see Create Order)
Note
The purpose of the first two steps is to get the unique IDs of the products in Adisyo. Because the IDs of the products on your own site will be different in the Adisyo system. When sending orders, you need to use the product IDs that Adisyo expects. Therefore, you should create a mapping structure between your own products and the products in Adisyo.
💡
Tip
It is not necessary to repeat pulling definition information such as Products and Features in every order. You can set it to run at certain hours of the day.