FedEx Country API

The Country API from FedEx — 1 operation(s) for country.

Operations 1

POST /country/v1/postal/validate Validate Postal #

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-customer-key-input-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-ircp-response-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-transit-time-output-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-cmdc-response-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-availabilitycxs-response-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-body-specialserviceoptions-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-body-1-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-body-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-full-schema-confirm-open-shipment-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-full-schema-get-open-shipment-results-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-minimum-sample-payload-create-openshipment-asynchronous-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-minimum-sample-payload-modify-open-shipment-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-full-schema-modify-package-in-open-shipment-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-minimum-sample-payload-create-openshipment-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-consolidation-shipment-results-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-create-consolidation-shipment-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-confirm-consolidation-results-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-create-consolidation-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-modify-consolidation-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-delete-consolidation-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-shpcresponse-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-v1-endofday-body-1-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-v1-endofday-body-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-advc-response-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-full-schema-validate-postal-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-country-cxsresponse-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-minimum-sample-payload-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-full-schema-find-location-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-locc-response-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-search-location-hold-at-location-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-search-location-office-and-onsite-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-search-location-by-returns-services-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-search-location-by-geographic-coordinates-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-multi-base-pre-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-image-upload-service-output-vo-1-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-multi-base-pre-response-1-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-full-schema-image-upload-service-input-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-image-upload-service-output-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-document-response-output-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-gtic-response-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-regulatorydetails-retrieve-body-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-edt-details-request-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-edt-details-response-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-harmonized-code-search-response-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-harmonized-code-search-request-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-freight-shipment-international-single-shot-mps-ship-to-freight-account-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-freight-shipment-ship-to-freight-account-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-full-schema-create-pickup-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-freight-shipment-bill-to-freight-account-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-freight-shipment-one-label-at-atime-mps-child-ship-to-freight-account-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-freight-shipment-one-label-at-atime-mps-master-ship-to-freight-account-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-v3-subscriptions-body-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-retrieve-subscription-output-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-update-subscription-output-vo-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-nsmcwebhook-response-vo-3-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-nsmcwebhook-response-vo-2-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-nsmcwebhook-response-vo-1-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-nsmcwebhook-response-vo-4-schema.json
📊
JSONSchema
https://artifacts.apis.io/fedex/json-schema/fedex-trackingnumbers-association-body-schema.json

Other Resources

🔗
Summary
https://developer.fedex.com/api/en-us/catalog/registration.html
🔗
Summary
https://developer.fedex.com/api/en-us/catalog/service-availability.html
🔗
PostmanCollection
https://artifacts.apis.io/fedex/postman/fedex-service-availability-postman-collection.json
🔗
Summary
https://developer.fedex.com/api/en-us/catalog/open-ship.html
🔗
PostmanCollection
https://artifacts.apis.io/fedex/postman/fedex-open-ship-postman-collection.json
🔗
Summary
https://developer.fedex.com/api/en-us/catalog/consolidation.html
🔗
PostmanCollection
https://artifacts.apis.io/fedex/postman/fedex-consolidation-postman-collection.json
🔗
Summary
https://developer.fedex.com/api/en-us/catalog/close.html
🔗
PostmanCollection
https://artifacts.apis.io/fedex/postman/fedex-close-postman-collection.json
🔗
Summary
https://developer.fedex.com/api/en-us/catalog/address-validation.html
🔗
PostmanCollection
https://artifacts.apis.io/fedex/postman/fedex-address-validation-postman-collection.json
🔗
Summary
https://developer.fedex.com/api/en-us/catalog/postal-code.html
🔗
PostmanCollection
https://artifacts.apis.io/fedex/postman/fedex-postal-code-postman-collection.json
🔗
Summary
https://developer.fedex.com/api/en-us/catalog/locations.html
🔗
PostmanCollection
https://artifacts.apis.io/fedex/postman/fedex-locations-postman-collection.json
🔗
Summary
https://developer.fedex.com/api/en-us/catalog/upload-documents.html
🔗
Summary
https://developer.fedex.com/api/en-us/catalog/global-trade.html
🔗
PostmanCollection
https://artifacts.apis.io/fedex/postman/fedex-global-trade-postman-collection.json
🔗
Summary
https://developer.fedex.com/api/en-us/catalog/dutiestaxes.html
🔗
Summary
https://developer.fedex.com/api/en-us/catalog/harmonized-code.html
🔗
PostmanCollection
https://artifacts.apis.io/fedex/postman/fedex-harmonized-code-postman-collection.json
🔗
Summary
https://developer.fedex.com/api/en-us/catalog/ltl-freight.html
🔗
PostmanCollection
https://artifacts.apis.io/fedex/postman/fedex-ltl-freight-postman-collection.json
🔗
Summary
https://developer.fedex.com/api/en-us/catalog/account-number-subscription.html
🔗
Summary
https://developer.fedex.com/api/en-us/catalog/tracking-number-subscription.html

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fedex:fedex-country-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fedex-country-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Postal Code Validation Country API
  version: 1.0.0
servers:
- url: /
tags:
- name: Country
paths:
  /country/v1/postal/validate:
    post:
      summary: Validate Postal
      description: 'Use this endpoint to validate postal codes and service commitments. Supports city, postal, country and origin-destination related lookups and validations.

        Note: FedEx APIs do not support Cross-Origin Resource Sharing (CORS) mechanism.'
      operationId: ValidatePostal
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/FullSchema-ValidatePostal'
              - $ref: '#/components/schemas/MinimumSamplePayload'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CountryCXSResponseVO'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseVO'
              example:
                transactionId: 35fa49ec-1e8a-4334-abc5-7e640ac807ac
                customerTransactionId: AnyCo_order123456789
                errors:
                - code: CITYNAME.POSTALCODE.REQUIRED
                  message: City Name or Postal Code is required.
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseVO401'
              example:
                transactionId: 624deea6-b709-470c-8c39-4b5511281492
                errors:
                - code: NOT.AUTHORIZED.ERROR
                  message: Access token expired. Please modify your request and try again.
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseVO403'
              example:
                transactionId: 624deea6-b709-470c-8c39-4b5511281492
                errors:
                - code: FORBIDDEN.ERROR
                  message: We could not authorize your credentials. Please check your permissions and try again.
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseVO404'
              example:
                transactionId: 624deea6-b709-470c-8c39-4b5511281492
                errors:
                - code: NOT.FOUND.ERROR
                  message: The resource you requested is no longer available. Please modify your request and try again.
        '500':
          description: Failure
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseVO500'
              example:
                transactionId: 624deea6-b709-470c-8c39-4b5511281492
                customerTransactionId: AnyCo_order123456789
                errors:
                - code: INTERNAL.SERVER.ERROR
                  message: We encountered an unexpected error and are working to resolve the issue. We apologize for any inconvenience. Please check back at a later time.
        '503':
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseVO503'
              example:
                transactionId: 624deea6-b709-470c-8c39-4b5511281492
                customerTransactionId: AnyCo_order123456789
                errors:
                - code: SERVICE.UNAVAILABLE.ERROR
                  message: The service is currently unavailable and we are working to resolve the issue. We apologize for any inconvenience. Please check back at a later time.
      parameters:
      - in: header
        name: x-customer-transaction-id
        description: This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply.
        required: false
        schema:
          type: string
          example: 624deea6-b709-470c-8c39-4b5511281492
      - in: header
        name: content-type
        description: This is used to indicate the media type of the resource. The media type is a string sent along with the file indicating format of the file.
        required: true
        schema:
          type: string
          example: application/json
      - in: header
        name: x-locale
        description: This indicates the combination of language code and country code.  <a onclick='loadDocReference("locales")'>Click here to see Locales</a>
        required: false
        schema:
          type: string
          example: en_US
      - in: header
        name: authorization
        description: This indicates the authorization token for the input request.
        required: true
        schema:
          type: string
          example: Bearer XXX
      x-code-samples:
      - lang: C#
        source: 'var client = new RestClient("https://apis-sandbox.fedex.com/country/v1/postal/validate");

          var request = new RestRequest(Method.POST);

          request.AddHeader("Authorization", "Bearer ");

          request.AddHeader("X-locale", "en_US");

          request.AddHeader("Content-Type", "application/json");

          // ''input'' refers to JSON Payload

          request.AddParameter("application/x-www-form-urlencoded", input, ParameterType.RequestBody);

          IRestResponse response = client.Execute(request);





          '
      - lang: JAVA
        source: "OkHttpClient client = new OkHttpClient();\n\nMediaType mediaType = MediaType.parse(\"application/json\");\n// 'input' refers to JSON Payload\nRequestBody body = RequestBody.create(mediaType, input);\nRequest request = new Request.Builder()\n    .url(\"https://apis-sandbox.fedex.com/country/v1/postal/validate\")\n    .post(body)\n    .addHeader(\"Content-Type\", \"application/json\")\n    .addHeader(\"X-locale\", \"en_US\")\n    .addHeader(\"Authorization\", \"Bearer \")\n    .build();\n            \nResponse response = client.newCall(request).execute();"
      - lang: JAVASCRIPT
        source: "// 'input' refers to JSON Payload\nvar data = JSON.stringify(input);\n  \n  var xhr = new XMLHttpRequest();\n  xhr.withCredentials = true;\n  \n  xhr.addEventListener(\"readystatechange\", function () {\n    if (this.readyState === 4) {\n      console.log(this.responseText);\n    }\n  });\n  \n  xhr.open(\"POST\", \"https://apis-sandbox.fedex.com/country/v1/postal/validate\");\n  xhr.setRequestHeader(\"Content-Type\", \"application/json\");\n  xhr.setRequestHeader(\"X-locale\", \"en_US\");\n  xhr.setRequestHeader(\"Authorization\", \"Bearer \");\n  \n  xhr.send(data);"
      - lang: PHP
        source: "<?php\n\n$request = new HttpRequest();\n$request->setUrl('https://apis-sandbox.fedex.com/country/v1/postal/validate');\n$request->setMethod(HTTP_METH_POST);\n\n$request->setHeaders(array(\n  'Authorization' => 'Bearer ',\n  'X-locale' => 'en_US',\n  'Content-Type' => 'application/json'\n));\n\n$request->setBody(input); // 'input' refers to JSON Payload\n\ntry {\n  $response = $request->send();\n\n  echo $response->getBody();\n} catch (HttpException $ex) {\n  echo $ex;\n}"
      - lang: PYTHON
        source: "import requests\n\nurl = \"https://apis-sandbox.fedex.com/country/v1/postal/validate\"\n\npayload = input # 'input' refers to JSON Payload\nheaders = {\n    'Content-Type': \"application/json\",\n    'X-locale': \"en_US\",\n    'Authorization': \"Bearer \"\n    }\n\nresponse = requests.post(url, data=payload, headers=headers)\n\nprint(response.text)"
      - lang: RUST
        source: "extern crate reqwest;\n\nuse std::io::Read;\n\nfn construct_headers() -> HeaderMap {\n    let mut headers = HeaderMap::new();\n    headers.insert(\"Content-Type\", \"application/json\");\n    headers.insert(\"X-locale\", \"en_US\");\n    headers.insert(\"Authorization\", \"Bearer \");\n    headers\n}\n\nfn run() -> Result<()> {\n    let client = reqwest::Client::new();\n    let mut res = client.post(\"https://apis-sandbox.fedex.com/country/v1/postal/validate\")\n        .body(input) // 'input' refers to JSON Payload\n        .headers(construct_headers())\n        .send()?;\n    let mut body = String::new();\n    res.read_to_string(&mut body)?;\n\n    println!(\"Status: {}\", res.status());\n    println!(\"Headers:\\n{:#?}\", res.headers());\n    println!(\"Body:\\n{}\", body);\n\n    Ok(())\n}"
      - lang: SWIFT
        source: "import Foundation\n\nlet headers = [\n  \"Content-Type\": \"application/json\",\n  \"X-locale\": \"en_US\",\n  \"Authorization\": \"Bearer \"\n]\nlet parameters = [\n  input // 'input' refers to JSON Payload\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://apis-sandbox.fedex.com/country/v1/postal/validate\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"
      tags:
      - Country
      x-operation-id-source: normalized
      x-operation-id-original: Validate Postal
components:
  schemas:
    Parameter:
      type: object
      properties:
        value:
          type: string
          description: Identifies the error option to be applied.
        key:
          type: string
          description: Indicates the value associated with the key.
      description: These are alert parameters.
    Alert:
      type: object
      properties:
        code:
          type: string
          description: 'Specifies the API alert code.<br>Example: CITYNAME.POSTALCODE.REQUIRED'
          example: CITYNAME.POSTALCODE.REQUIRED
        alertType:
          type: string
          description: Specifies the alert type.
          example: NOTE
          enum:
          - NOTE
          - WARNING
        parameterList:
          type: array
          description: List of parameters which indicates the properties of the alert message.
          items:
            $ref: '#/components/schemas/Parameter'
        message:
          type: string
          description: 'This is the alert message. <br> Example: We are unable to process this request. Please try again later or contact FedEx Customer Service.'
          example: We are unable to process this request. Please try again later or contact FedEx Customer Service.
      description: Specifies the api alerts.
    CXSError401:
      type: object
      properties:
        code:
          type: string
          description: 'Indicates the error code.<br>Example: NOT.AUTHORIZED.ERROR'
        parameterList:
          type: array
          description: Specifies the list of parameters.
          items:
            $ref: '#/components/schemas/Parameter'
        message:
          description: 'Indicates the description of API error alert message.<br>Example: Access token expired. Please modify your request and try again.'
      description: Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter
    BaseProcessOutputVO:
      $ref: '#/components/schemas/ValidatePostalOutputVO'
    MinimumSamplePayload:
      example:
        carrierCode: FDXE
        countryCode: US
        stateOrProvinceCode: TN
        postalCode: '38017'
        shipDate: '2016-09-13'
    ErrorResponseVO403:
      type: object
      properties:
        transactionId:
          type: string
          description: 'The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492'
          example: 624deea6-b709-470c-8c39-4b5511281492
        errors:
          type: array
          items:
            $ref: '#/components/schemas/CXSError403'
    ErrorResponseVO500:
      type: object
      properties:
        transactionId:
          type: string
          description: 'The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492'
          example: 624deea6-b709-470c-8c39-4b5511281492
        customerTransactionId:
          type: string
          description: 'This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply. <br> Example: AnyCo_order123456789'
          example: AnyCo_order123456789
        errors:
          type: array
          items:
            $ref: '#/components/schemas/CXSError500'
    Version:
      type: object
      properties:
        major:
          description: This version is incremented when significant changes are made to the API functionality. These could be breaking changes and might require code-adjustments from clients. Accepts only numbers
          example: '1'
          type: integer
        minor:
          description: This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the second number in API versioning scheme. Accepts only numbers
          example: '1'
          type: integer
        patch:
          description: This represents a backward-compatible bug fix or minor adjustment to an existing API functionality. This is the third number in API versioning scheme. Accepts only numbers
          example: '1'
          type: integer
    CountryCXSResponseVO:
      type: object
      properties:
        transactionId:
          type: string
          description: 'The transaction ID is special set of number that allows FedEx customer to assign a unique identifier to their each transaction. Helps in matching requests to reply.<br>Max 40 characters.<br>Example: 624deea6-b709-470c-8c39-4b5511281492'
          example: 624deea6-b709-470c-8c39-4b5511281492
        customerTransactionId:
          type: string
          description: 'This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply. <br> Example: AnyCo_order123456789'
          example: AnyCo_order123456789
        output:
          $ref: '#/components/schemas/BaseProcessOutputVO'
    LocationDescription:
      required:
      - airportId
      - locationId
      - locationNumber
      - serviceArea
      type: object
      properties:
        locationId:
          type: string
          description: 'Location id of the postal code provided. <br> Example: MAAPD'
          example: MAAPD
        locationNumber:
          type: integer
          description: 'Location number of the postal code provided. <br> Example: 6955'
          example: 6955
        serviceArea:
          type: string
          description: 'Service area of the postal code provided. <br> Example: AA'
          example: AA
        airportId:
          type: string
          description: 'Airport Id of the postal code provided. <br> Example: BLR'
          example: BLR
      description: Location Description
    ErrorResponseVO404:
      type: object
      properties:
        transactionId:
          type: string
          description: 'The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492'
          example: 624deea6-b709-470c-8c39-4b5511281492
        errors:
          type: array
          items:
            $ref: '#/components/schemas/CXSError404'
    ValidatePostalOutputVO:
      type: object
      properties:
        countryCode:
          type: string
          description: The two-letter code used to identify a country. <br>Example:US<br><a onclick='loadDocReference("countrycodes")'>Click here to see Country Codes</a>
          example: US
        cityFirstInitials:
          type: string
          description: Initials of the City.<br>Example:C <br>
          example: C
        stateOrProvinceCode:
          type: string
          description: 'This is the state or province code. Format and presence of this element will vary, depending on country. <br> Max length is 2. <br> Example: US<br><a onclick=''loadDocReference("canadaprovincecodes")''>Click here to see State Or Province Code</a>'
          example: US
        alerts:
          type: array
          description: This object specifies Alert details returned in the reply such as code, message and any other parameters.
          items:
            $ref: '#/components/schemas/Alert'
        locationDescriptions:
          type: array
          description: This object specifies location details returned in the reply such as location ID, service area and airport ID etc.
          items:
            $ref: '#/components/schemas/LocationDescription'
        cleanedPostalCode:
          type: string
          description: 'This is a cleaned postal code returned in the reply.</br>Example: 94267<br><a onclick=''loadDocReference("postalawarecountries")''>Click here to see Postal aware countries</a>'
          example: '94267'
      description: Indicates data returned in the postal validation reply.
    CXSError403:
      type: object
      properties:
        code:
          type: string
          description: 'Indicates the error code.<br>Example: FORBIDDEN.ERROR'
        parameterList:
          type: array
          description: Specifies the list of parameters.
          items:
            $ref: '#/components/schemas/Parameter'
        message:
          description: 'Indicates the description of API error alert message.<br>Example: We could not authorize your credentials. Please check your permissions and try again'
      description: Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter
    CXSError404:
      type: object
      properties:
        code:
          type: string
          description: 'Indicates the error code.<br>Example: NOT.FOUND.ERROR'
        parameterList:
          type: array
          description: Specifies the list of parameters.
          items:
            $ref: '#/components/schemas/Parameter'
        message:
          description: 'Indicates the description of API error alert message.<br>Example: The resource you requested is no longer available. Please modify your request and try again.'
      description: Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter
    CXSError:
      type: object
      properties:
        code:
          type: string
          description: Indicates the error code.<br> Example:CITYNAME.POSTALCODE.REQUIRED
          example: CITYNAME.POSTALCODE.REQUIRED
        parameterList:
          type: array
          description: Specifies the list of parameters.
          items:
            $ref: '#/components/schemas/Parameter'
        message:
          type: string
          description: 'Indicates the description of API error alert message.<br>Example: City Name or Postal Code is required.'
      description: Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter
    CXSError503:
      type: object
      properties:
        code:
          type: string
          description: 'Indicates the error code.<br>Example: SERVICE.UNAVAILABLE.ERROR'
        parameterList:
          type: array
          description: Specifies the list of parameters.
          items:
            $ref: '#/components/schemas/Parameter'
        message:
          description: 'Indicates the description of API error alert message.<br>Example: The service is currently unavailable and we are working to resolve the issue. We apologize for any inconvenience. Please check back at a later time.'
      description: Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter
    FullSchema-ValidatePostal:
      required:
      - carrierCode
      - countryCode
      - postalCode
      - shipDate
      - stateOrProvinceCode
      type: object
      properties:
        carrierCode:
          type: string
          description: Specify the four letter code of a FedEx operating company that meets your requirements<br>Examples of FedEx Operating Companies are:<ul><li>FDXE - FedEx Express</li><li>FDXG - FedEx Ground</li><li>FXSP - FedEx SmartPost</li><li>FXCC - FedEx Custom Critical.</li></ul>
          example: FDXG
          enum:
          - FDXE
          - FDXG
          - FXSP
          - FDXC
          - FXCC
        countryCode:
          type: string
          description: The two-letter code used to identify a country. <br>Example:US<br><a onclick='loadDocReference("countrycodes")'>Click here to see Country Codes</a>
          example: US
        stateOrProvinceCode:
          type: string
          description: 'This is the state or province code. Format and presence of this field will vary, depending on country. <br> Example: US<br><a onclick=''loadDocReference("canadaprovincecodes")''>Click here to see State Or Province Code</a>'
          example: US
        postalCode:
          type: string
          description: 'Identification code of a region (usally small) for easier and accurate mail/package delivery. The format and presence of this field may vary depending on the country.  <br> Example: 75063-8659 <br><a onclick=''loadDocReference("postalawarecountries")''>Click here to see Postal aware countries</a>'
          example: '502267'
        shipDate:
          type: string
          description: 'Specify the date on which the package is to be shipped. The specified date should not be the current date or any date, 10 days after the current date. The date format must be YYYY-MM-DD. <br> Example: 2019-10-04'
          example: '2019-10-04'
        routingCode:
          type: string
          description: 'Specify the routing code for the shipment. Routing code is the information that identifies the route the package or shipment may take. <br> Example: Memphis 38017 - HKA/NQA'
          example: Memphis 38017 - HKA/NQA
        checkForMismatch:
          type: boolean
          description: 'This element checks for mismatch between State/Province Code and Postal Code. <ul><li>When the checkForMismatch is set TRUE, for U.S. and Canada: The values in State/Province Code are checked with respect to Postal Code provided. If these entries are valid, the response provides respective State/Province Code and Postal Code. In case of mismatch of Postal Code and State/Province Code an error message is displayed.</li><li> When the checkForMismatch is set FALSE, for U.S. and Canada: The values in State/Province Code are not checked with respect to Postal Code provided. Instead the given data is reflected in the response.</li></ul> <br> For regions other than U.S and Canada regardless of the value of checkForMismatch the State/Province Code are checked with respect to the Postal Code and the response provides the respective State/Province Code and Postal Code.'
          example: true
        city:
          type: string
          description: Name of the city associated with the postal code. Required when `countryCode` is `AU` (Australia).
          example: MEMPHIS
        version:
          $ref: '#/components/schemas/Version'
      description: The request elements for validating a postal code.
    CXSError500:
      type: object
      properties:
        code:
          type: string
          description: 'Indicates the error code.<br>Example: INTERNAL.SERVER.ERROR'
        parameterList:
          type: array
          description: Specifies the list of parameters.
          items:
            $ref: '#/components/schemas/Parameter'
        message:
          description: 'Indicates the description of API error alert message.<br>Example: We encountered an unexpected error and are working to resolve the issue. We apologize for any inconvenience. Please check back at a later time.'
      description: Indicates error alert when suspicious files, potential exploits and viruses found while scanning files , directories and user accounts. This includes code, message and parameter
    ErrorResponseVO:
      type: object
      properties:
        transactionId:
          type: string
          description: 'The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492'
          example: 624deea6-b709-470c-8c39-4b5511281492
        customerTransactionId:
          type: string
          description: 'This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply. <br> Example: AnyCo_order123456789'
          example: AnyCo_order123456789
        errors:
          type: array
          items:
            $ref: '#/components/schemas/CXSError'
    ErrorResponseVO401:
      type: object
      properties:
        transactionId:
          type: string
          description: 'The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492'
          example: 624deea6-b709-470c-8c39-4b5511281492
        errors:
          type: array
          items:
            $ref: '#/components/schemas/CXSError401'
    ErrorResponseVO503:
      type: object
      properties:
        transactionId:
          type: string
          description: 'The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492'
          example: 624deea6-b709-470c-8c39-4b5511281492
        errors:
          type: array
          items:
            $ref: '#/components/schemas/CXSError503'