My Oracle Support Banner

How to set the Sell To field for the Primary Address using REST API? (Doc ID 2525827.1)

Last updated on DECEMBER 22, 2020

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.13.18.10.0 and later
Information in this document applies to any platform.

Goal

How to set the Sell To field for the Primary Address using REST API?

Background:

The following payload results in and error:

{
"OrganizationName": "xxxxxxxxxx",
"SalesProfileStatus": "ACTIVE",
"OrganizationDEO_MRR_c": "xxxxxxxxxx",
"OrganizationDEO_BlockedReason_c": null,
"OrganizationDEO_InterfaceStatus_c": "SUCCESS",
"OrganizationDEO_ErrorMessage_c": null,
"OrganizationDEO_CDB_ID_Index_c": "9999999",
"OrganizationSize": "xxxxxxxxxx",
"PrimaryAddress": [
{
"AddressType": "SELL_TO",
"AddressLine1": "xxxxxxxxxx",
"AddressLine2": null,
"AddressLine3": null,
"AddressLine4": null,
"City": "xxxxxxxxxx",
"Country": "XX",
"PostalCode": "99999",
"State": "xxxxxxxxxx"
}
],
"CustomerClassification": [
{
"ClassCategory": "XXXX_ORG_TYPE",
"ClassCode": "PRIVATE_SECTOR"
}
]
}

Error:
Invalid attribute "AddressType" in the payload.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.