# Validations (Core)

Validate properties accepted by the fulfillmenttools platform.

## POST /api/validations/postalcodes

> Validate postal code

```json
{"openapi":"3.0.1","info":{"title":"fulfillmenttools","version":"VERSIONLESS"},"tags":[{"description":"Validate properties accepted by the fulfillmenttools platform.","name":"Validations (Core)"}],"servers":[{"url":"https://{tenant}.api.fulfillmenttools.com","variables":{"tenant":{"default":"your-tenant-name"}}}],"security":[{"BearerToken":[]}],"components":{"securitySchemes":{"BearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"PostalCodeValidation":{"properties":{"country":{"description":"Country in Format [A-Z]{2}","type":"string"},"postalCode":{"description":"Postal code for validation","type":"string"}},"required":["country","postalCode"],"type":"object","xml":{"name":"PostalCodeValidation"},"title":"PostalCodeValidation","description":"PostalCodeValidation"},"ApiError":{"items":{"$ref":"#/components/schemas/ErrorInner"},"type":"array","xml":{"name":"ApiError"},"title":"ApiError","description":"ApiError"},"ErrorInner":{"properties":{"description":{"type":"string"},"requestVersion":{"description":"The version provided within an invalid request.","format":"int64","type":"integer"},"summary":{"type":"string"},"version":{"format":"int64","type":"integer"}},"required":["summary"],"type":"object","title":"ErrorInner","description":"ErrorInner"}}},"paths":{"/api/validations/postalcodes":{"post":{"description":"","operationId":"validatePostalCode","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostalCodeValidation"}}},"description":"Branding object","required":true},"responses":{"200":{"description":"The given postal code is valid for the given country"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The given postal code is invalid for the given country"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Your user, although recognized, is not authorized to use this endpoint"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"The given country can't be validated"}},"summary":"Validate postal code","tags":["Validations (Core)"]}}}}
```
