ForSURE.dataLive.orders_endpoint

baseURL = '/orders'

Base URL for all requests

POST {baseURL}
async def add_orders()

Post a list of orders in the following format using the exact keys to add them to our system. The profile that is selected here needs to be configured for live data, otherwise the data will be ignored.

Parameters
  • orders:
    {
    "orders": [
        {
            "sku": "481769825",
            "name": "Example Product 1",
            "orderid": "FS1234",
            "amount": 1,
            "date": "2024-01-27T22:16:25.365Z",
            "country": "NL",
            "total_weight": 0,
            "other_weight": 0,
            "b2b": false
        },
        {
            "sku": "903419029",
            "name": "Example Product 2",
            "orderid": "FS1235",
            "amount": 5,
            "date": "2024-01-27T22:17:25.365Z",
            "country": "NL",
            "b2b": true
        }
    ],
    "profile": 2
    }
    
Returns

True if successful, else False