# 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 fulfillmenttools.","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)"]}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fulfillmenttools.com/documentation/apis/api-reference/validations-core.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
