{
"order_history": [
{
"tenant_code": "string",
"location_code": "string",
"route_code": "string",
"salesman_code": "string",
"customer_code": "string",
"hht_order_number": "string",
"order_date": "2024-04-16T12:10:58.084Z",
"erp_invoice_number": "string",
"invoice_date": "2024-04-16T12:10:58.084Z",
"document_status": 0,
"delivery_date": "2024-04-16T12:10:58.084Z",
"remarks": "string"
}
]
}
curl --location --request POST 'https://testapi.com/api/xd/1.0/set_order_history' \
--header 'Content-Type: application/json' \
--data-raw '{
"order_history": [
{
"tenant_code": "string",
"location_code": "string",
"route_code": "string",
"salesman_code": "string",
"customer_code": "string",
"hht_order_number": "string",
"order_date": "2024-04-16T12:10:58.084Z",
"erp_invoice_number": "string",
"invoice_date": "2024-04-16T12:10:58.084Z",
"document_status": 0,
"delivery_date": "2024-04-16T12:10:58.084Z",
"remarks": "string"
}
]
}'
{
"status": 0,
"message": "string",
"transaction_id": "string",
"record_count": 0
}