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