Status: Prepared
POST /Prepared
You can use this to change the order status to prepared.
If the order's current status is on delivery, cancelled or closed, you will get the error Order status is not suitable for performing the operation.
Example Request
Set order to prepared status
curl -X POST 'https://ext.adisyo.com/api/External/v2/Prepared' \
--header "x-api-key: ..." \
--header "x-api-secret: ..." \
--header "x-api-consumer: ..." \
--header 'Content-Type: application/json' \
--data '{
"orderId": 4815162342
}'Request Parameters
| Parameter | Data Type | Description |
|---|---|---|
orderId | Number | Adisyo ID of the order to be changed to Prepared status |
Example Response
Prepared response
{
"status": 100,
"message": "İşlem Başarılı"
}