Change Abandoned Order Status
Testing Env
https://www.testecommerce.vodoerp.com
Testing Env
https://www.testecommerce.vodoerp.com
PUT
/{{Abandoned Order}}/1353
Last modified:2025-04-13 23:13:08
Key | Value | Description | Type |
---|---|---|---|
secure-business-key | 140356399db2b2c32f0.25237063 | Business-specific key; contact support for valid values. Required | string |
lang | ar | Language preference: ar for Arabic, en for English. | string |
Key | Value | Description | Type |
---|---|---|---|
validation | yes | Optional flag to enable validation. | string |
employee_validation | (empty) | Optional flag to enable employee validation. | string |
Key | Value | Description | Type |
---|---|---|---|
product_id | [711] | Array of product IDs. | array[integer] |
employee_id | ["952,9,46"] | Comma-separated employee IDs. | string |
delivey_date | 2024-12-01 | Delivery date for the order. | string |
comment | Order for mosque event | Additional comments for the order. | string |
user_id | 9999 | User ID from authentication API. Required | integer |
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PUT 'https://www.testecommerce.vodoerp.com/{{Abandoned Order}}/1353?validation=yes&employee_validation=' \
--header 'secure-business-key: 140356399db2b2c32f0.25237063' \
--header 'Accept-Language: ar' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_id": [711],
"employee_id": ["952,9,46"],
// "order_type": [2, 3], //1, 2 and 3
// "check_in_date": "2023-09-13 08:35:57",
// "check_out_date": "2023-09-14 08:35:57",
// "user_email": "abdelrahman.elazizy.1999@gmail.com",
// "user_phone": "010610645418",
// "user_first_name": "Abdoo",
// "user_last_name": "Ahmed",
"delivey_date": "2024-12-01",
"comment": "Order for mosque event",
// "mosque_id": 1,
"user_id": 9999 // Get user id from https://testaccounts.vodoerp.com/api/login or https://accounts.vodoerp.com/api/login
// "address": "123 Mosque St.",
// "longitude": 25.276987,
// "latitude": 55.296249,
// "district": 2,
// "discount": "SUMMER2024"
// "event_reference": ["EVENT5", "EVENT4", "EVENT3", "EVENT2", "EVENT1"]
}'
Response Response Example
{}
Request
Query Params
validation
stringÂ
optional
Example:
yes
employee_validation
stringÂ
required
Header Params
secure-business-key
stringÂ
required
728106399db2b289783.89154521
2680667168f2f8a68f6.12561200
140356399db2b2c32f0.25237063
96701678e330f31f768.22400604
14807664478836358b0.31329842
Example:
140356399db2b2c32f0.25237063
Accept-Language
stringÂ
required
Example:
ar
Body Params application/json