{
"return_order": [
{
"principle_code": "string",
"tenant_code": "string",
"location_code": "string",
"document_number": "string",
"document_date": "2024-02-05T12:40:13.927Z",
"customer_code": "string",
"bill_to_customer": "string",
"division_code": "string",
"currency_code": "string",
"source_of_data": 0,
"order_status": 0,
"document_reference_no": "string",
"return_order_detail": [
{
"principle_code": "string",
"document_number": "string",
"sequence_number": 0,
"item_code": "string",
"mrp": 0,
"item_quantity": 0,
"item_price": 0,
"total_tax_amount": 0,
"total_discount_amount": 0,
"total_net_amount": 0,
"is_free_good": 0,
"tax_percentage_1": 0,
"tax_amount_1": 0,
"tax_percentage_2": 0,
"tax_amount_2": 0,
"tax_percentage_3": 0,
"tax_amount_3": 0,
"tax_percentage_4": 0,
"tax_amount_4": 0,
"tax_percentage_5": 0,
"tax_amount_5": 0,
"return_type": 0,
"reason_code": "string"
}
]
}
]
}
curl --location --request POST 'https://testapi.com/api/xd/1.0/set_return_order' \
--header 'Content-Type: application/json' \
--data-raw '{
"return_order": [
{
"principle_code": "string",
"tenant_code": "string",
"location_code": "string",
"document_number": "string",
"document_date": "2024-02-05T12:40:13.927Z",
"customer_code": "string",
"bill_to_customer": "string",
"division_code": "string",
"currency_code": "string",
"source_of_data": 0,
"order_status": 0,
"document_reference_no": "string",
"return_order_detail": [
{
"principle_code": "string",
"document_number": "string",
"sequence_number": 0,
"item_code": "string",
"mrp": 0,
"item_quantity": 0,
"item_price": 0,
"total_tax_amount": 0,
"total_discount_amount": 0,
"total_net_amount": 0,
"is_free_good": 0,
"tax_percentage_1": 0,
"tax_amount_1": 0,
"tax_percentage_2": 0,
"tax_amount_2": 0,
"tax_percentage_3": 0,
"tax_amount_3": 0,
"tax_percentage_4": 0,
"tax_amount_4": 0,
"tax_percentage_5": 0,
"tax_amount_5": 0,
"return_type": 0,
"reason_code": "string"
}
]
}
]
}'
{
"status": 0,
"message": "string",
"transaction_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"record_count": 0
}