Status: On Delivery

Status: On Delivery

POST /OnDelivery

You can use this to change the order status to on delivery. If the order's current status is cancelled or closed, you will get the error Order status is not suitable for performing the operation.

Example Request

Set order to on delivery status
curl -X POST 'https://ext.adisyo.com/api/External/v2/OnDelivery' \
  --header "x-api-key: ..." \
  --header "x-api-secret: ..." \
  --header "x-api-consumer: ..." \
  --header 'Content-Type: application/json' \
  --data '{
      "orderId": 4815162342,
      "courierId": 24681012
  }'

Request Parameters

ParameterData TypeAçıklama
orderIdNumberAdisyo ID of the order to be changed to On Delivery status
courierIdNumberAdisyo ID of the courier who will carry the order Order Type (Couriers)

Example Response

On delivery response
{
  "status": 100,
  "message": "İşlem Başarılı"
}