⚙️Examples
Request
curl --location --request PUT 'https://api.alephcrm.com/v2/orders/integrate?API_KEY=AAAAAAAA-XXX-XXX-XXX-XXXXXXXXXXXX&accountId=ZZZZ \
--header 'Content-Type: application/json' \
--header 'Cookie: ARRAffinity=e96c0d13eee388dfb39c6a6bb0f7cc06e5bd9ba19540e1fba855e4c4a64e20ba' \
--data-raw '[
{
"OrderId": 123,
"OwnOrderId": "123-test",
"Integrated": true,
"ErpStatus": "complete"
},
{
"OrderId": 321,
"OwnOrderId": "321-test",
"Integrated": false,
"ErpStatus": "pending"
}
]
Response
{
"Total": 2,
"Results": [
{
"Status": "400",
"Message": "Order not found",
"OrderStatus": {
"OrderId": 321,
"OwnOrderId": "321-test",
"Integrated": true,
"ErpStatus": "complete"
}
},
{
"Status": "200",
"Message": "Ok",
"OrderStatus": {
"OrderId": 123,
"OwnOrderId": "123-test",
"Integrated": false,
"ErpStatus": "pending"
}
}
]
}
Last updated