---
# System prepended metadata

title: Update Address & Tax Details Endpoints

---

# Update Address Details Endpoint

-   Endpoint
    -   PUT: ~/manage-profile/address-details
-   Request model

```
data class UpdateAddressDetailsRequest(
    val addressDetails: List<AddressDetailsRequest>
)

data class AddressDetailsRequest(
    val detailsType: DetailsType,
    val addressType: AddressType,
    val addressLines: List<String>,
    val countryCode: String,
    val postalCode: String,
)
```

-   Response Type
    
    -   Void
        -   204 Success - No content
        -   400 Bad request
        -   404 Not found
        -   500 Downstream services are down

# Add Tax Number Endpoint

-   Endpoint
    -   POST: ~/manage-profile/tax-number
-   Request model

```
data class AddTaxDetailsRequest(
    val taxNumber: String,
    val countryCode: String
)
```
-   Response Type
    
    -   Void
        -   204 Success - No content
        -   400 Bad request
        -   404 Not found
        -   500 Downstream services are down

# Update Tax Number Endpoint

-   Endpoint
    -   PUT: ~/manage-profile/tax-number
-   Request model

```
data class UpdateTaxDetailsRequest(
    val countryCode: String,
    val expiryDate: String //"2024-01-19"
)
```
-   Response Type
    
    -   Void
        -   204 Success - No content
        -   400 Bad request
        -   404 Not found
        -   500 Downstream services are down
