Skip to main content
PUT
/
api
/
orders
/
{order_id}
Update order
curl --request PUT \
  --url https://reit.connectors.aicoflow.com/api/orders/{order_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "order_id": 123,
  "vehicle_details": {
    "number_plate": "<string>",
    "vin": "<string>",
    "makeID": 123,
    "modelID": 123,
    "first_registration": "<string>",
    "kba": "<string>",
    "hu_au": "<string>",
    "engine": "<string>",
    "engine_size": "<string>",
    "curb_weight": "<string>",
    "gross_weight": "<string>",
    "engine_power": "<string>",
    "last_registration": "<string>",
    "km_stand": "<string>",
    "engine_code": "<string>",
    "all_details": true
  },
  "person": "<string>",
  "phone": "<string>",
  "email": "<string>",
  "customer_category": 123,
  "damage": "<string>",
  "repair_date": "<string>",
  "shop_date": "<string>",
  "est_hours_karo": 123,
  "est_hours_lack": 123,
  "appointment_date": "<string>",
  "service_advisor": "<string>",
  "pickup_service": "<string>",
  "remarks": "<string>",
  "parts_delivery_date": "<string>",
  "paint_date": "<string>",
  "shop_back_date": "<string>",
  "repair_date_time_from": "<string>",
  "repair_date_time_to": "<string>",
  "estimate_date": "<string>",
  "return_date_time": "<string>",
  "damage_description": "<string>",
  "workshop_distribution": "<string>",
  "external_calculation": "<string>",
  "express_link": "<string>"
}
'
{
  "success": true,
  "message": "",
  "order_id": 123
}

Path Parameters

order_id
integer
required

Body

application/json

Request to update an existing order.

order_id
integer
required

Order ID to update

vehicle_details
VehicleDetailsModel · object

Vehicle details for creating/updating orders.

person
string | null
phone
string | null
email
string | null
customer_category
integer | null
damage
string | null
repair_date
string | null
shop_date
string | null
est_hours_karo
number | null
est_hours_lack
number | null
appointment_date
string | null
service_advisor
string | null
pickup_service
string | null
remarks
string | null
parts_delivery_date
string | null
paint_date
string | null
shop_back_date
string | null
repair_date_time_from
string | null
repair_date_time_to
string | null
estimate_date
string | null
return_date_time
string | null
damage_description
string | null
workshop_distribution
string | null
external_calculation
string | null

Response

Update confirmation

Response after updating an order.

success
boolean
required
message
string
default:""
order_id
integer | null