You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Customer creation(for person customer type) through REST API - failing with validations

Summary:

Hello,

We have a use case to create a customer of person type through API in fusion receivables module.

I am following this documentation(https://docs.oracle.com/en/cloud/saas/sales/faaps/op-hubpersons-post.html) to create Customer of person type through the REST API, but I am getting the following error

API: POST https://<host>/crmRestApi/resources/11.13.18.05/hubPersons

Payload:

{

    "SourceSystem": "RETAL_SALESFORCE",

    "SourceSystemReferenceValue": null,

    "PartyUsageCode": "CUSTOMER",

    "FirstName": "API first Name",

    "LastName": "API last name",

    "EmailAddress": "test@email.com",

    "Address1": "Nesaj Town",

    "City": "Khobar",

    "Country": "SA"

}


Error response:

The operation can't assign the party usage code to the party because the party usage doesn't support an unconditional assignment. (ZCH-105165)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!