Error while updating Sales Order it doesn't include a value for the BillToContactPointId or invalid
Summary:
While invoking below Fusion REST API to update a Sales Order in OIC integration
curl --verbose -X PATCH «Fusion HOST»/fscmRestApi/resources/latest/salesOrdersForOrderHub/{OrderKey} \ -H "Authorization: [authorization-value]" \ -H "Content-Type: application/json" \ -d '{ "PreCreditCheckedFlag" : true }'
Below is the error thrown
<![CDATA[The request couldn't be completed because either it doesn't include a value for the BillToContactPointId attribute, or the value of 100000026623223 that it does provide isn't valid.
SourceTransactionLineNumber 1, SourceScheduleNumber 1: The request couldn't be completed because either it doesn't include a value for the BillToContactPointId attribute, or the value of 100000026623223 that it does provide isn't valid..A 400 Bad Request Error indicates that the target service is unable (or refuses) to process the request sent by the client (Oracle Integration Cloud), due to an issue that is perceived by the server to be a client problem. Try invoking the target service using cURL. It may also be that one of the intermediaries (proxy, LBR) could be returning this code. ]]>