CreateCustomerAddressRequestDto
Request DTO for creating a customer address
typestringrequired
Type of address (e.g., HOME, WORK, BILLING)
Example:
HOMElanguageCodestringrequired
Language code (ISO 639-1)
Example:
fraddressFormatstring
Format of the address
Example:
STANDARDaddressLine1stringrequired
Primary address line
Example:
123 Rue Mohammed VaddressLine2string
Secondary address line
Example:
Appartement 4BaddressLine3string
Additional address line
Example:
Quartier des Affairescitystringrequired
City name
Example:
CasablancacountryCodestringrequired
Country code
Example:
MAbranchCodestringrequired
Branch code
Example:
00004geographicalDepartmentstring
Geographical department code
Example:
CASCreateCustomerAddressRequestDto
{
"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"
}