{
"update_short_closures": [
{
"principle_code": "1165",
"distributor_code": "test",
"mer_number": "test",
"closure_date": "2024-10-17T12:41:42.376Z",
"ipc_code": "test",
"closure_type": 0
}
]
}
curl --location --request POST 'https://testapi.com/api/xc/1.0/update_short_closure' \
--header 'Content-Type: application/json' \
--data-raw '{
"update_short_closures": [
{
"principle_code": "1165",
"distributor_code": "test",
"mer_number": "test",
"closure_date": "2024-10-17T12:41:42.376Z",
"ipc_code": "test",
"closure_type": 0
}
]
}'
[
{
"principle_code": "1165",
"distributor_code": "test",
"mer_number": "aa",
"closure_date": "2024-10-17T10:38:12.294Z",
"ipc_code": "rr",
"closure_type": 0,
"success": false,
"failed_reason": "INVALIDPROMOTIONQUOTACODE"
}
]