Loyalty.lt
Addresses

Validate an address

Checks a free-form address against the register and returns the canonical form, its registry code and postal code. Accepts up to 50 addresses at once for cleaning an existing customer list.

POST/{locale}/shop/addresses/validate

Checks a free-form address against the register and returns the canonical form, its registry code and postal code. Accepts up to 50 addresses at once for cleaning an existing customer list.

Authorization

apiKey apiSecret
X-API-Key<token>

Partner API key from the Partners Portal. Always sent together with X-API-Secret.

In: header

X-API-Secret<token>

Partner API secret. Always sent together with X-API-Key.

In: header

Path Parameters

locale*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/lt/shop/addresses/validate" \  -H "Content-Type: application/json" \  -d '{}'
Empty