Skip to main content
Question

ValidateAddresses action on CustomerLocation entity returns 204 but Validated checkbox never updates (works fine for SalesOrder)

  • August 7, 2026
  • 2 replies
  • 19 views

Hi all,

I'm hoping someone has hit this before, because I've run out of things to try from the endpoint screen.

 

**What I'm trying to do**

Validate a customer location's address through the contract-based REST API instead of clicking **Validate Address** on the Customer Locations screen.

 

Setup

Acumatica 25R2 (25.201.0213). I extended the Default endpoint to `KNMCEndPoint / 24.200.001` and added an action under the top-level `CustomerLocation` entity:

 

- Action Name: `ValidateCustomerLocAddress`

- Mapped Action: `ValidateAddresses`

 

API CALL:

```

POST /LocalENV/entity/KNMCEndPoint/24.200.001/CustomerLocation/ValidateCustomerLocAddress

```

 

```json

{

  "entity": {

    "Customer":   { "value": "AACUSTOMER" },

    "LocationID": { "value": "MAIN" }

  },

  "parameters": {}

}

```

 

Response:

 

`204 No Content`. No error, no fault, no `Location` header. And the **Validated** checkbox on the location's address stays unchecked. A follow-up GET confirms `IsValidated` is still false — nothing was persisted.

 

Clicking **Validate Address** on AR303020 Screen for the same location works perfectly, so the verification provider and my permissions are fine.

 

Has anyone gotten `ValidateAddresses` working on `CustomerLocation` through the REST API? If so, what did your request look like?

Happy to share more detail. Thanks!

 

2 replies

Forum|alt.badge.img+4
  • Jr Varsity II
  • August 7, 2026

Hi ​@sruthic25 ,

ValidateAddresses on the Customer Locations graph (CustomerLocationMaint) requires the address record to be "dirty" (modified or explicitly marked for validation) before it will process. When you invoke it via API with just the entity keys, the graph loads the record but the address isn't in a state that triggers validation — so the action completes as a no-op, returning 204.
The Fix
You need to include the address fields in the entity body so Acumatica treats the record as touched. Specifically, pass the LocationAddress detail or at minimum re-state a field like AddressLine1:
{
  "entity": {
    "Customer":   { "value": "AACUSTOMER" },
    "LocationID": { "value": "MAIN" },
    "LocationAddress": {
      "AddressLine1": { "value": "123 Main St" },
      "City":         { "value": "YourCity" },
      "State":        { "value": "CA" },
      "PostalCode":   { "value": "90210" },
      "Country":      { "value": "US" }
    }
  },
  "parameters": {}
}

Hope above helps!!


  • Author
  • Freshman I
  • August 7, 2026

Hi ​@Rakshanda thanks for the response.
We have tried above but still facing same issue, validate check box is not getting checked