Skip to main content

CreateCustomerAddressRequestDto

Request DTO for creating a customer address

typestringrequired

Type of address (e.g., HOME, WORK, BILLING)

Example: HOME
languageCodestringrequired

Language code (ISO 639-1)

Example: fr
addressFormatstring

Format of the address

Example: STANDARD
addressLine1stringrequired

Primary address line

Example: 123 Rue Mohammed V
addressLine2string

Secondary address line

Example: Appartement 4B
addressLine3string

Additional address line

Example: Quartier des Affaires
citystringrequired

City name

Example: Casablanca
countryCodestringrequired

Country code

Example: MA
branchCodestringrequired

Branch code

Example: 00004
geographicalDepartmentstring

Geographical department code

Example: CAS
CreateCustomerAddressRequestDto
{
"type": "HOME",
"languageCode": "fr",
"addressFormat": "STANDARD",
"addressLine1": "123 Rue Mohammed V",
"addressLine2": "Appartement 4B",
"addressLine3": "Quartier des Affaires",
"city": "Casablanca",
"countryCode": "MA",
"branchCode": "00004",
"geographicalDepartment": "CAS"
}