Sales Order Creation REST API: billToCustomer.SiteUseId and shipToCustomer.SiteId
Summary:
Hi Team,
While preparing payload for SalesOrder creation using REST API, we have to pass populate billToCustomer.SiteUseId and shipToCustomer.SiteId.
We are using below SOAP API for retrieving PartySiteUseId to be used in SalesOrderCreation. (Ref URL: https://docs.oracle.com/en/cloud/saas/sales/oesws/Get-Organizations-with-PartySiteNumber.html)
https://domain.oraclecloud.com:443/crmService/FoundationPartiesOrganizationService?wsdl
However, we are able to get SiteId properly (100000002270328</ns1:PartySiteId>ns1:PartySiteId), but the SiteUseId extracted 100000002273174</ns1:PartySiteUseId>ns1:PartySiteUseId) is not being validated while creating SalesOrder.
Can you please suggest if this is the right SOAP service to get the information or suggest Alternative API (SOAP or REST).