How to add SiteUseType to Existing party Site
Summary:
I have an existing site with SITE USE TYPE as "BILL_TO" for an organization and I wanted to add a new SITE USE TYPE "SHIP_TO" with the same address for the organization and I am getting below error.
I tried update Organization with the payload as below
<types:organizationParty>
<ns30:PartyId>XX0006043561</ns30:PartyId>
<ns30:PartySite>
<ns38:PartySiteId>XX000006254110</ns38:PartySiteId>
<ns38:PartyId>XXXX000006043561</ns38:PartyId>
<ns38:LocationId>300000006254108</ns38:LocationId>
<ns38:PartySiteUse>
<ns38:PartySiteUseId>XXX000006254111</ns38:PartySiteUseId>
<ns38:PartySiteId>XXX0006254110</ns38:PartySiteId>
<ns38:SiteUseType>SHIP_TO</ns38:SiteUseType>
<ns38:CreatedByModule>HZ_WS</ns38:CreatedByModule>
</ns38:PartySiteUse>
<ns38:PartySiteUse>