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

REST create supplier error: Either an address doesn't exist for the supplier, ...... (POZ-2130403)

Summary:

Supplier, contact, address, site can be created successfully by separate REST API calls. As per API document below, I think I can combine them in single REST API call. But it returns "400 Bad Request" with body "Either an address doesn't exist for the supplier, or is inactive, or no supplier address purposes are enabled. (POZ-2130403)".

https://docs.oracle.com/en/cloud/saas/procurement/23b/fapra/op-suppliers-post.html

Content (required):

Request URL: {{ocf_lab_url}}/fscmRestApi/resources/11.13.18.05/suppliers

Method: POST

Body:

{

  "Supplier" : "AP_TEST-2",

  "AlternateName" : "A-Perf Test 2",

  "SupplierType" : "Supplier",

  "BusinessRelationshipCode" : "SPEND_AUTHORIZED",

  "TaxOrganizationType" : "Corporation",

  "TaxRegistrationCountryCode" : "CN",

  "TaxRegistrationNumber" : "982387291A8742400",

  "ChiefExecutiveTitle" : "legal representative",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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