⚙ī¸Examples

Request

curl --location --request PUT 'https://api.alephcrm.com/v2/orders?API_KEY=AAAAAAAA-XXX-XXX-XXX-XXXXXXXXXXXX&accountId=ZZZZ \
--header 'Content-Type: application/json' \
--header 'Cookie: xxx' \
--data-raw '[
  {
    "OrderId": 78832,
    "Status": 20,
  },
  {
    "OrderId": 78833,
    "Status": 20,
    "Tracking": {
		"Number": "OCA2939391/SHX",
		"Status": "In transit"
     }
  }]'

Response

{
    "Total": 2,
    "Results": [
        {
            "Status": "400",
            "Message": "Order not found",
            "OrderStatus": {
                "OrderId": 78832,
                "Status": 20
            }
        },
        {
            "Status": "200",
            "Message": "Status changed Shipped",
            "OrderStatus": {
                "OrderId": 78833,
                "Status": 20
            }
        }
    ]
}

Last updated