Creating an Account

📋 Prerequisites

None

Required Fields

  • accountName
  • accountExternalId
  • companyRegistrationName
  • businessRegistrationNumber
  • addressExternalId
  • addressFullName
  • addressCountry
  • addressCity
  • addressZipCode
  • addressStreetName

☑️ Optional Fields

You can find the complete list of optional fields at the following link: Account - Fields

🔍 Example

Example #1 - Shipping Address in a list of objects

[
{
  "accountName":"Smith",
  "accountExternalId":"0987654321",
  "companyRegistrationName":"Smith & Co. LLC",
  "businessRegistrationNumber":"BRN987654321",
  "shippingAddress":[
     {
        "addressExternalId":"ADDR54321",
        "addressFullName":"Jane Smith",
        "addressCountry":"Canada",
        "addressCity":"Toronto",
        "addressZipCode":"M5H 2N2",
        "addressStreetName":"456 Queen St W"
     }
  ]
}
]

Example #2 - Shipping Address in a the Account object

[
{
  "accountName":"Smith",
  "accountExternalId":"0987654321",
  "companyRegistrationName":"Smith & Co. LLC",
  "businessRegistrationNumber":"BRN987654321",
  "addressExternalId":"ADDR54321",
  "addressFullName":"Jane Smith",
  "addressCountry":"Canada",
  "addressCity":"Toronto",
  "addressZipCode":"M5H 2N2",
  "addressStreetName":"456 Queen St W"
}
]

Possible Errors

CodeMessage
F-E-001Missing mandatory field
F-E-033Account not found in DJUST