openapi: 3.0.3
info:
  description: |2

    Karrio is a multi-carrier shipping API that simplifies the integration of logistics carrier services.

    The Karrio API is organized around REST. Our API has predictable resource-oriented URLs, accepts JSON-encoded
    request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.

    The Karrio API differs for every account as we release new versions.
    These docs are customized to your version of the API.


    ## Versioning

    When backwards-incompatible changes are made to the API, a new, dated version is released.
    The current version is `2024.12.6`.

    Read our API changelog to learn more about backwards compatibility.

    As a precaution, use API versioning to check a new API version before committing to an upgrade.


    ## Environments

    The Karrio API offer the possibility to create and retrieve certain objects in `test_mode`.
    In development, it is therefore possible to add carrier connections, get live rates,
    buy labels, create trackers and schedule pickups in `test_mode`.


    ## Pagination

    All top-level API resources have support for bulk fetches via "list" API methods. For instance, you can list addresses,
    list shipments, and list trackers. These list API methods share a common structure, taking at least these
    two parameters: limit, and offset.

    Karrio utilizes offset-based pagination via the offset and limit parameters.
    Both parameters take a number as value (see below) and return objects in reverse chronological order.
    The offset parameter returns objects listed after an index.
    The limit parameter take a limit on the number of objects to be returned from 1 to 100.


    ```json
    {
        "count": 100,
        "next": "/v1/shipments?limit=25&offset=50",
        "previous": "/v1/shipments?limit=25&offset=25",
        "results": [
            { ... },
        ]
    }
    ```

    ## Metadata

    Updateable Karrio objects—including Shipment and Order have a metadata parameter.
    You can use this parameter to attach key-value data to these Karrio objects.

    Metadata is useful for storing additional, structured information on an object.
    As an example, you could store your user's full name and corresponding unique identifier
    from your system on a Karrio Order object.

    Do not store any sensitive information as metadata.

    ## Authentication

    API keys are used to authenticate requests. You can view and manage your API keys in the Dashboard.

    Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret
    API keys in publicly accessible areas such as GitHub, client-side code, and so forth.

    Authentication to the API is performed via HTTP Basic Auth. Provide your API token as
    the basic auth username value. You do not need to provide a password.

    ```shell
    $ curl https://instance.api.com/v1/shipments \
        -u key_xxxxxx:
    # The colon prevents curl from asking for a password.
    ```

    If you need to authenticate via bearer auth (e.g., for a cross-origin request),
    use `-H "Authorization: Token key_xxxxxx"` instead of `-u key_xxxxxx`.

    All API requests must be made over [HTTPS](http://en.wikipedia.org/wiki/HTTP_Secure).
    API requests without authentication will also fail.
  title: Karrio API
  version: 2024.12.6
paths:
  /:
    get:
      operationId: '&&ping'
      summary: Instance Metadata
      tags:
      - API
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
              examples:
                Metadata:
                  value:
                    VERSION: ''
                    APP_NAME: ''
                    APP_WEBSITE: ''
                    HOST: ''
                    ADMIN: ''
                    OPENAPI: ''
                    GRAPHQL: ''
                    AUDIT_LOGGING: true
                    ALLOW_SIGNUP: true
                    ALLOW_ADMIN_APPROVED_SIGNUP: true
                    ALLOW_MULTI_ACCOUNT: true
                    ADMIN_DASHBOARD: true
                    MULTI_ORGANIZATIONS: true
                    ORDERS_MANAGEMENT: true
                    APPS_MANAGEMENT: true
                    DOCUMENTS_MANAGEMENT: true
                    DATA_IMPORT_EXPORT: true
                    CUSTOM_CARRIER_DEFINITION: true
                    PERSIST_SDK_TRACING: true
                    ORDER_DATA_RETENTION: true
                    TRACKER_DATA_RETENTION: true
                    SHIPMENT_DATA_RETENTION: true
                    API_LOGS_DATA_RETENTION: true
                    WORKFLOW_MANAGEMENT: true
          description: ''
  /api/token:
    post:
      operationId: '&&authenticate'
      description: Authenticate the user and return a token pair
      summary: Obtain auth token pair
      tags:
      - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TokenObtainPair'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenPair'
          description: ''
  /api/token/refresh:
    post:
      operationId: '&&refresh_token'
      description: Authenticate the user and return a token pair
      summary: Refresh auth token
      tags:
      - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TokenRefresh'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenPair'
          description: ''
  /api/token/verified:
    post:
      operationId: '&&get_verified_token'
      description: Get a verified JWT token pair by submitting a Two-Factor authentication
        code.
      summary: Get verified JWT token
      tags:
      - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VerifiedTokenObtainPair'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenPair'
          description: ''
  /api/token/verify:
    post:
      operationId: '&&verify_token'
      description: Verify an existent authentication token
      summary: Verify token
      tags:
      - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TokenVerify'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
          description: ''
  /v1/addresses:
    get:
      operationId: listAddresses
      description: Retrieve all addresses.
      summary: List all addresses
      tags:
      - Addresses
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddressList'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: listAddresses
    post:
      operationId: createAddress
      description: Create a new address.
      summary: Create an address
      tags:
      - Addresses
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddressData'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Address'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: createAddress
  /v1/addresses/{id}:
    get:
      operationId: retrieveAddress
      description: Retrieve an address.
      summary: Retrieve an address
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Addresses
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Address'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: retrieveAddress
    patch:
      operationId: updateAddress
      description: update an address.
      summary: Update an address
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Addresses
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedAddressData'
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Address'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: updateAddress
    delete:
      operationId: discardAddress
      description: Discard an address.
      summary: Discard an address
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Addresses
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Address'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: discardAddress
  /v1/batches/data/import:
    post:
      operationId: '&&&&$import_file'
      description: |-
        Import csv, xls and xlsx data files for: `Beta`<br/>
        - trackers data
        - orders data
        - shipments data
        - billing data (soon)<br/><br/>
        **This operation will return a batch operation that you can poll to follow
        the import progression.**
      summary: Import data files
      parameters:
      - in: query
        name: data_file
        schema:
          type: string
          format: binary
      - in: query
        name: data_template
        schema:
          type: string
        description: "A data template slug to use for the import.<br/>\n        **When\
          \ nothing is specified, the system default headers are expected.**\n   \
          \     "
      - in: query
        name: resource_type
        schema:
          type: string
          enum:
          - billing
          - order
          - shipment
          - trackers
        description: The type of the resource to import
      tags:
      - Batches
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                resource_type:
                  type: string
                data_template:
                  type: string
                data_file:
                  type: string
                  format: binary
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '202':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchOperation'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
  /v1/batches/operations:
    get:
      operationId: listBatchOperations
      description: Retrieve all batch operations. `Beta`
      summary: List all batch operations
      tags:
      - Batches
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchOperations'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: listBatchOperations
  /v1/batches/operations/{id}:
    get:
      operationId: retrieveBatchOperation
      description: Retrieve a batch operation. `Beta`
      summary: Retrieve a batch operation
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Batches
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchOperation'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: retrieveBatchOperation
  /v1/batches/orders:
    post:
      operationId: '&&&&$create_orders'
      description: Create order batch. `Beta`
      summary: Create order batch
      tags:
      - Batches
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchOrderData'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchOperation'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
  /v1/batches/shipments:
    post:
      operationId: '&&&&$create_shipments'
      description: Create shipment batch. `Beta`
      summary: Create shipment batch
      tags:
      - Batches
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchShipmentData'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchOperation'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
  /v1/batches/trackers:
    post:
      operationId: '&&&&$create_trackers'
      description: Create tracker batch. `Beta`
      summary: Create tracker batch
      tags:
      - Batches
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchTrackerData'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchOperation'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
  /v1/carriers:
    get:
      operationId: listCarriers
      description: Returns the list of configured carriers
      summary: List all carriers
      tags:
      - Carriers
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CarrierDetails'
              examples:
                CarrierList:
                  value:
                  - carrier_name: dhl_express
                    display_name: DHL Express
                    connection_fields:
                      site_id:
                        name: site_id
                        required: true
                        type: string
                      password:
                        name: password
                        required: true
                        type: string
                      account_number:
                        name: account_number
                        required: false
                        type: string
                    capabilities:
                    - paperless
                    - shipping
                    - tracking
                    - rating
                    - pickup
                    config_fields:
                      label_type:
                        code: label_type
                        name: label_type
                        required: false
                        type: string
                      skip_service_filter:
                        code: skip_service_filter
                        name: skip_service_filter
                        required: false
                        type: string
                      shipping_options:
                        code: shipping_options
                        name: shipping_options
                        required: false
                        type: list
                      shipping_services:
                        code: shipping_services
                        name: shipping_services
                        required: false
                        type: list
                  summary: Carrier List
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: listCarriers
  /v1/carriers/{carrier_name}/services:
    get:
      operationId: getServices
      description: Retrieve a carrier's services
      summary: Get carrier services
      parameters:
      - in: path
        name: carrier_name
        schema:
          type: string
        description: 'The unique carrier slug. <br/>Values: `allied_express`, `allied_express_local`,
          `amazon_shipping`, `aramex`, `asendia_us`, `australiapost`, `boxknight`,
          `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`,
          `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpdhl`,
          `easypost`, `easyship`, `eshipper`, `fedex`, `fedex_ws`, `freightcom`, `generic`,
          `geodis`, `hay_post`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`,
          `royalmail`, `sapient`, `seko`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`,
          `usps_wt`, `usps_wt_international`, `zoom2u`'
        required: true
      tags:
      - Carriers
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
              examples:
                CarrierList:
                  value:
                    canadapost_regular_parcel: DOM.RP
                    canadapost_expedited_parcel: DOM.EP
                    canadapost_xpresspost: DOM.XP
                    canadapost_xpresspost_certified: DOM.XP.CERT
                    canadapost_priority: DOM.PC
                    canadapost_library_books: DOM.LIB
                    canadapost_expedited_parcel_usa: USA.EP
                    canadapost_priority_worldwide_envelope_usa: USA.PW.ENV
                    canadapost_priority_worldwide_pak_usa: USA.PW.PAK
                    canadapost_priority_worldwide_parcel_usa: USA.PW.PARCEL
                    canadapost_small_packet_usa_air: USA.SP.AIR
                    canadapost_tracked_packet_usa: USA.TP
                    canadapost_tracked_packet_usa_lvm: USA.TP.LVM
                    canadapost_xpresspost_usa: USA.XP
                    canadapost_xpresspost_international: INT.XP
                    canadapost_international_parcel_air: INT.IP.AIR
                    canadapost_international_parcel_surface: INT.IP.SURF
                    canadapost_priority_worldwide_envelope_intl: INT.PW.ENV
                    canadapost_priority_worldwide_pak_intl: INT.PW.PAK
                    canadapost_priority_worldwide_parcel_intl: INT.PW.PARCEL
                    canadapost_small_packet_international_air: INT.SP.AIR
                    canadapost_small_packet_international_surface: INT.SP.SURF
                    canadapost_tracked_packet_international: INT.TP
                  summary: Carrier List
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: getServices
  /v1/connections:
    get:
      operationId: listCarrierConnections
      description: Retrieve all carrier connections
      summary: List carrier connections
      parameters:
      - in: query
        name: active
        schema:
          type: boolean
      - in: query
        name: carrier_name
        schema:
          type: string
        description: 'The unique carrier slug. <br/>Values: `allied_express`, `allied_express_local`,
          `amazon_shipping`, `aramex`, `asendia_us`, `australiapost`, `boxknight`,
          `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`,
          `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpdhl`,
          `easypost`, `easyship`, `eshipper`, `fedex`, `fedex_ws`, `freightcom`, `generic`,
          `geodis`, `hay_post`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`,
          `royalmail`, `sapient`, `seko`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`,
          `usps_wt`, `usps_wt_international`, `zoom2u`'
      - in: query
        name: metadata_key
        schema:
          type: string
      - in: query
        name: metadata_value
        schema:
          type: string
      - in: query
        name: system_only
        schema:
          type: boolean
      tags:
      - Connections
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CarrierConnectionList'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: listCarrierConnections
    post:
      operationId: addCarrierConnection
      description: Add a new carrier connection.
      summary: Add a carrier connection
      tags:
      - Connections
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CarrierConnectionData'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CarrierConnection'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: addCarrierConnection
  /v1/connections/{id}:
    get:
      operationId: retrieveCarrierConnection
      description: Retrieve carrier connection.
      summary: Retrieve a connection
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Connections
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CarrierConnection'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: retrieveCarrierConnection
    patch:
      operationId: updateCarrierConnection
      description: Update a carrier connection.
      summary: Update a connection
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Connections
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedCarrierConnectionData'
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CarrierConnection'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: updateCarrierConnection
    delete:
      operationId: removeCarrierConnection
      description: Remove a carrier connection.
      summary: Remove a carrier connection
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Connections
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CarrierConnection'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: removeCarrierConnection
  /v1/documents/generate:
    post:
      operationId: '&&&&$$generateDocument'
      description: |-
        Generate any document.
        This API is designed to be used to generate GS1 labels,
        invoices and any document that requires external data.
      summary: Generate a document
      tags:
      - Documents
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DocumentData'
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeneratedDocument'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
  /v1/documents/templates:
    get:
      operationId: listDocumentTemplates
      description: Retrieve all templates.
      summary: List all templates
      tags:
      - Documents
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentTemplateList'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: listDocumentTemplates
    post:
      operationId: createDocumentTemplate
      description: Create a new template.
      summary: Create a template
      tags:
      - Documents
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DocumentTemplateData'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentTemplate'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: createDocumentTemplate
  /v1/documents/templates/{id}:
    get:
      operationId: retrieveDocumentTemplate
      description: Retrieve a template.
      summary: Retrieve a template
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Documents
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentTemplate'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: retrieveDocumentTemplate
    patch:
      operationId: updateDocumentTemplate
      description: update a template.
      summary: Update a template
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Documents
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedDocumentTemplateData'
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentTemplate'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: updateDocumentTemplate
    delete:
      operationId: discardDocumentTemplate
      description: Delete a template.
      summary: Delete a template
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Documents
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentTemplate'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: discardDocumentTemplate
  /v1/documents/uploads:
    get:
      operationId: $$$$$&uploads
      description: Retrieve all shipping document upload records.
      summary: List all upload records
      parameters:
      - in: query
        name: created_after
        schema:
          type: string
          format: date-time
      - in: query
        name: created_before
        schema:
          type: string
          format: date-time
      - in: query
        name: shipment_id
        schema:
          type: string
      tags:
      - Documents
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentUploadRecords'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
    post:
      operationId: $$$$$&upload
      description: Upload a shipping document.
      summary: Upload documents
      tags:
      - Documents
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DocumentUploadData'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentUploadRecord'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
  /v1/documents/uploads/{id}:
    get:
      operationId: $$$$$&retrieve_upload
      description: Retrieve a shipping document upload record.
      summary: Retrieve upload record
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Documents
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentUploadRecord'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
  /v1/manifests:
    get:
      operationId: listManifests
      description: Retrieve all manifests.
      summary: List manifests
      parameters:
      - in: query
        name: carrier_name
        schema:
          type: string
        description: 'The unique carrier slug. <br/>Values: `allied_express`, `allied_express_local`,
          `amazon_shipping`, `aramex`, `asendia_us`, `australiapost`, `boxknight`,
          `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`,
          `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpdhl`,
          `easypost`, `easyship`, `eshipper`, `fedex`, `fedex_ws`, `freightcom`, `generic`,
          `geodis`, `hay_post`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`,
          `royalmail`, `sapient`, `seko`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`,
          `usps_wt`, `usps_wt_international`, `zoom2u`'
      - in: query
        name: created_after
        schema:
          type: string
          format: date-time
      - in: query
        name: created_before
        schema:
          type: string
          format: date-time
      tags:
      - Manifests
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManifestList'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: listManifests
    post:
      operationId: createManifest
      description: Create a manifest for one or many shipments with labels already
        purchased.
      summary: Create a manifest
      tags:
      - Manifests
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManifestData'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Manifest'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: createManifest
  /v1/manifests/{id}:
    get:
      operationId: retrieveManifest
      description: Retrieve a shipping manifest.
      summary: Retrieve a manifest
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Manifests
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Manifest'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: retrieveManifest
  /v1/orders:
    get:
      operationId: listOrders
      description: Retrieve all orders.
      summary: List all orders
      tags:
      - Orders
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderList'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: listOrders
    post:
      operationId: createOrder
      description: Create a new order object.
      summary: Create an order
      tags:
      - Orders
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrderData'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: createOrder
  /v1/orders/{id}:
    get:
      operationId: retrieveOrder
      description: Retrieve an order.
      summary: Retrieve an order
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Orders
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: retrieveOrder
    put:
      operationId: updateOrder
      description: |-
        This operation allows for updating properties of an order including `options` and `metadata`.
        It is not for editing the line items of an order.
      summary: Update an order
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Orders
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrderUpdateData'
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: updateOrder
    delete:
      operationId: dismissOrder
      description: Dismiss an order from fulfillment.
      summary: Dismiss an order
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Orders
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      deprecated: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: dismissOrder
  /v1/orders/{id}/cancel:
    post:
      operationId: cancelOrder
      description: Cancel an order.
      summary: Cancel an order
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Orders
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: cancelOrder
  /v1/parcels:
    get:
      operationId: listParcels
      description: Retrieve all stored parcels.
      summary: List all parcels
      tags:
      - Parcels
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ParcelList'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: listParcels
    post:
      operationId: createParcel
      description: Create a new parcel.
      summary: Create a parcel
      tags:
      - Parcels
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ParcelData'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Parcel'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: createParcel
  /v1/parcels/{id}:
    get:
      operationId: retrieveParcel
      description: Retrieve a parcel.
      summary: Retrieve a parcel
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Parcels
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Parcel'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: retrieveParcel
    patch:
      operationId: updateParcel
      description: modify an existing parcel's details.
      summary: Update a parcel
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Parcels
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedParcelData'
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Parcel'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: updateParcel
    delete:
      operationId: discardParcel
      description: Remove a parcel.
      summary: Remove a parcel
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Parcels
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Parcel'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: discardParcel
  /v1/pickups:
    get:
      operationId: listPickups
      description: Retrieve all scheduled pickups.
      summary: List shipment pickups
      tags:
      - Pickups
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PickupList'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: listPickups
  /v1/pickups/{carrier_name}/schedule:
    post:
      operationId: schedulePickup
      description: Schedule a pickup for one or many shipments with labels already
        purchased.
      summary: Schedule a pickup
      parameters:
      - in: path
        name: carrier_name
        schema:
          type: string
        required: true
      tags:
      - Pickups
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PickupData'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Pickup'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: schedulePickup
  /v1/pickups/{id}:
    get:
      operationId: retrievePickup
      description: Retrieve a scheduled pickup.
      summary: Retrieve a pickup
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Pickups
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Pickup'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: retrievePickup
    post:
      operationId: updatePickup
      description: Modify a pickup for one or many shipments with labels already purchased.
      summary: Update a pickup
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Pickups
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PickupUpdateData'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Pickup'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: updatePickup
  /v1/pickups/{id}/cancel:
    post:
      operationId: cancelPickup
      description: Cancel a pickup of one or more shipments.
      summary: Cancel a pickup
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Pickups
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PickupCancelData'
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Pickup'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: cancelPickup
  /v1/proxy/manifest:
    post:
      operationId: generateManifest
      description: |2

        Some carriers require shipment manifests to be created for pickups and dropoff.
        Creating a manifest for a shipment also kicks off billing as a commitment or confirmation of the shipment.
      summary: Create a manifest
      tags:
      - Proxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManifestRequest'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManifestResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: generateManifest
  /v1/proxy/pickups/{carrier_name}:
    post:
      operationId: pickupSchedule
      description: Schedule one or many parcels pickup
      summary: Schedule a pickup
      parameters:
      - in: path
        name: carrier_name
        schema:
          type: string
          enum:
          - allied_express
          - allied_express_local
          - amazon_shipping
          - aramex
          - asendia_us
          - australiapost
          - boxknight
          - bpost
          - canadapost
          - canpar
          - chronopost
          - colissimo
          - dhl_express
          - dhl_parcel_de
          - dhl_poland
          - dhl_universal
          - dicom
          - dpd
          - dpdhl
          - easypost
          - easyship
          - eshipper
          - fedex
          - fedex_ws
          - freightcom
          - generic
          - geodis
          - hay_post
          - laposte
          - locate2u
          - nationex
          - purolator
          - roadie
          - royalmail
          - sapient
          - seko
          - sendle
          - tge
          - tnt
          - ups
          - usps
          - usps_international
          - usps_wt
          - usps_wt_international
          - zoom2u
        required: true
      tags:
      - Proxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PickupRequest'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PickupResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: pickupSchedule
  /v1/proxy/pickups/{carrier_name}/cancel:
    post:
      operationId: pickupCancel
      description: Cancel a pickup previously scheduled
      summary: Cancel a pickup
      parameters:
      - in: path
        name: carrier_name
        schema:
          type: string
          enum:
          - allied_express
          - allied_express_local
          - amazon_shipping
          - aramex
          - asendia_us
          - australiapost
          - boxknight
          - bpost
          - canadapost
          - canpar
          - chronopost
          - colissimo
          - dhl_express
          - dhl_parcel_de
          - dhl_poland
          - dhl_universal
          - dicom
          - dpd
          - dpdhl
          - easypost
          - easyship
          - eshipper
          - fedex
          - fedex_ws
          - freightcom
          - generic
          - geodis
          - hay_post
          - laposte
          - locate2u
          - nationex
          - purolator
          - roadie
          - royalmail
          - sapient
          - seko
          - sendle
          - tge
          - tnt
          - ups
          - usps
          - usps_international
          - usps_wt
          - usps_wt_international
          - zoom2u
        required: true
      tags:
      - Proxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PickupCancelRequest'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: pickupCancel
  /v1/proxy/pickups/{carrier_name}/update:
    post:
      operationId: pickupUpdate
      description: Modify a scheduled pickup
      summary: Update a pickup
      parameters:
      - in: path
        name: carrier_name
        schema:
          type: string
          enum:
          - allied_express
          - allied_express_local
          - amazon_shipping
          - aramex
          - asendia_us
          - australiapost
          - boxknight
          - bpost
          - canadapost
          - canpar
          - chronopost
          - colissimo
          - dhl_express
          - dhl_parcel_de
          - dhl_poland
          - dhl_universal
          - dicom
          - dpd
          - dpdhl
          - easypost
          - easyship
          - eshipper
          - fedex
          - fedex_ws
          - freightcom
          - generic
          - geodis
          - hay_post
          - laposte
          - locate2u
          - nationex
          - purolator
          - roadie
          - royalmail
          - sapient
          - seko
          - sendle
          - tge
          - tnt
          - ups
          - usps
          - usps_international
          - usps_wt
          - usps_wt_international
          - zoom2u
        required: true
      tags:
      - Proxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PickupUpdateRequest'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PickupResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: pickupUpdate
  /v1/proxy/rates:
    post:
      operationId: fetchRates
      description: |2

        The Shipping process begins by fetching rates for your shipment.
        Use this service to fetch a shipping rates available.
      summary: Fetch shipment rates
      tags:
      - Proxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RateRequest'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: fetchRates
  /v1/proxy/shipping:
    post:
      operationId: buyLabel
      description: |-
        Once the shipping rates are retrieved, provide the required info to
        submit the shipment by specifying your preferred rate.
      summary: Buy a shipment label
      tags:
      - Proxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShippingRequest'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShippingResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: buyLabel
  /v1/proxy/shipping/{carrier_name}/cancel:
    post:
      operationId: voidLabel
      description: Cancel a shipment and the label previously created
      summary: Void a shipment label
      parameters:
      - in: path
        name: carrier_name
        schema:
          type: string
          enum:
          - allied_express
          - allied_express_local
          - amazon_shipping
          - aramex
          - asendia_us
          - australiapost
          - boxknight
          - bpost
          - canadapost
          - canpar
          - chronopost
          - colissimo
          - dhl_express
          - dhl_parcel_de
          - dhl_poland
          - dhl_universal
          - dicom
          - dpd
          - dpdhl
          - easypost
          - easyship
          - eshipper
          - fedex
          - fedex_ws
          - freightcom
          - generic
          - geodis
          - hay_post
          - laposte
          - locate2u
          - nationex
          - purolator
          - roadie
          - royalmail
          - sapient
          - seko
          - sendle
          - tge
          - tnt
          - ups
          - usps
          - usps_international
          - usps_wt
          - usps_wt_international
          - zoom2u
        required: true
      tags:
      - Proxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShipmentCancelRequest'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '202':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
      x-operationId: voidLabel
  /v1/proxy/tracking:
    post:
      operationId: getTracking
      description: You can track a shipment by specifying the carrier and the shipment
        tracking number.
      summary: Get tracking details
      parameters:
      - in: query
        name: hub
        schema:
          type: string
      tags:
      - Proxy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TrackingData'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrackingResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: getTracking
  /v1/proxy/tracking/{carrier_name}/{tracking_number}:
    get:
      operationId: trackShipment
      description: You can track a shipment by specifying the carrier and the shipment
        tracking number.
      summary: Track a shipment
      parameters:
      - in: path
        name: carrier_name
        schema:
          type: string
          enum:
          - allied_express
          - allied_express_local
          - amazon_shipping
          - aramex
          - asendia_us
          - australiapost
          - boxknight
          - bpost
          - canadapost
          - canpar
          - chronopost
          - colissimo
          - dhl_express
          - dhl_parcel_de
          - dhl_poland
          - dhl_universal
          - dicom
          - dpd
          - dpdhl
          - fedex
          - fedex_ws
          - generic
          - geodis
          - hay_post
          - laposte
          - locate2u
          - nationex
          - purolator
          - roadie
          - royalmail
          - seko
          - sendle
          - tge
          - tnt
          - ups
          - usps
          - usps_international
          - usps_wt
          - usps_wt_international
          - zoom2u
        required: true
      - in: query
        name: hub
        schema:
          type: string
      - in: path
        name: tracking_number
        schema:
          type: string
        required: true
      tags:
      - Proxy
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      deprecated: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrackingResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: trackShipment
  /v1/references:
    get:
      operationId: '&&data'
      summary: Data References
      tags:
      - API
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
              examples:
                References:
                  value:
                    VERSION: ''
                    APP_NAME: ''
                    APP_WEBSITE: ''
                    HOST: ''
                    ADMIN: ''
                    OPENAPI: ''
                    GRAPHQL: ''
                    AUDIT_LOGGING: true
                    ALLOW_SIGNUP: true
                    ALLOW_ADMIN_APPROVED_SIGNUP: true
                    ALLOW_MULTI_ACCOUNT: true
                    ADMIN_DASHBOARD: true
                    MULTI_ORGANIZATIONS: true
                    ORDERS_MANAGEMENT: true
                    APPS_MANAGEMENT: true
                    DOCUMENTS_MANAGEMENT: true
                    DATA_IMPORT_EXPORT: true
                    CUSTOM_CARRIER_DEFINITION: true
                    PERSIST_SDK_TRACING: true
                    ORDER_DATA_RETENTION: true
                    TRACKER_DATA_RETENTION: true
                    SHIPMENT_DATA_RETENTION: true
                    API_LOGS_DATA_RETENTION: true
                    WORKFLOW_MANAGEMENT: true
                    ADDRESS_AUTO_COMPLETE: {}
                    countries: {}
                    currencies: {}
                    carriers: {}
                    customs_content_type: {}
                    incoterms: {}
                    states: {}
                    services: {}
                    connection_configs: {}
                    service_names: {}
                    options: {}
                    option_names: {}
                    package_presets: {}
                    packaging_types: {}
                    payment_types: {}
                    carrier_capabilities: {}
                    service_levels: {}
          description: ''
  /v1/shipments:
    get:
      operationId: listShipments
      description: Retrieve all shipments.
      summary: List all shipments
      parameters:
      - in: query
        name: address
        schema:
          type: string
      - in: query
        name: carrier_name
        schema:
          type: string
        description: 'The unique carrier slug. <br/>Values: `allied_express`, `allied_express_local`,
          `amazon_shipping`, `aramex`, `asendia_us`, `australiapost`, `boxknight`,
          `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`,
          `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpdhl`,
          `easypost`, `easyship`, `eshipper`, `fedex`, `fedex_ws`, `freightcom`, `generic`,
          `geodis`, `hay_post`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`,
          `royalmail`, `sapient`, `seko`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`,
          `usps_wt`, `usps_wt_international`, `zoom2u`'
      - in: query
        name: created_after
        schema:
          type: string
          format: date-time
      - in: query
        name: created_before
        schema:
          type: string
          format: date-time
      - in: query
        name: has_manifest
        schema:
          type: boolean
      - in: query
        name: has_tracker
        schema:
          type: boolean
      - in: query
        name: id
        schema:
          type: string
      - in: query
        name: keyword
        schema:
          type: string
      - in: query
        name: meta_key
        schema:
          type: string
      - in: query
        name: meta_value
        schema:
          type: string
      - in: query
        name: metadata_key
        schema:
          type: string
      - in: query
        name: metadata_value
        schema:
          type: string
      - in: query
        name: option_key
        schema:
          type: string
      - in: query
        name: option_value
        schema:
          type: string
      - in: query
        name: reference
        schema:
          type: string
      - in: query
        name: service
        schema:
          type: string
      - in: query
        name: status
        schema:
          type: string
        description: 'Valid shipment status. <br/>Values: `draft`, `purchased`, `cancelled`,
          `shipped`, `in_transit`, `delivered`, `needs_attention`, `out_for_delivery`,
          `delivery_failed`'
      - in: query
        name: tracking_number
        schema:
          type: string
      tags:
      - Shipments
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Shipment'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: listShipments
    post:
      operationId: createShipment
      description: Create a new shipment instance.
      summary: Create a shipment
      tags:
      - Shipments
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShipmentData'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Shipment'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: createShipment
  /v1/shipments/{id}:
    get:
      operationId: retrieveShipment
      description: Retrieve a shipment.
      summary: Retrieve a shipment
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Shipments
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Shipment'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: retrieveShipment
    put:
      operationId: updateShipment
      description: |-
        This operation allows for updating properties of a shipment including `label_type`, `reference`, `payment`, `options` and `metadata`.
        It is not for editing the parcels of a shipment.
      summary: Update a shipment
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Shipments
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShipmentUpdateData'
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Shipment'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: updateShipment
  /v1/shipments/{id}/cancel:
    post:
      operationId: cancelShipment
      description: Void a shipment with the associated label.
      summary: Cancel a shipment
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Shipments
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Shipment'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: cancelShipment
  /v1/shipments/{id}/purchase:
    post:
      operationId: $$$$$purchase
      description: Select your preferred rates to buy a shipment label.
      summary: Buy a shipment label
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Shipments
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShipmentPurchaseData'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Shipment'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
  /v1/shipments/{id}/rates:
    post:
      operationId: $$$$$rates
      description: Refresh the list of the shipment rates
      summary: Fetch new shipment rates
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Shipments
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShipmentRateData'
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Shipment'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
  /v1/trackers:
    get:
      operationId: listTrackers
      description: Retrieve all shipment trackers.
      summary: List all package trackers
      parameters:
      - in: query
        name: carrier_name
        schema:
          type: string
        description: 'The unique carrier slug. <br/>Values: `allied_express`, `allied_express_local`,
          `amazon_shipping`, `aramex`, `asendia_us`, `australiapost`, `boxknight`,
          `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`,
          `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpdhl`,
          `easypost`, `easyship`, `eshipper`, `fedex`, `fedex_ws`, `freightcom`, `generic`,
          `geodis`, `hay_post`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`,
          `royalmail`, `sapient`, `seko`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`,
          `usps_wt`, `usps_wt_international`, `zoom2u`'
      - in: query
        name: created_after
        schema:
          type: string
          format: date-time
      - in: query
        name: created_before
        schema:
          type: string
          format: date-time
      - in: query
        name: status
        schema:
          type: string
        description: 'Valid tracker status. <br/>Values: `pending`, `unknown`, `on_hold`,
          `delivered`, `in_transit`, `delivery_delayed`, `out_for_delivery`, `ready_for_pickup`,
          `delivery_failed`'
      - in: query
        name: tracking_number
        schema:
          type: string
      tags:
      - Trackers
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrackerList'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: listTrackers
    post:
      operationId: addTracker
      description: |-
        This API creates or retrieves (if existent) a tracking status object containing the
        details and events of a shipping in progress.
      summary: Add a package tracker
      parameters:
      - in: query
        name: hub
        schema:
          type: string
      - in: query
        name: pending_pickup
        schema:
          type: boolean
        description: Add this flag to add the tracker whether the tracking info exist
          or not.When the package is eventually picked up, the tracker with capture
          real time updates.
      tags:
      - Trackers
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TrackingData'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrackingStatus'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: addTracker
  /v1/trackers/{carrier_name}/{tracking_number}:
    get:
      operationId: createTracker
      description: |-
        This API creates or retrieves (if existent) a tracking status object containing the
        details and events of a shipping in progress.
      summary: Create a package tracker
      parameters:
      - in: path
        name: carrier_name
        schema:
          type: string
        required: true
      - in: query
        name: carrier_name
        schema:
          type: string
          enum:
          - allied_express
          - allied_express_local
          - amazon_shipping
          - aramex
          - asendia_us
          - australiapost
          - boxknight
          - bpost
          - canadapost
          - canpar
          - chronopost
          - colissimo
          - dhl_express
          - dhl_parcel_de
          - dhl_poland
          - dhl_universal
          - dicom
          - dpd
          - dpdhl
          - fedex
          - fedex_ws
          - generic
          - geodis
          - hay_post
          - laposte
          - locate2u
          - nationex
          - purolator
          - roadie
          - royalmail
          - seko
          - sendle
          - tge
          - tnt
          - ups
          - usps
          - usps_international
          - usps_wt
          - usps_wt_international
          - zoom2u
        required: true
      - in: query
        name: hub
        schema:
          type: string
      - in: path
        name: tracking_number
        schema:
          type: string
        required: true
      tags:
      - Trackers
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      deprecated: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrackingStatus'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '424':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: createTracker
  /v1/trackers/{id_or_tracking_number}:
    get:
      operationId: retrieveTracker
      description: Retrieve a package tracker
      summary: Retrieves a package tracker
      parameters:
      - in: path
        name: id_or_tracking_number
        schema:
          type: string
        required: true
      tags:
      - Trackers
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      - {}
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrackingStatus'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessages'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: retrieveTracker
    put:
      operationId: updateTracker
      description: Mixin to log requests
      summary: Update tracker data
      parameters:
      - in: path
        name: id_or_tracking_number
        schema:
          type: string
        required: true
      tags:
      - Trackers
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TrackerUpdateData'
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrackingStatus'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: updateTracker
    delete:
      operationId: removeTracker
      description: Discard a package tracker.
      summary: Discard a package tracker
      parameters:
      - in: path
        name: id_or_tracking_number
        schema:
          type: string
        required: true
      tags:
      - Trackers
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrackingStatus'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: removeTracker
  /v1/webhooks:
    get:
      operationId: listWebhooks
      description: Retrieve all webhooks.
      summary: List all webhooks
      tags:
      - Webhooks
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookList'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: listWebhooks
    post:
      operationId: createWebhook
      description: Create a new webhook.
      summary: Create a webhook
      tags:
      - Webhooks
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookData'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: createWebhook
  /v1/webhooks/{id}:
    get:
      operationId: retrieveWebhook
      description: Retrieve a webhook.
      summary: Retrieve a webhook
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Webhooks
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: retrieveWebhook
    patch:
      operationId: updateWebhook
      description: update a webhook.
      summary: Update a webhook
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Webhooks
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedWebhookData'
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: updateWebhook
    delete:
      operationId: removeWebhook
      description: Remove a webhook.
      summary: Remove a webhook
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Webhooks
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Operation'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: removeWebhook
  /v1/webhooks/{id}/test:
    post:
      operationId: testWebhook
      description: test a webhook.
      summary: Test a webhook
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Webhooks
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookTestRequest'
        required: true
      security:
      - TokenBasic: []
      - Token: []
      - OAuth2: []
      - JWT: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Operation'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: ''
      x-operationId: testWebhook
components:
  schemas:
    APIError:
      type: object
      properties:
        message:
          type: string
          description: The error or warning message
        code:
          type: string
          description: The message code
        details:
          type: object
          additionalProperties: {}
          description: any additional details
    Address:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier
        postal_code:
          type: string
          nullable: true
          description: "The address postal code\n        **(required for shipment\
            \ purchase)**\n        "
          maxLength: 10
        city:
          type: string
          nullable: true
          description: "The address city.\n        **(required for shipment purchase)**\n\
            \        "
          maxLength: 30
        federal_tax_id:
          type: string
          nullable: true
          description: The party frederal tax id
          maxLength: 20
        state_tax_id:
          type: string
          nullable: true
          description: The party state id
          maxLength: 20
        person_name:
          type: string
          nullable: true
          description: "Attention to\n        **(required for shipment purchase)**\n\
            \        "
          maxLength: 50
        company_name:
          type: string
          nullable: true
          description: The company name if the party is a company
          maxLength: 50
        country_code:
          enum:
          - AC
          - AD
          - AE
          - AF
          - AG
          - AI
          - AL
          - AM
          - AN
          - AO
          - AR
          - AS
          - AT
          - AU
          - AW
          - AZ
          - BA
          - BB
          - BD
          - BE
          - BF
          - BG
          - BH
          - BI
          - BJ
          - BM
          - BN
          - BO
          - BR
          - BS
          - BT
          - BW
          - BY
          - BZ
          - CA
          - CD
          - CF
          - CG
          - CH
          - CI
          - CK
          - CL
          - CM
          - CN
          - CO
          - CR
          - CU
          - CV
          - CY
          - CZ
          - DE
          - DJ
          - DK
          - DM
          - DO
          - DZ
          - EC
          - EE
          - EG
          - ER
          - ES
          - ET
          - FI
          - FJ
          - FK
          - FM
          - FO
          - FR
          - GA
          - GB
          - GD
          - GE
          - GF
          - GG
          - GH
          - GI
          - GL
          - GM
          - GN
          - GP
          - GQ
          - GR
          - GT
          - GU
          - GW
          - GY
          - HK
          - HN
          - HR
          - HT
          - HU
          - IC
          - ID
          - IE
          - IL
          - IN
          - IQ
          - IR
          - IS
          - IT
          - JE
          - JM
          - JO
          - JP
          - KE
          - KG
          - KH
          - KI
          - KM
          - KN
          - KP
          - KR
          - KV
          - KW
          - KY
          - KZ
          - LA
          - LB
          - LC
          - LI
          - LK
          - LR
          - LS
          - LT
          - LU
          - LV
          - LY
          - MA
          - MC
          - MD
          - ME
          - MG
          - MH
          - MK
          - ML
          - MM
          - MN
          - MO
          - MP
          - MQ
          - MR
          - MS
          - MT
          - MU
          - MV
          - MW
          - MX
          - MY
          - MZ
          - NA
          - NC
          - NE
          - NG
          - NI
          - NL
          - 'NO'
          - NP
          - NR
          - NU
          - NZ
          - OM
          - PA
          - PE
          - PF
          - PG
          - PH
          - PK
          - PL
          - PR
          - PT
          - PW
          - PY
          - QA
          - RE
          - RO
          - RS
          - RU
          - RW
          - SA
          - SB
          - SC
          - SD
          - SE
          - SG
          - SH
          - SI
          - SK
          - SL
          - SM
          - SN
          - SO
          - SR
          - SS
          - ST
          - SV
          - SY
          - SZ
          - TC
          - TD
          - TG
          - TH
          - TJ
          - TL
          - TN
          - TO
          - TR
          - TT
          - TV
          - TW
          - TZ
          - UA
          - UG
          - US
          - UY
          - UZ
          - VA
          - VC
          - VE
          - VG
          - VI
          - VN
          - VU
          - WS
          - XB
          - XC
          - XE
          - XM
          - XN
          - XS
          - XY
          - YE
          - YT
          - ZA
          - ZM
          - ZW
          - EH
          - IM
          - BL
          - MF
          - SX
          type: string
          x-spec-enum-id: 05a7b91de773db3e
          description: The address country code
        email:
          type: string
          nullable: true
          description: The party email
        phone_number:
          type: string
          nullable: true
          description: The party phone number.
          maxLength: 20
        state_code:
          type: string
          nullable: true
          description: The address state code
          maxLength: 20
        residential:
          type: boolean
          nullable: true
          default: false
          description: Indicate if the address is residential or commercial (enterprise)
        street_number:
          type: string
          nullable: true
          description: The address street number
          maxLength: 20
        address_line1:
          type: string
          nullable: true
          description: "The address line with street number <br/>\n        **(required\
            \ for shipment purchase)**\n        "
          maxLength: 50
        address_line2:
          type: string
          nullable: true
          description: The address line with suite number
          maxLength: 50
        validate_location:
          type: boolean
          nullable: true
          default: false
          description: Indicate if the address should be validated
        object_type:
          type: string
          default: address
          description: Specifies the object type
        validation:
          allOf:
          - $ref: '#/components/schemas/AddressValidation'
          nullable: true
          description: Specify address validation result
      required:
      - country_code
    AddressData:
      type: object
      properties:
        postal_code:
          type: string
          nullable: true
          description: "The address postal code\n        **(required for shipment\
            \ purchase)**\n        "
          maxLength: 10
        city:
          type: string
          nullable: true
          description: "The address city.\n        **(required for shipment purchase)**\n\
            \        "
          maxLength: 30
        federal_tax_id:
          type: string
          nullable: true
          description: The party frederal tax id
          maxLength: 20
        state_tax_id:
          type: string
          nullable: true
          description: The party state id
          maxLength: 20
        person_name:
          type: string
          nullable: true
          description: "Attention to\n        **(required for shipment purchase)**\n\
            \        "
          maxLength: 50
        company_name:
          type: string
          nullable: true
          description: The company name if the party is a company
          maxLength: 50
        country_code:
          enum:
          - AC
          - AD
          - AE
          - AF
          - AG
          - AI
          - AL
          - AM
          - AN
          - AO
          - AR
          - AS
          - AT
          - AU
          - AW
          - AZ
          - BA
          - BB
          - BD
          - BE
          - BF
          - BG
          - BH
          - BI
          - BJ
          - BM
          - BN
          - BO
          - BR
          - BS
          - BT
          - BW
          - BY
          - BZ
          - CA
          - CD
          - CF
          - CG
          - CH
          - CI
          - CK
          - CL
          - CM
          - CN
          - CO
          - CR
          - CU
          - CV
          - CY
          - CZ
          - DE
          - DJ
          - DK
          - DM
          - DO
          - DZ
          - EC
          - EE
          - EG
          - ER
          - ES
          - ET
          - FI
          - FJ
          - FK
          - FM
          - FO
          - FR
          - GA
          - GB
          - GD
          - GE
          - GF
          - GG
          - GH
          - GI
          - GL
          - GM
          - GN
          - GP
          - GQ
          - GR
          - GT
          - GU
          - GW
          - GY
          - HK
          - HN
          - HR
          - HT
          - HU
          - IC
          - ID
          - IE
          - IL
          - IN
          - IQ
          - IR
          - IS
          - IT
          - JE
          - JM
          - JO
          - JP
          - KE
          - KG
          - KH
          - KI
          - KM
          - KN
          - KP
          - KR
          - KV
          - KW
          - KY
          - KZ
          - LA
          - LB
          - LC
          - LI
          - LK
          - LR
          - LS
          - LT
          - LU
          - LV
          - LY
          - MA
          - MC
          - MD
          - ME
          - MG
          - MH
          - MK
          - ML
          - MM
          - MN
          - MO
          - MP
          - MQ
          - MR
          - MS
          - MT
          - MU
          - MV
          - MW
          - MX
          - MY
          - MZ
          - NA
          - NC
          - NE
          - NG
          - NI
          - NL
          - 'NO'
          - NP
          - NR
          - NU
          - NZ
          - OM
          - PA
          - PE
          - PF
          - PG
          - PH
          - PK
          - PL
          - PR
          - PT
          - PW
          - PY
          - QA
          - RE
          - RO
          - RS
          - RU
          - RW
          - SA
          - SB
          - SC
          - SD
          - SE
          - SG
          - SH
          - SI
          - SK
          - SL
          - SM
          - SN
          - SO
          - SR
          - SS
          - ST
          - SV
          - SY
          - SZ
          - TC
          - TD
          - TG
          - TH
          - TJ
          - TL
          - TN
          - TO
          - TR
          - TT
          - TV
          - TW
          - TZ
          - UA
          - UG
          - US
          - UY
          - UZ
          - VA
          - VC
          - VE
          - VG
          - VI
          - VN
          - VU
          - WS
          - XB
          - XC
          - XE
          - XM
          - XN
          - XS
          - XY
          - YE
          - YT
          - ZA
          - ZM
          - ZW
          - EH
          - IM
          - BL
          - MF
          - SX
          type: string
          x-spec-enum-id: 05a7b91de773db3e
          description: The address country code
        email:
          type: string
          nullable: true
          description: The party email
        phone_number:
          type: string
          nullable: true
          description: The party phone number.
          maxLength: 20
        state_code:
          type: string
          nullable: true
          description: The address state code
          maxLength: 20
        residential:
          type: boolean
          nullable: true
          default: false
          description: Indicate if the address is residential or commercial (enterprise)
        street_number:
          type: string
          nullable: true
          description: The address street number
          maxLength: 20
        address_line1:
          type: string
          nullable: true
          description: "The address line with street number <br/>\n        **(required\
            \ for shipment purchase)**\n        "
          maxLength: 50
        address_line2:
          type: string
          nullable: true
          description: The address line with suite number
          maxLength: 50
        validate_location:
          type: boolean
          nullable: true
          default: false
          description: Indicate if the address should be validated
      required:
      - country_code
    AddressList:
      type: object
      properties:
        count:
          type: integer
          nullable: true
        next:
          type: string
          format: uri
          nullable: true
        previous:
          type: string
          format: uri
          nullable: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/Address'
      required:
      - results
    AddressValidation:
      type: object
      properties:
        success:
          type: boolean
          description: True if the address is valid
        meta:
          type: object
          additionalProperties: {}
          nullable: true
          description: validation service details
      required:
      - success
    BatchObject:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier
        status:
          enum:
          - queued
          - running
          - failed
          - completed
          - completed_with_errors
          type: string
          x-spec-enum-id: 75e3c72297e66209
          description: The batch operation resource status
        errors:
          type: object
          additionalProperties: {}
          nullable: true
          description: Resource processing errors
      required:
      - status
    BatchOperation:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier
        status:
          enum:
          - queued
          - running
          - failed
          - completed
          - completed_with_errors
          type: string
          x-spec-enum-id: 75e3c72297e66209
        resource_type:
          enum:
          - orders
          - shipments
          - trackers
          - billing
          type: string
          x-spec-enum-id: 11343e2af644580f
        resources:
          type: array
          items:
            $ref: '#/components/schemas/BatchObject'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        test_mode:
          type: boolean
      required:
      - created_at
      - resource_type
      - resources
      - status
      - test_mode
      - updated_at
    BatchOperations:
      type: object
      properties:
        count:
          type: integer
          nullable: true
        next:
          type: string
          format: uri
          nullable: true
        previous:
          type: string
          format: uri
          nullable: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/BatchOperation'
      required:
      - results
    BatchOrderData:
      type: object
      properties:
        orders:
          type: array
          items:
            $ref: '#/components/schemas/OrderData'
          description: The list of orders to process.
      required:
      - orders
    BatchShipmentData:
      type: object
      properties:
        shipments:
          type: array
          items:
            $ref: '#/components/schemas/ShipmentDataReference'
          description: The list of shipments to process.
      required:
      - shipments
    BatchTrackerData:
      type: object
      properties:
        trackers:
          type: array
          items:
            $ref: '#/components/schemas/TrackingData'
          description: The list of tracking info to process.
      required:
      - trackers
    CarrierConnection:
      type: object
      properties:
        id:
          type: string
          description: A unique carrier connection identifier
        object_type:
          type: string
          default: carrier-connection
          description: Specifies the object type
        carrier_name:
          enum:
          - allied_express
          - allied_express_local
          - amazon_shipping
          - aramex
          - asendia_us
          - australiapost
          - boxknight
          - bpost
          - canadapost
          - canpar
          - chronopost
          - colissimo
          - dhl_express
          - dhl_parcel_de
          - dhl_poland
          - dhl_universal
          - dicom
          - dpd
          - dpdhl
          - easypost
          - easyship
          - eshipper
          - fedex
          - fedex_ws
          - freightcom
          - generic
          - geodis
          - hay_post
          - laposte
          - locate2u
          - nationex
          - purolator
          - roadie
          - royalmail
          - sapient
          - seko
          - sendle
          - tge
          - tnt
          - ups
          - usps
          - usps_international
          - usps_wt
          - usps_wt_international
          - zoom2u
          type: string
          x-spec-enum-id: 3812983dc743ed62
          description: A carrier connection type.
        display_name:
          type: string
          description: The carrier connection type verbose name.
        carrier_id:
          type: string
          description: A carrier connection friendly name.
        credentials:
          allOf:
          - $ref: '#/components/schemas/ConnectionCredentialsField'
          description: Carrier connection credentials.
        capabilities:
          type: array
          items:
            type: string
          nullable: true
          description: The carrier enabled capabilities.
        config:
          type: object
          additionalProperties: {}
          default: {}
          description: Carrier connection custom config.
        metadata:
          type: object
          additionalProperties: {}
          default: {}
          description: User metadata for the carrier.
        is_system:
          type: boolean
          description: The carrier connection is provided by the system admin.
        active:
          type: boolean
          description: The active flag indicates whether the carrier account is active
            or not.
        test_mode:
          type: boolean
          description: The test flag indicates whether to use a carrier configured
            for test.
      required:
      - active
      - carrier_id
      - carrier_name
      - id
      - is_system
      - test_mode
    CarrierConnectionData:
      type: object
      properties:
        carrier_name:
          enum:
          - allied_express
          - allied_express_local
          - amazon_shipping
          - aramex
          - asendia_us
          - australiapost
          - boxknight
          - bpost
          - canadapost
          - canpar
          - chronopost
          - colissimo
          - dhl_express
          - dhl_parcel_de
          - dhl_poland
          - dhl_universal
          - dicom
          - dpd
          - dpdhl
          - easypost
          - easyship
          - eshipper
          - fedex
          - fedex_ws
          - freightcom
          - generic
          - geodis
          - hay_post
          - laposte
          - locate2u
          - nationex
          - purolator
          - roadie
          - royalmail
          - sapient
          - seko
          - sendle
          - tge
          - tnt
          - ups
          - usps
          - usps_international
          - usps_wt
          - usps_wt_international
          - zoom2u
          type: string
          x-spec-enum-id: 3812983dc743ed62
          description: A carrier connection type.
        carrier_id:
          type: string
          description: A carrier connection friendly name.
        credentials:
          allOf:
          - $ref: '#/components/schemas/ConnectionCredentialsField'
          description: Carrier connection credentials.
        capabilities:
          type: array
          items:
            type: string
          nullable: true
          description: The carrier enabled capabilities.
        config:
          type: object
          additionalProperties: {}
          default: {}
          description: Carrier connection custom config.
        metadata:
          type: object
          additionalProperties: {}
          default: {}
          description: User metadata for the carrier.
        active:
          type: boolean
          default: true
          description: The active flag indicates whether the carrier account is active
            or not.
      required:
      - carrier_id
      - carrier_name
      - credentials
    CarrierConnectionList:
      type: object
      properties:
        count:
          type: integer
          nullable: true
        next:
          type: string
          format: uri
          nullable: true
        previous:
          type: string
          format: uri
          nullable: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/CarrierConnection'
      required:
      - results
    CarrierDetails:
      type: object
      properties:
        carrier_name:
          enum:
          - allied_express
          - allied_express_local
          - amazon_shipping
          - aramex
          - asendia_us
          - australiapost
          - boxknight
          - bpost
          - canadapost
          - canpar
          - chronopost
          - colissimo
          - dhl_express
          - dhl_parcel_de
          - dhl_poland
          - dhl_universal
          - dicom
          - dpd
          - dpdhl
          - easypost
          - easyship
          - eshipper
          - fedex
          - fedex_ws
          - freightcom
          - generic
          - geodis
          - hay_post
          - laposte
          - locate2u
          - nationex
          - purolator
          - roadie
          - royalmail
          - sapient
          - seko
          - sendle
          - tge
          - tnt
          - ups
          - usps
          - usps_international
          - usps_wt
          - usps_wt_international
          - zoom2u
          type: string
          x-spec-enum-id: 3812983dc743ed62
          description: Indicates a carrier (type)
        display_name:
          type: string
          description: The carrier verbose name.
        capabilities:
          type: array
          items:
            type: string
          default: []
          description: The carrier supported and enabled capabilities.
        connection_fields:
          type: object
          additionalProperties: {}
          default: {}
          description: The carrier connection fields.
        config_fields:
          type: object
          additionalProperties: {}
          default: {}
          description: The carrier connection config.
      required:
      - carrier_name
      - display_name
    Charge:
      type: object
      properties:
        name:
          type: string
          nullable: true
          description: The charge description
        amount:
          type: number
          format: double
          nullable: true
          description: The charge monetary value
        currency:
          type: string
          nullable: true
          description: The charge amount currency
    Commodity:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier
        weight:
          type: number
          format: double
          description: The commodity's weight
        weight_unit:
          enum:
          - KG
          - LB
          - OZ
          - G
          type: string
          x-spec-enum-id: 2aa755cf319c6df9
          description: The commodity's weight unit
        title:
          type: string
          nullable: true
          description: A description of the commodity
          maxLength: 35
        description:
          type: string
          nullable: true
          description: A description of the commodity
          maxLength: 100
        quantity:
          type: integer
          default: 1
          description: The commodity's quantity (number or item)
        sku:
          type: string
          nullable: true
          description: The commodity's sku number
          maxLength: 35
        hs_code:
          type: string
          nullable: true
          description: The commodity's hs_code number
          maxLength: 35
        value_amount:
          type: number
          format: double
          nullable: true
          description: The monetary value of the commodity
        value_currency:
          enum:
          - EUR
          - AED
          - USD
          - XCD
          - AMD
          - ANG
          - AOA
          - ARS
          - AUD
          - AWG
          - AZN
          - BAM
          - BBD
          - BDT
          - XOF
          - BGN
          - BHD
          - BIF
          - BMD
          - BND
          - BOB
          - BRL
          - BSD
          - BTN
          - BWP
          - BYN
          - BZD
          - CAD
          - CDF
          - XAF
          - CHF
          - NZD
          - CLP
          - CNY
          - COP
          - CRC
          - CUC
          - CVE
          - CZK
          - DJF
          - DKK
          - DOP
          - DZD
          - EGP
          - ERN
          - ETB
          - FJD
          - GBP
          - GEL
          - GHS
          - GMD
          - GNF
          - GTQ
          - GYD
          - HKD
          - HNL
          - HRK
          - HTG
          - HUF
          - IDR
          - ILS
          - INR
          - IRR
          - ISK
          - JMD
          - JOD
          - JPY
          - KES
          - KGS
          - KHR
          - KMF
          - KPW
          - KRW
          - KWD
          - KYD
          - KZT
          - LAK
          - LKR
          - LRD
          - LSL
          - LYD
          - MAD
          - MDL
          - MGA
          - MKD
          - MMK
          - MNT
          - MOP
          - MRO
          - MUR
          - MVR
          - MWK
          - MXN
          - MYR
          - MZN
          - NAD
          - XPF
          - NGN
          - NIO
          - NOK
          - NPR
          - OMR
          - PEN
          - PGK
          - PHP
          - PKR
          - PLN
          - PYG
          - QAR
          - RSD
          - RUB
          - RWF
          - SAR
          - SBD
          - SCR
          - SDG
          - SEK
          - SGD
          - SHP
          - SLL
          - SOS
          - SRD
          - SSP
          - STD
          - SYP
          - SZL
          - THB
          - TJS
          - TND
          - TOP
          - TRY
          - TTD
          - TWD
          - TZS
          - UAH
          - UYU
          - UZS
          - VEF
          - VND
          - VUV
          - WST
          - YER
          - ZAR
          - null
          type: string
          x-spec-enum-id: f0290aeafc544e9d
          nullable: true
          description: The currency of the commodity value amount
        origin_country:
          enum:
          - AC
          - AD
          - AE
          - AF
          - AG
          - AI
          - AL
          - AM
          - AN
          - AO
          - AR
          - AS
          - AT
          - AU
          - AW
          - AZ
          - BA
          - BB
          - BD
          - BE
          - BF
          - BG
          - BH
          - BI
          - BJ
          - BM
          - BN
          - BO
          - BR
          - BS
          - BT
          - BW
          - BY
          - BZ
          - CA
          - CD
          - CF
          - CG
          - CH
          - CI
          - CK
          - CL
          - CM
          - CN
          - CO
          - CR
          - CU
          - CV
          - CY
          - CZ
          - DE
          - DJ
          - DK
          - DM
          - DO
          - DZ
          - EC
          - EE
          - EG
          - ER
          - ES
          - ET
          - FI
          - FJ
          - FK
          - FM
          - FO
          - FR
          - GA
          - GB
          - GD
          - GE
          - GF
          - GG
          - GH
          - GI
          - GL
          - GM
          - GN
          - GP
          - GQ
          - GR
          - GT
          - GU
          - GW
          - GY
          - HK
          - HN
          - HR
          - HT
          - HU
          - IC
          - ID
          - IE
          - IL
          - IN
          - IQ
          - IR
          - IS
          - IT
          - JE
          - JM
          - JO
          - JP
          - KE
          - KG
          - KH
          - KI
          - KM
          - KN
          - KP
          - KR
          - KV
          - KW
          - KY
          - KZ
          - LA
          - LB
          - LC
          - LI
          - LK
          - LR
          - LS
          - LT
          - LU
          - LV
          - LY
          - MA
          - MC
          - MD
          - ME
          - MG
          - MH
          - MK
          - ML
          - MM
          - MN
          - MO
          - MP
          - MQ
          - MR
          - MS
          - MT
          - MU
          - MV
          - MW
          - MX
          - MY
          - MZ
          - NA
          - NC
          - NE
          - NG
          - NI
          - NL
          - 'NO'
          - NP
          - NR
          - NU
          - NZ
          - OM
          - PA
          - PE
          - PF
          - PG
          - PH
          - PK
          - PL
          - PR
          - PT
          - PW
          - PY
          - QA
          - RE
          - RO
          - RS
          - RU
          - RW
          - SA
          - SB
          - SC
          - SD
          - SE
          - SG
          - SH
          - SI
          - SK
          - SL
          - SM
          - SN
          - SO
          - SR
          - SS
          - ST
          - SV
          - SY
          - SZ
          - TC
          - TD
          - TG
          - TH
          - TJ
          - TL
          - TN
          - TO
          - TR
          - TT
          - TV
          - TW
          - TZ
          - UA
          - UG
          - US
          - UY
          - UZ
          - VA
          - VC
          - VE
          - VG
          - VI
          - VN
          - VU
          - WS
          - XB
          - XC
          - XE
          - XM
          - XN
          - XS
          - XY
          - YE
          - YT
          - ZA
          - ZM
          - ZW
          - EH
          - IM
          - BL
          - MF
          - SX
          - null
          type: string
          x-spec-enum-id: 05a7b91de773db3e
          nullable: true
          description: The origin or manufacture country
        parent_id:
          type: string
          nullable: true
          description: The id of the related order line item.
        metadata:
          type: object
          additionalProperties: {}
          nullable: true
          description: "<details>\n        <summary>Commodity user references metadata.</summary>\n\
            \n        {\n            \"part_number\": \"5218487281\",\n          \
            \  \"reference1\": \"# ref 1\",\n            \"reference2\": \"# ref 2\"\
            ,\n            \"reference3\": \"# ref 3\",\n            ...\n       \
            \ }\n        </details>\n        "
        object_type:
          type: string
          default: commodity
          description: Specifies the object type
      required:
      - weight
      - weight_unit
    CommodityData:
      type: object
      properties:
        weight:
          type: number
          format: double
          description: The commodity's weight
        weight_unit:
          enum:
          - KG
          - LB
          - OZ
          - G
          type: string
          x-spec-enum-id: 2aa755cf319c6df9
          description: The commodity's weight unit
        title:
          type: string
          nullable: true
          description: A description of the commodity
          maxLength: 35
        description:
          type: string
          nullable: true
          description: A description of the commodity
          maxLength: 100
        quantity:
          type: integer
          default: 1
          description: The commodity's quantity (number or item)
        sku:
          type: string
          nullable: true
          description: The commodity's sku number
          maxLength: 35
        hs_code:
          type: string
          nullable: true
          description: The commodity's hs_code number
          maxLength: 35
        value_amount:
          type: number
          format: double
          nullable: true
          description: The monetary value of the commodity
        value_currency:
          enum:
          - EUR
          - AED
          - USD
          - XCD
          - AMD
          - ANG
          - AOA
          - ARS
          - AUD
          - AWG
          - AZN
          - BAM
          - BBD
          - BDT
          - XOF
          - BGN
          - BHD
          - BIF
          - BMD
          - BND
          - BOB
          - BRL
          - BSD
          - BTN
          - BWP
          - BYN
          - BZD
          - CAD
          - CDF
          - XAF
          - CHF
          - NZD
          - CLP
          - CNY
          - COP
          - CRC
          - CUC
          - CVE
          - CZK
          - DJF
          - DKK
          - DOP
          - DZD
          - EGP
          - ERN
          - ETB
          - FJD
          - GBP
          - GEL
          - GHS
          - GMD
          - GNF
          - GTQ
          - GYD
          - HKD
          - HNL
          - HRK
          - HTG
          - HUF
          - IDR
          - ILS
          - INR
          - IRR
          - ISK
          - JMD
          - JOD
          - JPY
          - KES
          - KGS
          - KHR
          - KMF
          - KPW
          - KRW
          - KWD
          - KYD
          - KZT
          - LAK
          - LKR
          - LRD
          - LSL
          - LYD
          - MAD
          - MDL
          - MGA
          - MKD
          - MMK
          - MNT
          - MOP
          - MRO
          - MUR
          - MVR
          - MWK
          - MXN
          - MYR
          - MZN
          - NAD
          - XPF
          - NGN
          - NIO
          - NOK
          - NPR
          - OMR
          - PEN
          - PGK
          - PHP
          - PKR
          - PLN
          - PYG
          - QAR
          - RSD
          - RUB
          - RWF
          - SAR
          - SBD
          - SCR
          - SDG
          - SEK
          - SGD
          - SHP
          - SLL
          - SOS
          - SRD
          - SSP
          - STD
          - SYP
          - SZL
          - THB
          - TJS
          - TND
          - TOP
          - TRY
          - TTD
          - TWD
          - TZS
          - UAH
          - UYU
          - UZS
          - VEF
          - VND
          - VUV
          - WST
          - YER
          - ZAR
          - null
          type: string
          x-spec-enum-id: f0290aeafc544e9d
          nullable: true
          description: The currency of the commodity value amount
        origin_country:
          enum:
          - AC
          - AD
          - AE
          - AF
          - AG
          - AI
          - AL
          - AM
          - AN
          - AO
          - AR
          - AS
          - AT
          - AU
          - AW
          - AZ
          - BA
          - BB
          - BD
          - BE
          - BF
          - BG
          - BH
          - BI
          - BJ
          - BM
          - BN
          - BO
          - BR
          - BS
          - BT
          - BW
          - BY
          - BZ
          - CA
          - CD
          - CF
          - CG
          - CH
          - CI
          - CK
          - CL
          - CM
          - CN
          - CO
          - CR
          - CU
          - CV
          - CY
          - CZ
          - DE
          - DJ
          - DK
          - DM
          - DO
          - DZ
          - EC
          - EE
          - EG
          - ER
          - ES
          - ET
          - FI
          - FJ
          - FK
          - FM
          - FO
          - FR
          - GA
          - GB
          - GD
          - GE
          - GF
          - GG
          - GH
          - GI
          - GL
          - GM
          - GN
          - GP
          - GQ
          - GR
          - GT
          - GU
          - GW
          - GY
          - HK
          - HN
          - HR
          - HT
          - HU
          - IC
          - ID
          - IE
          - IL
          - IN
          - IQ
          - IR
          - IS
          - IT
          - JE
          - JM
          - JO
          - JP
          - KE
          - KG
          - KH
          - KI
          - KM
          - KN
          - KP
          - KR
          - KV
          - KW
          - KY
          - KZ
          - LA
          - LB
          - LC
          - LI
          - LK
          - LR
          - LS
          - LT
          - LU
          - LV
          - LY
          - MA
          - MC
          - MD
          - ME
          - MG
          - MH
          - MK
          - ML
          - MM
          - MN
          - MO
          - MP
          - MQ
          - MR
          - MS
          - MT
          - MU
          - MV
          - MW
          - MX
          - MY
          - MZ
          - NA
          - NC
          - NE
          - NG
          - NI
          - NL
          - 'NO'
          - NP
          - NR
          - NU
          - NZ
          - OM
          - PA
          - PE
          - PF
          - PG
          - PH
          - PK
          - PL
          - PR
          - PT
          - PW
          - PY
          - QA
          - RE
          - RO
          - RS
          - RU
          - RW
          - SA
          - SB
          - SC
          - SD
          - SE
          - SG
          - SH
          - SI
          - SK
          - SL
          - SM
          - SN
          - SO
          - SR
          - SS
          - ST
          - SV
          - SY
          - SZ
          - TC
          - TD
          - TG
          - TH
          - TJ
          - TL
          - TN
          - TO
          - TR
          - TT
          - TV
          - TW
          - TZ
          - UA
          - UG
          - US
          - UY
          - UZ
          - VA
          - VC
          - VE
          - VG
          - VI
          - VN
          - VU
          - WS
          - XB
          - XC
          - XE
          - XM
          - XN
          - XS
          - XY
          - YE
          - YT
          - ZA
          - ZM
          - ZW
          - EH
          - IM
          - BL
          - MF
          - SX
          - null
          type: string
          x-spec-enum-id: 05a7b91de773db3e
          nullable: true
          description: The origin or manufacture country
        parent_id:
          type: string
          nullable: true
          description: The id of the related order line item.
        metadata:
          type: object
          additionalProperties: {}
          nullable: true
          description: "<details>\n        <summary>Commodity user references metadata.</summary>\n\
            \n        {\n            \"part_number\": \"5218487281\",\n          \
            \  \"reference1\": \"# ref 1\",\n            \"reference2\": \"# ref 2\"\
            ,\n            \"reference3\": \"# ref 3\",\n            ...\n       \
            \ }\n        </details>\n        "
      required:
      - weight
      - weight_unit
    ConnectionCredentialsField:
      oneOf:
      - $ref: '#/components/schemas/zoom2u'
      - $ref: '#/components/schemas/usps_wt_international'
      - $ref: '#/components/schemas/usps_wt'
      - $ref: '#/components/schemas/usps_international'
      - $ref: '#/components/schemas/usps'
      - $ref: '#/components/schemas/ups'
      - $ref: '#/components/schemas/tnt'
      - $ref: '#/components/schemas/tge'
      - $ref: '#/components/schemas/sendle'
      - $ref: '#/components/schemas/seko'
      - $ref: '#/components/schemas/sapient'
      - $ref: '#/components/schemas/royalmail'
      - $ref: '#/components/schemas/roadie'
      - $ref: '#/components/schemas/purolator'
      - $ref: '#/components/schemas/nationex'
      - $ref: '#/components/schemas/locate2u'
      - $ref: '#/components/schemas/laposte'
      - $ref: '#/components/schemas/hay_post'
      - $ref: '#/components/schemas/geodis'
      - $ref: '#/components/schemas/generic'
      - $ref: '#/components/schemas/freightcom'
      - $ref: '#/components/schemas/fedex_ws'
      - $ref: '#/components/schemas/fedex'
      - $ref: '#/components/schemas/eshipper'
      - $ref: '#/components/schemas/easyship'
      - $ref: '#/components/schemas/easypost'
      - $ref: '#/components/schemas/dpdhl'
      - $ref: '#/components/schemas/dpd'
      - $ref: '#/components/schemas/dicom'
      - $ref: '#/components/schemas/dhl_universal'
      - $ref: '#/components/schemas/dhl_poland'
      - $ref: '#/components/schemas/dhl_parcel_de'
      - $ref: '#/components/schemas/dhl_express'
      - $ref: '#/components/schemas/colissimo'
      - $ref: '#/components/schemas/chronopost'
      - $ref: '#/components/schemas/canpar'
      - $ref: '#/components/schemas/canadapost'
      - $ref: '#/components/schemas/bpost'
      - $ref: '#/components/schemas/boxknight'
      - $ref: '#/components/schemas/australiapost'
      - $ref: '#/components/schemas/asendia_us'
      - $ref: '#/components/schemas/aramex'
      - $ref: '#/components/schemas/amazon_shipping'
      - $ref: '#/components/schemas/allied_express_local'
      - $ref: '#/components/schemas/allied_express'
    Customs:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier
        commodities:
          type: array
          items:
            $ref: '#/components/schemas/Commodity'
          description: The parcel content items
        duty:
          allOf:
          - $ref: '#/components/schemas/Duty'
          nullable: true
          description: "The payment details.<br/>\n        **Note that this is required\
            \ for a Dutiable parcel shipped internationally.**\n        "
        duty_billing_address:
          allOf:
          - $ref: '#/components/schemas/Address'
          nullable: true
          description: The duty payor address.
        content_type:
          enum:
          - documents
          - gift
          - sample
          - merchandise
          - return_merchandise
          - other
          - ''
          - null
          type: string
          x-spec-enum-id: 8bc1717e39f37f69
          nullable: true
        content_description:
          type: string
          nullable: true
        incoterm:
          enum:
          - CFR
          - CIF
          - CIP
          - CPT
          - DAP
          - DAF
          - DDP
          - DDU
          - DEQ
          - DES
          - EXW
          - FAS
          - FCA
          - FOB
          - null
          type: string
          x-spec-enum-id: 12d4fc0ac6f1cd2c
          nullable: true
          description: The customs 'term of trade' also known as 'incoterm'
        invoice:
          type: string
          nullable: true
          description: The invoice reference number
          maxLength: 50
        invoice_date:
          type: string
          nullable: true
          description: "The invoice date.<br/>\n        Date Format: `YYYY-MM-DD`\n\
            \        "
        commercial_invoice:
          type: boolean
          nullable: true
          description: Indicates if the shipment is commercial
        certify:
          type: boolean
          nullable: true
          description: Indicate that signer certified confirmed all
        signer:
          type: string
          nullable: true
          maxLength: 50
        options:
          type: object
          additionalProperties: {}
          default: {}
          description: "<details>\n        <summary>Customs identification options.</summary>\n\
            \n        {\n            \"aes\": \"5218487281\",\n            \"eel_pfc\"\
            : \"5218487281\",\n            \"license_number\": \"5218487281\",\n \
            \           \"certificate_number\": \"5218487281\",\n            \"nip_number\"\
            : \"5218487281\",\n            \"eori_number\": \"5218487281\",\n    \
            \        \"vat_registration_number\": \"5218487281\",\n        }\n   \
            \     </details>\n        "
        object_type:
          type: string
          default: customs_info
          description: Specifies the object type
    CustomsData:
      type: object
      properties:
        commodities:
          type: array
          items:
            $ref: '#/components/schemas/CommodityData'
          description: The parcel content items
        duty:
          allOf:
          - $ref: '#/components/schemas/Duty'
          nullable: true
          description: "The payment details.<br/>\n        **Note that this is required\
            \ for a Dutiable parcel shipped internationally.**\n        "
        duty_billing_address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          nullable: true
          description: The duty payor address.
        content_type:
          enum:
          - documents
          - gift
          - sample
          - merchandise
          - return_merchandise
          - other
          - ''
          - null
          type: string
          x-spec-enum-id: 8bc1717e39f37f69
          nullable: true
        content_description:
          type: string
          nullable: true
        incoterm:
          enum:
          - CFR
          - CIF
          - CIP
          - CPT
          - DAP
          - DAF
          - DDP
          - DDU
          - DEQ
          - DES
          - EXW
          - FAS
          - FCA
          - FOB
          - null
          type: string
          x-spec-enum-id: 12d4fc0ac6f1cd2c
          nullable: true
          description: The customs 'term of trade' also known as 'incoterm'
        invoice:
          type: string
          nullable: true
          description: The invoice reference number
          maxLength: 50
        invoice_date:
          type: string
          nullable: true
          description: "The invoice date.<br/>\n        Date Format: `YYYY-MM-DD`\n\
            \        "
        commercial_invoice:
          type: boolean
          nullable: true
          description: Indicates if the shipment is commercial
        certify:
          type: boolean
          nullable: true
          description: Indicate that signer certified confirmed all
        signer:
          type: string
          nullable: true
          maxLength: 50
        options:
          type: object
          additionalProperties: {}
          default: {}
          description: "<details>\n        <summary>Customs identification options.</summary>\n\
            \n        {\n            \"aes\": \"5218487281\",\n            \"eel_pfc\"\
            : \"5218487281\",\n            \"license_number\": \"5218487281\",\n \
            \           \"certificate_number\": \"5218487281\",\n            \"nip_number\"\
            : \"5218487281\",\n            \"eori_number\": \"5218487281\",\n    \
            \        \"vat_registration_number\": \"5218487281\",\n        }\n   \
            \     </details>\n        "
      required:
      - commodities
    DocumentData:
      type: object
      properties:
        template_id:
          type: string
          description: The template name. **Required if template is not provided.**
        template:
          type: string
          description: The template content. **Required if template_id is not provided.**
        doc_format:
          type: string
          description: The format of the document
        doc_name:
          type: string
          description: The file name
        data:
          type: object
          additionalProperties: {}
          default: {}
          description: The template data
        options:
          type: object
          additionalProperties: {}
          description: The template rendering options
    DocumentDetails:
      type: object
      properties:
        doc_id:
          type: string
          description: The uploaded document id.
        file_name:
          type: string
          description: The uploaded document file name.
    DocumentFileData:
      type: object
      properties:
        doc_file:
          type: string
          description: A base64 file to upload
        doc_name:
          type: string
          description: The file name
        doc_format:
          type: string
          nullable: true
          description: The file format
        doc_type:
          type: string
          nullable: true
          default: other
          description: "\n        Shipment document type\n\n        values: <br/>\n\
            \        `certificate_of_origin` `commercial_invoice` `pro_forma_invoice`\
            \ `packing_list` `other`\n\n        For carrier specific packaging types,\
            \ please consult the reference.\n        "
          maxLength: 50
      required:
      - doc_file
      - doc_name
    DocumentTemplate:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier
        name:
          type: string
          description: The template name
          maxLength: 255
        slug:
          type: string
          description: The template slug
          maxLength: 255
        template:
          type: string
          description: The template content
        active:
          type: boolean
          default: true
          description: disable template flag.
        description:
          type: string
          description: The template description
          maxLength: 255
        metadata:
          type: object
          additionalProperties: {}
          description: The template metadata
        options:
          type: object
          additionalProperties: {}
          description: The template rendering options
        related_object:
          enum:
          - shipment
          - order
          - other
          type: string
          x-spec-enum-id: e453b27eb99d7157
          default: other
          description: The template related object
        object_type:
          type: string
          default: document-template
          description: Specifies the object type
      required:
      - name
      - slug
      - template
    DocumentTemplateData:
      type: object
      properties:
        name:
          type: string
          description: The template name
          maxLength: 255
        slug:
          type: string
          description: The template slug
          maxLength: 255
        template:
          type: string
          description: The template content
        active:
          type: boolean
          default: true
          description: disable template flag.
        description:
          type: string
          description: The template description
          maxLength: 255
        metadata:
          type: object
          additionalProperties: {}
          description: The template metadata
        options:
          type: object
          additionalProperties: {}
          description: The template rendering options
        related_object:
          enum:
          - shipment
          - order
          - other
          type: string
          x-spec-enum-id: e453b27eb99d7157
          default: other
          description: The template related object
      required:
      - name
      - slug
      - template
    DocumentTemplateList:
      type: object
      properties:
        count:
          type: integer
          nullable: true
        next:
          type: string
          format: uri
          nullable: true
        previous:
          type: string
          format: uri
          nullable: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/DocumentTemplate'
      required:
      - results
    DocumentUploadData:
      type: object
      properties:
        shipment_id:
          type: string
          description: The documents related shipment.
        document_files:
          type: array
          items:
            $ref: '#/components/schemas/DocumentFileData'
          description: Shipping document files
        reference:
          type: string
          nullable: true
          description: Shipping document file reference
          maxLength: 50
      required:
      - document_files
      - shipment_id
    DocumentUploadRecord:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier
        carrier_name:
          type: string
          nullable: true
          description: The shipment carrier
        carrier_id:
          type: string
          nullable: true
          description: The shipment carrier configured identifier
        documents:
          type: array
          items:
            $ref: '#/components/schemas/DocumentDetails'
          default: []
          description: the carrier shipping document ids
        meta:
          type: object
          additionalProperties: {}
          nullable: true
          description: provider specific metadata
        reference:
          type: string
          nullable: true
          description: Shipping document file reference
          maxLength: 50
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          default: []
          description: The list of note or warning messages
    DocumentUploadRecords:
      type: object
      properties:
        count:
          type: integer
          nullable: true
        next:
          type: string
          format: uri
          nullable: true
        previous:
          type: string
          format: uri
          nullable: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/DocumentUploadRecord'
      required:
      - results
    Documents:
      type: object
      properties:
        label:
          type: string
          nullable: true
          description: A shipping label in base64 string
        invoice:
          type: string
          nullable: true
          description: A shipping invoice in base64 string
    Duty:
      type: object
      properties:
        paid_by:
          enum:
          - sender
          - recipient
          - third_party
          - ''
          - null
          type: string
          x-spec-enum-id: 4d1fdef60a9538c0
          nullable: true
          description: The duty payer
        currency:
          enum:
          - EUR
          - AED
          - USD
          - XCD
          - AMD
          - ANG
          - AOA
          - ARS
          - AUD
          - AWG
          - AZN
          - BAM
          - BBD
          - BDT
          - XOF
          - BGN
          - BHD
          - BIF
          - BMD
          - BND
          - BOB
          - BRL
          - BSD
          - BTN
          - BWP
          - BYN
          - BZD
          - CAD
          - CDF
          - XAF
          - CHF
          - NZD
          - CLP
          - CNY
          - COP
          - CRC
          - CUC
          - CVE
          - CZK
          - DJF
          - DKK
          - DOP
          - DZD
          - EGP
          - ERN
          - ETB
          - FJD
          - GBP
          - GEL
          - GHS
          - GMD
          - GNF
          - GTQ
          - GYD
          - HKD
          - HNL
          - HRK
          - HTG
          - HUF
          - IDR
          - ILS
          - INR
          - IRR
          - ISK
          - JMD
          - JOD
          - JPY
          - KES
          - KGS
          - KHR
          - KMF
          - KPW
          - KRW
          - KWD
          - KYD
          - KZT
          - LAK
          - LKR
          - LRD
          - LSL
          - LYD
          - MAD
          - MDL
          - MGA
          - MKD
          - MMK
          - MNT
          - MOP
          - MRO
          - MUR
          - MVR
          - MWK
          - MXN
          - MYR
          - MZN
          - NAD
          - XPF
          - NGN
          - NIO
          - NOK
          - NPR
          - OMR
          - PEN
          - PGK
          - PHP
          - PKR
          - PLN
          - PYG
          - QAR
          - RSD
          - RUB
          - RWF
          - SAR
          - SBD
          - SCR
          - SDG
          - SEK
          - SGD
          - SHP
          - SLL
          - SOS
          - SRD
          - SSP
          - STD
          - SYP
          - SZL
          - THB
          - TJS
          - TND
          - TOP
          - TRY
          - TTD
          - TWD
          - TZS
          - UAH
          - UYU
          - UZS
          - VEF
          - VND
          - VUV
          - WST
          - YER
          - ZAR
          - ''
          - null
          type: string
          x-spec-enum-id: f0290aeafc544e9d
          nullable: true
          description: The declared value currency
        declared_value:
          type: number
          format: double
          nullable: true
          description: The package declared value
        account_number:
          type: string
          nullable: true
          description: The duty payment account number
    ErrorMessages:
      type: object
      properties:
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          description: The list of error messages
    ErrorResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/APIError'
          description: The list of API errors
    GeneratedDocument:
      type: object
      properties:
        template_id:
          type: string
          description: The template name
        doc_format:
          type: string
          description: The format of the document
        doc_name:
          type: string
          description: The file name
        doc_file:
          type: string
          description: A base64 file content
      required:
      - doc_file
    Images:
      type: object
      properties:
        delivery_image:
          type: string
          nullable: true
          description: A delivery image in base64 string
        signature_image:
          type: string
          nullable: true
          description: A signature image in base64 string
    LineItem:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier
        weight:
          type: number
          format: double
          description: The commodity's weight
        weight_unit:
          enum:
          - KG
          - LB
          - OZ
          - G
          type: string
          x-spec-enum-id: 2aa755cf319c6df9
          description: The commodity's weight unit
        title:
          type: string
          nullable: true
          description: A description of the commodity
          maxLength: 35
        description:
          type: string
          nullable: true
          description: A description of the commodity
          maxLength: 100
        quantity:
          type: integer
          default: 1
          description: The commodity's quantity (number or item)
        sku:
          type: string
          nullable: true
          description: The commodity's sku number
          maxLength: 35
        hs_code:
          type: string
          nullable: true
          description: The commodity's hs_code number
          maxLength: 35
        value_amount:
          type: number
          format: double
          nullable: true
          description: The monetary value of the commodity
        value_currency:
          enum:
          - EUR
          - AED
          - USD
          - XCD
          - AMD
          - ANG
          - AOA
          - ARS
          - AUD
          - AWG
          - AZN
          - BAM
          - BBD
          - BDT
          - XOF
          - BGN
          - BHD
          - BIF
          - BMD
          - BND
          - BOB
          - BRL
          - BSD
          - BTN
          - BWP
          - BYN
          - BZD
          - CAD
          - CDF
          - XAF
          - CHF
          - NZD
          - CLP
          - CNY
          - COP
          - CRC
          - CUC
          - CVE
          - CZK
          - DJF
          - DKK
          - DOP
          - DZD
          - EGP
          - ERN
          - ETB
          - FJD
          - GBP
          - GEL
          - GHS
          - GMD
          - GNF
          - GTQ
          - GYD
          - HKD
          - HNL
          - HRK
          - HTG
          - HUF
          - IDR
          - ILS
          - INR
          - IRR
          - ISK
          - JMD
          - JOD
          - JPY
          - KES
          - KGS
          - KHR
          - KMF
          - KPW
          - KRW
          - KWD
          - KYD
          - KZT
          - LAK
          - LKR
          - LRD
          - LSL
          - LYD
          - MAD
          - MDL
          - MGA
          - MKD
          - MMK
          - MNT
          - MOP
          - MRO
          - MUR
          - MVR
          - MWK
          - MXN
          - MYR
          - MZN
          - NAD
          - XPF
          - NGN
          - NIO
          - NOK
          - NPR
          - OMR
          - PEN
          - PGK
          - PHP
          - PKR
          - PLN
          - PYG
          - QAR
          - RSD
          - RUB
          - RWF
          - SAR
          - SBD
          - SCR
          - SDG
          - SEK
          - SGD
          - SHP
          - SLL
          - SOS
          - SRD
          - SSP
          - STD
          - SYP
          - SZL
          - THB
          - TJS
          - TND
          - TOP
          - TRY
          - TTD
          - TWD
          - TZS
          - UAH
          - UYU
          - UZS
          - VEF
          - VND
          - VUV
          - WST
          - YER
          - ZAR
          - null
          type: string
          x-spec-enum-id: f0290aeafc544e9d
          nullable: true
          description: The currency of the commodity value amount
        origin_country:
          enum:
          - AC
          - AD
          - AE
          - AF
          - AG
          - AI
          - AL
          - AM
          - AN
          - AO
          - AR
          - AS
          - AT
          - AU
          - AW
          - AZ
          - BA
          - BB
          - BD
          - BE
          - BF
          - BG
          - BH
          - BI
          - BJ
          - BM
          - BN
          - BO
          - BR
          - BS
          - BT
          - BW
          - BY
          - BZ
          - CA
          - CD
          - CF
          - CG
          - CH
          - CI
          - CK
          - CL
          - CM
          - CN
          - CO
          - CR
          - CU
          - CV
          - CY
          - CZ
          - DE
          - DJ
          - DK
          - DM
          - DO
          - DZ
          - EC
          - EE
          - EG
          - ER
          - ES
          - ET
          - FI
          - FJ
          - FK
          - FM
          - FO
          - FR
          - GA
          - GB
          - GD
          - GE
          - GF
          - GG
          - GH
          - GI
          - GL
          - GM
          - GN
          - GP
          - GQ
          - GR
          - GT
          - GU
          - GW
          - GY
          - HK
          - HN
          - HR
          - HT
          - HU
          - IC
          - ID
          - IE
          - IL
          - IN
          - IQ
          - IR
          - IS
          - IT
          - JE
          - JM
          - JO
          - JP
          - KE
          - KG
          - KH
          - KI
          - KM
          - KN
          - KP
          - KR
          - KV
          - KW
          - KY
          - KZ
          - LA
          - LB
          - LC
          - LI
          - LK
          - LR
          - LS
          - LT
          - LU
          - LV
          - LY
          - MA
          - MC
          - MD
          - ME
          - MG
          - MH
          - MK
          - ML
          - MM
          - MN
          - MO
          - MP
          - MQ
          - MR
          - MS
          - MT
          - MU
          - MV
          - MW
          - MX
          - MY
          - MZ
          - NA
          - NC
          - NE
          - NG
          - NI
          - NL
          - 'NO'
          - NP
          - NR
          - NU
          - NZ
          - OM
          - PA
          - PE
          - PF
          - PG
          - PH
          - PK
          - PL
          - PR
          - PT
          - PW
          - PY
          - QA
          - RE
          - RO
          - RS
          - RU
          - RW
          - SA
          - SB
          - SC
          - SD
          - SE
          - SG
          - SH
          - SI
          - SK
          - SL
          - SM
          - SN
          - SO
          - SR
          - SS
          - ST
          - SV
          - SY
          - SZ
          - TC
          - TD
          - TG
          - TH
          - TJ
          - TL
          - TN
          - TO
          - TR
          - TT
          - TV
          - TW
          - TZ
          - UA
          - UG
          - US
          - UY
          - UZ
          - VA
          - VC
          - VE
          - VG
          - VI
          - VN
          - VU
          - WS
          - XB
          - XC
          - XE
          - XM
          - XN
          - XS
          - XY
          - YE
          - YT
          - ZA
          - ZM
          - ZW
          - EH
          - IM
          - BL
          - MF
          - SX
          - null
          type: string
          x-spec-enum-id: 05a7b91de773db3e
          nullable: true
          description: The origin or manufacture country
        parent_id:
          type: string
          nullable: true
          description: The id of the related order line item.
        metadata:
          type: object
          additionalProperties: {}
          nullable: true
          description: "<details>\n        <summary>Commodity user references metadata.</summary>\n\
            \n        {\n            \"part_number\": \"5218487281\",\n          \
            \  \"reference1\": \"# ref 1\",\n            \"reference2\": \"# ref 2\"\
            ,\n            \"reference3\": \"# ref 3\",\n            ...\n       \
            \ }\n        </details>\n        "
        object_type:
          type: string
          default: commodity
          description: Specifies the object type
        unfulfilled_quantity:
          type: integer
          default: 0
      required:
      - weight
      - weight_unit
    Manifest:
      type: object
      properties:
        id:
          type: string
          description: A unique manifest identifier
        object_type:
          type: string
          default: manifest
          description: Specifies the object type
        carrier_name:
          type: string
          description: The manifest carrier
        carrier_id:
          type: string
          description: The manifest carrier configured name
        meta:
          type: object
          additionalProperties: {}
          nullable: true
          description: provider specific metadata
        test_mode:
          type: boolean
          description: Specified whether it was created with a carrier in test mode
        address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          description: The address of the warehouse or location where the shipments
            originate.
        options:
          type: object
          additionalProperties: {}
          default: {}
          description: "<details>\n        <summary>The options available for the\
            \ manifest.</summary>\n\n        {\n            \"shipments\": [\n   \
            \             {\n                    \"tracking_number\": \"123456789\"\
            ,\n                    ...\n                    \"meta\": {...}\n    \
            \            }\n            ]\n        }\n        </details>\n        "
        reference:
          type: string
          nullable: true
          description: The manifest reference
        shipment_identifiers:
          type: array
          items:
            type: string
          description: "The list of shipment identifiers you want to add to your manifest.<br/>\n\
            \        shipment_identifier is often a tracking_number or shipment_id\
            \ returned when you purchase a label.\n        "
        metadata:
          type: object
          additionalProperties: {}
          default: {}
          description: User metadata for the pickup
        manifest_url:
          type: string
          format: uri
          nullable: true
          description: The Manifest file URL
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          default: []
          description: The list of note or warning messages
      required:
      - address
      - carrier_id
      - carrier_name
      - shipment_identifiers
      - test_mode
    ManifestData:
      type: object
      properties:
        carrier_name:
          type: string
          description: The manifest's carrier
        address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          description: The address of the warehouse or location where the shipments
            originate.
        options:
          type: object
          additionalProperties: {}
          default: {}
          description: "<details>\n        <summary>The options available for the\
            \ manifest.</summary>\n\n        {\n            \"shipments\": [\n   \
            \             {\n                    \"tracking_number\": \"123456789\"\
            ,\n                    ...\n                    \"meta\": {...}\n    \
            \            }\n            ]\n        }\n        </details>\n        "
        reference:
          type: string
          nullable: true
          description: The manifest reference
        shipment_ids:
          type: array
          items:
            type: string
          description: The list of existing shipment object ids with label purchased.
      required:
      - address
      - carrier_name
      - shipment_ids
    ManifestDetails:
      type: object
      properties:
        id:
          type: string
          description: A unique manifest identifier
        object_type:
          type: string
          default: manifest
          description: Specifies the object type
        carrier_name:
          type: string
          description: The manifest carrier
        carrier_id:
          type: string
          description: The manifest carrier configured name
        doc:
          allOf:
          - $ref: '#/components/schemas/ManifestDocument'
          nullable: true
          description: The manifest documents
        meta:
          type: object
          additionalProperties: {}
          nullable: true
          description: provider specific metadata
        test_mode:
          type: boolean
          description: Specified whether it was created with a carrier in test mode
      required:
      - carrier_id
      - carrier_name
      - test_mode
    ManifestDocument:
      type: object
      properties:
        manifest:
          type: string
          nullable: true
          description: A manifest file in base64 string
    ManifestList:
      type: object
      properties:
        count:
          type: integer
          nullable: true
        next:
          type: string
          format: uri
          nullable: true
        previous:
          type: string
          format: uri
          nullable: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/Manifest'
      required:
      - results
    ManifestRequest:
      type: object
      properties:
        carrier_name:
          type: string
          description: The manifest's carrier
        address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          description: The address of the warehouse or location where the shipments
            originate.
        options:
          type: object
          additionalProperties: {}
          default: {}
          description: "<details>\n        <summary>The options available for the\
            \ manifest.</summary>\n\n        {\n            \"shipments\": [\n   \
            \             {\n                    \"tracking_number\": \"123456789\"\
            ,\n                    ...\n                    \"meta\": {...}\n    \
            \            }\n            ]\n        }\n        </details>\n        "
        reference:
          type: string
          nullable: true
          description: The manifest reference
        shipment_identifiers:
          type: array
          items:
            type: string
          description: "The list of shipment identifiers you want to add to your manifest.<br/>\n\
            \        shipment_identifier is often a tracking_number or shipment_id\
            \ returned when you purchase a label.\n        "
      required:
      - address
      - carrier_name
      - shipment_identifiers
    ManifestResponse:
      type: object
      properties:
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          description: The list of note or warning messages
        manifest:
          allOf:
          - $ref: '#/components/schemas/ManifestDetails'
          description: The manifest details
    Message:
      type: object
      properties:
        message:
          type: string
          description: The error or warning message
        code:
          type: string
          description: The message code
        details:
          type: object
          additionalProperties: {}
          description: any additional details
        carrier_name:
          type: string
          description: The targeted carrier
        carrier_id:
          type: string
          description: The targeted carrier name (unique identifier)
    Operation:
      type: object
      properties:
        operation:
          type: string
          description: Operation performed
        success:
          type: boolean
          description: Specify whether the operation was successful
      required:
      - operation
      - success
    OperationConfirmation:
      type: object
      properties:
        operation:
          type: string
          description: Operation performed
        success:
          type: boolean
          description: Specify whether the operation was successful
        carrier_name:
          type: string
          description: The operation carrier
        carrier_id:
          type: string
          description: The targeted carrier's name (unique identifier)
      required:
      - carrier_id
      - carrier_name
      - operation
      - success
    OperationResponse:
      type: object
      properties:
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          description: The list of note or warning messages
        confirmation:
          allOf:
          - $ref: '#/components/schemas/OperationConfirmation'
          description: The operation details
    Order:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier
        object_type:
          type: string
          default: order
          description: Specifies the object type
        order_id:
          type: string
          description: The source' order id.
        order_date:
          type: string
          nullable: true
          description: 'The order date. format: `YYYY-MM-DD`'
        source:
          type: string
          description: The order's source.
        status:
          enum:
          - unfulfilled
          - cancelled
          - fulfilled
          - delivered
          - partial
          type: string
          x-spec-enum-id: 4993b3ade2f339b3
          default: unfulfilled
          description: The order status.
        shipping_to:
          allOf:
          - $ref: '#/components/schemas/Address'
          description: The customer address for the order.
        shipping_from:
          allOf:
          - $ref: '#/components/schemas/Address'
          nullable: true
          description: The origin or warehouse address of the order items.
        billing_address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          nullable: true
          description: The customer' or shipping billing address.
        line_items:
          type: array
          items:
            $ref: '#/components/schemas/LineItem'
          description: The order line items.
        options:
          type: object
          additionalProperties: {}
          nullable: true
          description: "<details>\n        <summary>The options available for the\
            \ order shipments.</summary>\n\n        {\n            \"currency\": \"\
            USD\",\n            \"paid_by\": \"third_party\",\n            \"payment_account_number\"\
            : \"123456789\",\n            \"duty_paid_by\": \"third_party\",\n   \
            \         \"duty_account_number\": \"123456789\",\n            \"invoice_number\"\
            : \"123456789\",\n            \"invoice_date\": \"2020-01-01\",\n    \
            \        \"single_item_per_parcel\": true,\n            \"carrier_ids\"\
            : [\"canadapost-test\"],\n            \"preferred_service\": \"fedex_express_saver\"\
            ,\n        }\n        </details>\n        "
        meta:
          type: object
          additionalProperties: {}
          nullable: true
          description: system related metadata.
        metadata:
          type: object
          additionalProperties: {}
          default: {}
          description: User metadata for the order.
        shipments:
          type: array
          items:
            $ref: '#/components/schemas/Shipment'
          description: The shipments associated with the order.
        test_mode:
          type: boolean
          description: Specify whether the order is in test mode or not.
        created_at:
          type: string
          description: "The shipment creation datetime.<br/>\n        Date Format:\
            \ `YYYY-MM-DD HH:MM:SS.mmmmmmz`\n        "
      required:
      - created_at
      - line_items
      - order_id
      - shipping_to
      - test_mode
    OrderData:
      type: object
      properties:
        order_id:
          type: string
          description: The source' order id.
        order_date:
          type: string
          nullable: true
          description: 'The order date. format: `YYYY-MM-DD`'
        source:
          type: string
          default: API
          description: "The order's source.<br/>\n        e.g. API, POS, ERP, Shopify,\
            \ Woocommerce, etc.\n        "
        shipping_to:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          description: The customer or recipient address for the order.
        shipping_from:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          nullable: true
          description: The origin or warehouse address of the order items.
        billing_address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          nullable: true
          description: The customer' or shipping billing address.
        line_items:
          type: array
          items:
            $ref: '#/components/schemas/CommodityData'
          description: The order line items.
        options:
          type: object
          additionalProperties: {}
          nullable: true
          description: "<details>\n        <summary>The options available for the\
            \ order shipments.</summary>\n\n        {\n            \"currency\": \"\
            USD\",\n            \"paid_by\": \"third_party\",\n            \"payment_account_number\"\
            : \"123456789\",\n            \"duty_paid_by\": \"third_party\",\n   \
            \         \"duty_account_number\": \"123456789\",\n            \"invoice_number\"\
            : \"123456789\",\n            \"invoice_date\": \"2020-01-01\",\n    \
            \        \"single_item_per_parcel\": true,\n            \"carrier_ids\"\
            : [\"canadapost-test\"],\n            \"preferred_service\": \"fedex_express_saver\"\
            ,\n        }\n        </details>\n        "
        metadata:
          type: object
          additionalProperties: {}
          default: {}
          description: User metadata for the order.
      required:
      - line_items
      - order_id
      - shipping_to
    OrderList:
      type: object
      properties:
        count:
          type: integer
          nullable: true
        next:
          type: string
          format: uri
          nullable: true
        previous:
          type: string
          format: uri
          nullable: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/Order'
      required:
      - results
    OrderUpdateData:
      type: object
      properties:
        options:
          type: object
          additionalProperties: {}
          nullable: true
          description: "<details>\n        <summary>The options available for the\
            \ order shipments.</summary>\n\n        {\n            \"currency\": \"\
            USD\",\n            \"paid_by\": \"third_party\",\n            \"payment_account_number\"\
            : \"123456789\",\n            \"duty_paid_by\": \"recipient\",\n     \
            \       \"duty_account_number\": \"123456789\",\n            \"invoice_number\"\
            : \"123456789\",\n            \"invoice_date\": \"2020-01-01\",\n    \
            \        \"single_item_per_parcel\": true,\n            \"carrier_ids\"\
            : [\"canadapost-test\"],\n        }\n        </details>\n        "
        metadata:
          type: object
          additionalProperties: {}
          description: User metadata for the shipment
    Parcel:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier
        weight:
          type: number
          format: double
          description: The parcel's weight
        width:
          type: number
          format: double
          nullable: true
          description: The parcel's width
        height:
          type: number
          format: double
          nullable: true
          description: The parcel's height
        length:
          type: number
          format: double
          nullable: true
          description: The parcel's length
        packaging_type:
          type: string
          nullable: true
          description: "The parcel's packaging type.<br/>\n        **Note that the\
            \ packaging is optional when using a package preset.**<br/>\n        values:\
            \ <br/>\n        `envelope` `pak` `tube` `pallet` `small_box` `medium_box`\
            \ `your_packaging`<br/>\n        For carrier specific packaging types,\
            \ please consult the reference.\n        "
          maxLength: 50
        package_preset:
          type: string
          nullable: true
          description: "The parcel's package preset.<br/>\n        For carrier specific\
            \ package presets, please consult the reference.\n        "
          maxLength: 50
        description:
          type: string
          nullable: true
          description: The parcel's description
          maxLength: 250
        content:
          type: string
          nullable: true
          description: The parcel's content description
          maxLength: 100
        is_document:
          type: boolean
          nullable: true
          default: false
          description: Indicates if the parcel is composed of documents only
        weight_unit:
          enum:
          - KG
          - LB
          - OZ
          - G
          type: string
          x-spec-enum-id: 2aa755cf319c6df9
          description: The parcel's weight unit
        dimension_unit:
          enum:
          - CM
          - IN
          - null
          type: string
          x-spec-enum-id: 41993cb8117c279c
          nullable: true
          description: The parcel's dimension unit
        items:
          type: array
          items:
            $ref: '#/components/schemas/Commodity'
          description: The parcel items.
        reference_number:
          type: string
          nullable: true
          description: "The parcel reference number.<br/>\n        (can be used as\
            \ tracking number for custom carriers)\n        "
          maxLength: 100
        freight_class:
          type: string
          nullable: true
          description: The parcel's freight class for pallet and freight shipments.
          maxLength: 6
        options:
          type: object
          additionalProperties: {}
          default: {}
          description: "<details>\n        <summary>Parcel specific options.</summary>\n\
            \n        {\n            \"insurance\": \"100.00\",\n            \"insured_by\"\
            : \"carrier\",\n        }\n        </details>\n        "
        object_type:
          type: string
          default: parcel
          description: Specifies the object type
      required:
      - weight
      - weight_unit
    ParcelData:
      type: object
      properties:
        weight:
          type: number
          format: double
          description: The parcel's weight
        width:
          type: number
          format: double
          nullable: true
          description: The parcel's width
        height:
          type: number
          format: double
          nullable: true
          description: The parcel's height
        length:
          type: number
          format: double
          nullable: true
          description: The parcel's length
        packaging_type:
          type: string
          nullable: true
          description: "The parcel's packaging type.<br/>\n        **Note that the\
            \ packaging is optional when using a package preset.**<br/>\n        values:\
            \ <br/>\n        `envelope` `pak` `tube` `pallet` `small_box` `medium_box`\
            \ `your_packaging`<br/>\n        For carrier specific packaging types,\
            \ please consult the reference.\n        "
          maxLength: 50
        package_preset:
          type: string
          nullable: true
          description: "The parcel's package preset.<br/>\n        For carrier specific\
            \ package presets, please consult the reference.\n        "
          maxLength: 50
        description:
          type: string
          nullable: true
          description: The parcel's description
          maxLength: 250
        content:
          type: string
          nullable: true
          description: The parcel's content description
          maxLength: 100
        is_document:
          type: boolean
          nullable: true
          default: false
          description: Indicates if the parcel is composed of documents only
        weight_unit:
          enum:
          - KG
          - LB
          - OZ
          - G
          type: string
          x-spec-enum-id: 2aa755cf319c6df9
          description: The parcel's weight unit
        dimension_unit:
          enum:
          - CM
          - IN
          - null
          type: string
          x-spec-enum-id: 41993cb8117c279c
          nullable: true
          description: The parcel's dimension unit
        items:
          type: array
          items:
            $ref: '#/components/schemas/CommodityData'
          description: The parcel items.
        reference_number:
          type: string
          nullable: true
          description: "The parcel reference number.<br/>\n        (can be used as\
            \ tracking number for custom carriers)\n        "
          maxLength: 100
        freight_class:
          type: string
          nullable: true
          description: The parcel's freight class for pallet and freight shipments.
          maxLength: 6
        options:
          type: object
          additionalProperties: {}
          default: {}
          description: "<details>\n        <summary>Parcel specific options.</summary>\n\
            \n        {\n            \"insurance\": \"100.00\",\n            \"insured_by\"\
            : \"carrier\",\n        }\n        </details>\n        "
      required:
      - weight
      - weight_unit
    ParcelList:
      type: object
      properties:
        count:
          type: integer
          nullable: true
        next:
          type: string
          format: uri
          nullable: true
        previous:
          type: string
          format: uri
          nullable: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/Parcel'
      required:
      - results
    PatchedAddressData:
      type: object
      properties:
        postal_code:
          type: string
          nullable: true
          description: "The address postal code\n        **(required for shipment\
            \ purchase)**\n        "
          maxLength: 10
        city:
          type: string
          nullable: true
          description: "The address city.\n        **(required for shipment purchase)**\n\
            \        "
          maxLength: 30
        federal_tax_id:
          type: string
          nullable: true
          description: The party frederal tax id
          maxLength: 20
        state_tax_id:
          type: string
          nullable: true
          description: The party state id
          maxLength: 20
        person_name:
          type: string
          nullable: true
          description: "Attention to\n        **(required for shipment purchase)**\n\
            \        "
          maxLength: 50
        company_name:
          type: string
          nullable: true
          description: The company name if the party is a company
          maxLength: 50
        country_code:
          enum:
          - AC
          - AD
          - AE
          - AF
          - AG
          - AI
          - AL
          - AM
          - AN
          - AO
          - AR
          - AS
          - AT
          - AU
          - AW
          - AZ
          - BA
          - BB
          - BD
          - BE
          - BF
          - BG
          - BH
          - BI
          - BJ
          - BM
          - BN
          - BO
          - BR
          - BS
          - BT
          - BW
          - BY
          - BZ
          - CA
          - CD
          - CF
          - CG
          - CH
          - CI
          - CK
          - CL
          - CM
          - CN
          - CO
          - CR
          - CU
          - CV
          - CY
          - CZ
          - DE
          - DJ
          - DK
          - DM
          - DO
          - DZ
          - EC
          - EE
          - EG
          - ER
          - ES
          - ET
          - FI
          - FJ
          - FK
          - FM
          - FO
          - FR
          - GA
          - GB
          - GD
          - GE
          - GF
          - GG
          - GH
          - GI
          - GL
          - GM
          - GN
          - GP
          - GQ
          - GR
          - GT
          - GU
          - GW
          - GY
          - HK
          - HN
          - HR
          - HT
          - HU
          - IC
          - ID
          - IE
          - IL
          - IN
          - IQ
          - IR
          - IS
          - IT
          - JE
          - JM
          - JO
          - JP
          - KE
          - KG
          - KH
          - KI
          - KM
          - KN
          - KP
          - KR
          - KV
          - KW
          - KY
          - KZ
          - LA
          - LB
          - LC
          - LI
          - LK
          - LR
          - LS
          - LT
          - LU
          - LV
          - LY
          - MA
          - MC
          - MD
          - ME
          - MG
          - MH
          - MK
          - ML
          - MM
          - MN
          - MO
          - MP
          - MQ
          - MR
          - MS
          - MT
          - MU
          - MV
          - MW
          - MX
          - MY
          - MZ
          - NA
          - NC
          - NE
          - NG
          - NI
          - NL
          - 'NO'
          - NP
          - NR
          - NU
          - NZ
          - OM
          - PA
          - PE
          - PF
          - PG
          - PH
          - PK
          - PL
          - PR
          - PT
          - PW
          - PY
          - QA
          - RE
          - RO
          - RS
          - RU
          - RW
          - SA
          - SB
          - SC
          - SD
          - SE
          - SG
          - SH
          - SI
          - SK
          - SL
          - SM
          - SN
          - SO
          - SR
          - SS
          - ST
          - SV
          - SY
          - SZ
          - TC
          - TD
          - TG
          - TH
          - TJ
          - TL
          - TN
          - TO
          - TR
          - TT
          - TV
          - TW
          - TZ
          - UA
          - UG
          - US
          - UY
          - UZ
          - VA
          - VC
          - VE
          - VG
          - VI
          - VN
          - VU
          - WS
          - XB
          - XC
          - XE
          - XM
          - XN
          - XS
          - XY
          - YE
          - YT
          - ZA
          - ZM
          - ZW
          - EH
          - IM
          - BL
          - MF
          - SX
          type: string
          x-spec-enum-id: 05a7b91de773db3e
          description: The address country code
        email:
          type: string
          nullable: true
          description: The party email
        phone_number:
          type: string
          nullable: true
          description: The party phone number.
          maxLength: 20
        state_code:
          type: string
          nullable: true
          description: The address state code
          maxLength: 20
        residential:
          type: boolean
          nullable: true
          default: false
          description: Indicate if the address is residential or commercial (enterprise)
        street_number:
          type: string
          nullable: true
          description: The address street number
          maxLength: 20
        address_line1:
          type: string
          nullable: true
          description: "The address line with street number <br/>\n        **(required\
            \ for shipment purchase)**\n        "
          maxLength: 50
        address_line2:
          type: string
          nullable: true
          description: The address line with suite number
          maxLength: 50
        validate_location:
          type: boolean
          nullable: true
          default: false
          description: Indicate if the address should be validated
    PatchedCarrierConnectionData:
      type: object
      properties:
        carrier_name:
          enum:
          - allied_express
          - allied_express_local
          - amazon_shipping
          - aramex
          - asendia_us
          - australiapost
          - boxknight
          - bpost
          - canadapost
          - canpar
          - chronopost
          - colissimo
          - dhl_express
          - dhl_parcel_de
          - dhl_poland
          - dhl_universal
          - dicom
          - dpd
          - dpdhl
          - easypost
          - easyship
          - eshipper
          - fedex
          - fedex_ws
          - freightcom
          - generic
          - geodis
          - hay_post
          - laposte
          - locate2u
          - nationex
          - purolator
          - roadie
          - royalmail
          - sapient
          - seko
          - sendle
          - tge
          - tnt
          - ups
          - usps
          - usps_international
          - usps_wt
          - usps_wt_international
          - zoom2u
          type: string
          x-spec-enum-id: 3812983dc743ed62
          description: A carrier connection type.
        carrier_id:
          type: string
          description: A carrier connection friendly name.
        credentials:
          allOf:
          - $ref: '#/components/schemas/ConnectionCredentialsField'
          description: Carrier connection credentials.
        capabilities:
          type: array
          items:
            type: string
          nullable: true
          description: The carrier enabled capabilities.
        config:
          type: object
          additionalProperties: {}
          default: {}
          description: Carrier connection custom config.
        metadata:
          type: object
          additionalProperties: {}
          default: {}
          description: User metadata for the carrier.
        active:
          type: boolean
          default: true
          description: The active flag indicates whether the carrier account is active
            or not.
    PatchedDocumentTemplateData:
      type: object
      properties:
        name:
          type: string
          description: The template name
          maxLength: 255
        slug:
          type: string
          description: The template slug
          maxLength: 255
        template:
          type: string
          description: The template content
        active:
          type: boolean
          default: true
          description: disable template flag.
        description:
          type: string
          description: The template description
          maxLength: 255
        metadata:
          type: object
          additionalProperties: {}
          description: The template metadata
        options:
          type: object
          additionalProperties: {}
          description: The template rendering options
        related_object:
          enum:
          - shipment
          - order
          - other
          type: string
          x-spec-enum-id: e453b27eb99d7157
          default: other
          description: The template related object
    PatchedParcelData:
      type: object
      properties:
        weight:
          type: number
          format: double
          description: The parcel's weight
        width:
          type: number
          format: double
          nullable: true
          description: The parcel's width
        height:
          type: number
          format: double
          nullable: true
          description: The parcel's height
        length:
          type: number
          format: double
          nullable: true
          description: The parcel's length
        packaging_type:
          type: string
          nullable: true
          description: "The parcel's packaging type.<br/>\n        **Note that the\
            \ packaging is optional when using a package preset.**<br/>\n        values:\
            \ <br/>\n        `envelope` `pak` `tube` `pallet` `small_box` `medium_box`\
            \ `your_packaging`<br/>\n        For carrier specific packaging types,\
            \ please consult the reference.\n        "
          maxLength: 50
        package_preset:
          type: string
          nullable: true
          description: "The parcel's package preset.<br/>\n        For carrier specific\
            \ package presets, please consult the reference.\n        "
          maxLength: 50
        description:
          type: string
          nullable: true
          description: The parcel's description
          maxLength: 250
        content:
          type: string
          nullable: true
          description: The parcel's content description
          maxLength: 100
        is_document:
          type: boolean
          nullable: true
          default: false
          description: Indicates if the parcel is composed of documents only
        weight_unit:
          enum:
          - KG
          - LB
          - OZ
          - G
          type: string
          x-spec-enum-id: 2aa755cf319c6df9
          description: The parcel's weight unit
        dimension_unit:
          enum:
          - CM
          - IN
          - null
          type: string
          x-spec-enum-id: 41993cb8117c279c
          nullable: true
          description: The parcel's dimension unit
        items:
          type: array
          items:
            $ref: '#/components/schemas/CommodityData'
          description: The parcel items.
        reference_number:
          type: string
          nullable: true
          description: "The parcel reference number.<br/>\n        (can be used as\
            \ tracking number for custom carriers)\n        "
          maxLength: 100
        freight_class:
          type: string
          nullable: true
          description: The parcel's freight class for pallet and freight shipments.
          maxLength: 6
        options:
          type: object
          additionalProperties: {}
          default: {}
          description: "<details>\n        <summary>Parcel specific options.</summary>\n\
            \n        {\n            \"insurance\": \"100.00\",\n            \"insured_by\"\
            : \"carrier\",\n        }\n        </details>\n        "
    PatchedWebhookData:
      type: object
      properties:
        url:
          type: string
          format: uri
          description: The URL of the webhook endpoint.
        description:
          type: string
          nullable: true
          description: An optional description of what the webhook is used for.
        enabled_events:
          type: array
          items:
            enum:
            - all
            - shipment_purchased
            - shipment_cancelled
            - shipment_fulfilled
            - shipment_out_for_delivery
            - shipment_needs_attention
            - shipment_delivery_failed
            - tracker_created
            - tracker_updated
            - order_created
            - order_updated
            - order_fulfilled
            - order_cancelled
            - order_delivered
            - batch_queued
            - batch_failed
            - batch_running
            - batch_completed
            type: string
            x-spec-enum-id: 516a21d18ffb1926
          description: The list of events to enable for this endpoint.
        disabled:
          type: boolean
          nullable: true
          description: Indicates that the webhook is disabled
    Payment:
      type: object
      properties:
        paid_by:
          enum:
          - sender
          - recipient
          - third_party
          type: string
          x-spec-enum-id: 4d1fdef60a9538c0
          default: sender
          description: The payor type
        currency:
          enum:
          - EUR
          - AED
          - USD
          - XCD
          - AMD
          - ANG
          - AOA
          - ARS
          - AUD
          - AWG
          - AZN
          - BAM
          - BBD
          - BDT
          - XOF
          - BGN
          - BHD
          - BIF
          - BMD
          - BND
          - BOB
          - BRL
          - BSD
          - BTN
          - BWP
          - BYN
          - BZD
          - CAD
          - CDF
          - XAF
          - CHF
          - NZD
          - CLP
          - CNY
          - COP
          - CRC
          - CUC
          - CVE
          - CZK
          - DJF
          - DKK
          - DOP
          - DZD
          - EGP
          - ERN
          - ETB
          - FJD
          - GBP
          - GEL
          - GHS
          - GMD
          - GNF
          - GTQ
          - GYD
          - HKD
          - HNL
          - HRK
          - HTG
          - HUF
          - IDR
          - ILS
          - INR
          - IRR
          - ISK
          - JMD
          - JOD
          - JPY
          - KES
          - KGS
          - KHR
          - KMF
          - KPW
          - KRW
          - KWD
          - KYD
          - KZT
          - LAK
          - LKR
          - LRD
          - LSL
          - LYD
          - MAD
          - MDL
          - MGA
          - MKD
          - MMK
          - MNT
          - MOP
          - MRO
          - MUR
          - MVR
          - MWK
          - MXN
          - MYR
          - MZN
          - NAD
          - XPF
          - NGN
          - NIO
          - NOK
          - NPR
          - OMR
          - PEN
          - PGK
          - PHP
          - PKR
          - PLN
          - PYG
          - QAR
          - RSD
          - RUB
          - RWF
          - SAR
          - SBD
          - SCR
          - SDG
          - SEK
          - SGD
          - SHP
          - SLL
          - SOS
          - SRD
          - SSP
          - STD
          - SYP
          - SZL
          - THB
          - TJS
          - TND
          - TOP
          - TRY
          - TTD
          - TWD
          - TZS
          - UAH
          - UYU
          - UZS
          - VEF
          - VND
          - VUV
          - WST
          - YER
          - ZAR
          - ''
          - null
          type: string
          x-spec-enum-id: f0290aeafc544e9d
          nullable: true
          description: The payment amount currency
        account_number:
          type: string
          nullable: true
          description: The payor account number
    Pickup:
      type: object
      properties:
        id:
          type: string
          description: A unique pickup identifier
        object_type:
          type: string
          default: pickup
          description: Specifies the object type
        carrier_name:
          type: string
          description: The pickup carrier
        carrier_id:
          type: string
          description: The pickup carrier configured name
        confirmation_number:
          type: string
          description: The pickup confirmation identifier
        pickup_date:
          type: string
          nullable: true
          description: The pickup date
        pickup_charge:
          allOf:
          - $ref: '#/components/schemas/Charge'
          nullable: true
          description: The pickup cost details
        ready_time:
          type: string
          nullable: true
          description: The pickup expected ready time
        closing_time:
          type: string
          nullable: true
          description: The pickup expected closing or late time
        metadata:
          type: object
          additionalProperties: {}
          default: {}
          description: User metadata for the pickup
        meta:
          type: object
          additionalProperties: {}
          nullable: true
          description: provider specific metadata
        address:
          allOf:
          - $ref: '#/components/schemas/Address'
          description: The pickup address
        parcels:
          type: array
          items:
            $ref: '#/components/schemas/Parcel'
          description: The shipment parcels to pickup.
        instruction:
          type: string
          nullable: true
          description: "The pickup instruction.<br/>\n        eg: Handle with care.\n\
            \        "
          maxLength: 50
        package_location:
          type: string
          nullable: true
          description: "The package(s) location.<br/>\n        eg: Behind the entrance\
            \ door.\n        "
          maxLength: 50
        options:
          type: object
          additionalProperties: {}
          nullable: true
          description: Advanced carrier specific pickup options
        test_mode:
          type: boolean
          description: Specified whether it was created with a carrier in test mode
      required:
      - address
      - carrier_id
      - carrier_name
      - confirmation_number
      - parcels
      - test_mode
    PickupCancelData:
      type: object
      properties:
        reason:
          type: string
          description: The reason of the pickup cancellation
    PickupCancelRequest:
      type: object
      properties:
        confirmation_number:
          type: string
          description: The pickup confirmation identifier
        address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          description: The pickup address
        pickup_date:
          type: string
          nullable: true
          description: "The pickup date.<br/>\n        Date Format: `YYYY-MM-DD`\n\
            \        "
        reason:
          type: string
          description: The reason of the pickup cancellation
      required:
      - confirmation_number
    PickupData:
      type: object
      properties:
        pickup_date:
          type: string
          description: "The expected pickup date.<br/>\n        Date Format: `YYYY-MM-DD`\n\
            \        "
        address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          description: The pickup address
        ready_time:
          type: string
          description: "The ready time for pickup.<br/>\n        Time Format: `HH:MM`\n\
            \        "
        closing_time:
          type: string
          description: "The closing or late time of the pickup.<br/>\n        Time\
            \ Format: `HH:MM`\n        "
        instruction:
          type: string
          nullable: true
          description: "The pickup instruction.<br/>\n        eg: Handle with care.\n\
            \        "
          maxLength: 50
        package_location:
          type: string
          nullable: true
          description: "The package(s) location.<br/>\n        eg: Behind the entrance\
            \ door.\n        "
          maxLength: 50
        options:
          type: object
          additionalProperties: {}
          nullable: true
          description: Advanced carrier specific pickup options
        tracking_numbers:
          type: array
          items:
            type: string
          description: The list of shipments to be picked up
        metadata:
          type: object
          additionalProperties: {}
          default: {}
          description: User metadata for the pickup
      required:
      - closing_time
      - pickup_date
      - ready_time
      - tracking_numbers
    PickupList:
      type: object
      properties:
        count:
          type: integer
          nullable: true
        next:
          type: string
          format: uri
          nullable: true
        previous:
          type: string
          format: uri
          nullable: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/Pickup'
      required:
      - results
    PickupRequest:
      type: object
      properties:
        pickup_date:
          type: string
          description: "The expected pickup date.<br/>\n        Date Format: `YYYY-MM-DD`\n\
            \        "
        address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          description: The pickup address
        parcels:
          type: array
          items:
            $ref: '#/components/schemas/ParcelData'
          description: The shipment parcels to pickup.
        ready_time:
          type: string
          description: "The ready time for pickup.<br/>\n        Time Format: `HH:MM`\n\
            \        "
        closing_time:
          type: string
          description: "The closing or late time of the pickup.<br/>\n        Time\
            \ Format: `HH:MM`\n        "
        instruction:
          type: string
          nullable: true
          description: "The pickup instruction.<br/>\n        eg: Handle with care.\n\
            \        "
          maxLength: 50
        package_location:
          type: string
          nullable: true
          description: "The package(s) location.<br/>\n        eg: Behind the entrance\
            \ door.\n        "
          maxLength: 50
        options:
          type: object
          additionalProperties: {}
          nullable: true
          description: Advanced carrier specific pickup options
      required:
      - address
      - closing_time
      - parcels
      - pickup_date
      - ready_time
    PickupResponse:
      type: object
      properties:
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          description: The list of note or warning messages
        pickup:
          allOf:
          - $ref: '#/components/schemas/Pickup'
          description: The scheduled pickup's summary
    PickupUpdateData:
      type: object
      properties:
        pickup_date:
          type: string
          description: "The expected pickup date.<br/>\n        Date Format: YYYY-MM-DD\n\
            \        "
        address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          description: The pickup address
        ready_time:
          type: string
          nullable: true
          description: The ready time for pickup.
        closing_time:
          type: string
          nullable: true
          description: The closing or late time of the pickup
        instruction:
          type: string
          nullable: true
          description: "The pickup instruction.<br/>\n        eg: Handle with care.\n\
            \        "
        package_location:
          type: string
          nullable: true
          description: "The package(s) location.<br/>\n        eg: Behind the entrance\
            \ door.\n        "
        options:
          type: object
          additionalProperties: {}
          nullable: true
          description: Advanced carrier specific pickup options
        tracking_numbers:
          type: array
          items:
            type: string
          description: The list of shipments to be picked up
        metadata:
          type: object
          additionalProperties: {}
          default: {}
          description: User metadata for the pickup
        confirmation_number:
          type: string
          description: pickup identification number
      required:
      - confirmation_number
    PickupUpdateRequest:
      type: object
      properties:
        pickup_date:
          type: string
          description: "The expected pickup date.<br/>\n        Date Format: `YYYY-MM-DD`\n\
            \        "
        address:
          allOf:
          - $ref: '#/components/schemas/Address'
          description: The pickup address
        parcels:
          type: array
          items:
            $ref: '#/components/schemas/Parcel'
          description: The shipment parcels to pickup.
        confirmation_number:
          type: string
          description: pickup identification number
        ready_time:
          type: string
          description: "The ready time for pickup.\n        Time Format: `HH:MM`\n\
            \        "
        closing_time:
          type: string
          description: "The closing or late time of the pickup.<br/>\n        Time\
            \ Format: `HH:MM`\n        "
        instruction:
          type: string
          nullable: true
          description: "The pickup instruction.<br/>\n        eg: Handle with care.\n\
            \        "
          maxLength: 50
        package_location:
          type: string
          nullable: true
          description: "The package(s) location.<br/>\n        eg: Behind the entrance\
            \ door.\n        "
          maxLength: 50
        options:
          type: object
          additionalProperties: {}
          nullable: true
          description: Advanced carrier specific pickup options
      required:
      - address
      - closing_time
      - confirmation_number
      - parcels
      - pickup_date
      - ready_time
    Rate:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier
        object_type:
          type: string
          default: rate
          description: Specifies the object type
        carrier_name:
          type: string
          description: The rate's carrier
        carrier_id:
          type: string
          description: The targeted carrier's name (unique identifier)
        currency:
          type: string
          description: The rate monetary values currency code
        service:
          type: string
          nullable: true
          description: The carrier's rate (quote) service
        total_charge:
          type: number
          format: double
          default: 0.0
          description: "The rate's monetary amount of the total charge.<br/>\n   \
            \     This is the gross amount of the rate after adding the additional\
            \ charges\n        "
        transit_days:
          type: integer
          nullable: true
          description: The estimated delivery transit days
        extra_charges:
          type: array
          items:
            $ref: '#/components/schemas/Charge'
          default: []
          description: list of the rate's additional charges
        estimated_delivery:
          type: string
          nullable: true
          description: The delivery estimated date
        meta:
          type: object
          additionalProperties: {}
          nullable: true
          description: provider specific metadata
        test_mode:
          type: boolean
          description: Specified whether it was created with a carrier in test mode
      required:
      - carrier_id
      - carrier_name
      - test_mode
    RateRequest:
      type: object
      properties:
        shipper:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          description: "The address of the party<br/>\n        Origin address (ship\
            \ from) for the **shipper**<br/>\n        Destination address (ship to)\
            \ for the **recipient**\n        "
        recipient:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          description: "The address of the party<br/>\n        Origin address (ship\
            \ from) for the **shipper**<br/>\n        Destination address (ship to)\
            \ for the **recipient**\n        "
        parcels:
          type: array
          items:
            $ref: '#/components/schemas/ParcelData'
          description: The shipment's parcels
        services:
          type: array
          items:
            type: string
          nullable: true
          default: []
          description: "The requested carrier service for the shipment.<br/>\n   \
            \     Please consult the reference for specific carriers services.<br/>\n\
            \        Note that this is a list because on a Multi-carrier rate request\
            \ you could specify a service per carrier.\n        "
        options:
          type: object
          additionalProperties: {}
          default: {}
          description: "<details>\n        <summary>The options available for the\
            \ shipment.</summary>\n\n        {\n            \"currency\": \"USD\"\
            ,\n            \"insurance\": 100.00,\n            \"cash_on_delivery\"\
            : 30.00,\n            \"dangerous_good\": true,\n            \"declared_value\"\
            : 150.00,\n            \"sms_notification\": true,\n            \"email_notification\"\
            : true,\n            \"email_notification_to\": \"shipper@mail.com\",\n\
            \            \"hold_at_location\": true,\n            \"paperless_trade\"\
            : true,\n            \"preferred_service\": \"fedex_express_saver\",\n\
            \            \"shipment_date\": \"2020-01-01\",  # TODO: deprecate\n \
            \           \"shipping_date\": \"2020-01-01T00:00\",\n            \"shipment_note\"\
            : \"This is a shipment note\",\n            \"signature_confirmation\"\
            : true,\n            \"saturday_delivery\": true,\n            \"is_return\"\
            : true,\n            \"doc_files\": [\n                {\n           \
            \         \"doc_type\": \"commercial_invoice\",\n                    \"\
            doc_file\": \"base64 encoded file\",\n                    \"doc_name\"\
            : \"commercial_invoice.pdf\",\n                    \"doc_format\": \"\
            pdf\",\n                }\n            ],\n            \"doc_references\"\
            : [\n                {\n                    \"doc_id\": \"123456789\"\
            ,\n                    \"doc_type\": \"commercial_invoice\",\n       \
            \         }\n            ],\n        }\n        </details>\n        "
        reference:
          type: string
          nullable: true
          description: The shipment reference
        carrier_ids:
          type: array
          items:
            type: string
          nullable: true
          default: []
          description: The list of configured carriers you wish to get rates from.
      required:
      - parcels
      - recipient
      - shipper
    RateResponse:
      type: object
      properties:
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          description: The list of note or warning messages
        rates:
          type: array
          items:
            $ref: '#/components/schemas/Rate'
          description: The list of returned rates
      required:
      - rates
    Shipment:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier
        object_type:
          type: string
          default: shipment
          description: Specifies the object type
        tracking_url:
          type: string
          format: uri
          nullable: true
          description: The shipment tracking url
        shipper:
          allOf:
          - $ref: '#/components/schemas/Address'
          description: "The address of the party.<br/>\n        Origin address (ship\
            \ from) for the **shipper**<br/>\n        Destination address (ship to)\
            \ for the **recipient**\n        "
        recipient:
          allOf:
          - $ref: '#/components/schemas/Address'
          description: "The address of the party.<br/>\n        Origin address (ship\
            \ from) for the **shipper**<br/>\n        Destination address (ship to)\
            \ for the **recipient**\n        "
        return_address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          nullable: true
          description: The return address for this shipment. Defaults to the shipper
            address.
        billing_address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          nullable: true
          description: The payor address.
        parcels:
          type: array
          items:
            $ref: '#/components/schemas/Parcel'
          description: The shipment's parcels
        services:
          type: array
          items:
            type: string
          nullable: true
          default: []
          description: "The carriers services requested for the shipment.<br/>\n \
            \       Please consult the reference for specific carriers services.<br/>\n\
            \        **Note that this is a list because on a Multi-carrier rate request\
            \ you could specify a service per carrier.**\n        "
        options:
          type: object
          additionalProperties: {}
          default: {}
          description: "<details>\n        <summary>The options available for the\
            \ shipment.</summary>\n\n        {\n            \"currency\": \"USD\"\
            ,\n            \"insurance\": 100.00,\n            \"cash_on_delivery\"\
            : 30.00,\n            \"dangerous_good\": true,\n            \"declared_value\"\
            : 150.00,\n            \"sms_notification\": true,\n            \"email_notification\"\
            : true,\n            \"email_notification_to\": \"shipper@mail.com\",\n\
            \            \"hold_at_location\": true,\n            \"paperless_trade\"\
            : true,\n            \"preferred_service\": \"fedex_express_saver\",\n\
            \            \"shipment_date\": \"2020-01-01\",  # TODO: deprecate\n \
            \           \"shipping_date\": \"2020-01-01T00:00\",\n            \"shipment_note\"\
            : \"This is a shipment note\",\n            \"signature_confirmation\"\
            : true,\n            \"saturday_delivery\": true,\n            \"is_return\"\
            : true,\n            \"doc_files\": [\n                {\n           \
            \         \"doc_type\": \"commercial_invoice\",\n                    \"\
            doc_file\": \"base64 encoded file\",\n                    \"doc_name\"\
            : \"commercial_invoice.pdf\",\n                    \"doc_format\": \"\
            pdf\",\n                }\n            ],\n            \"doc_references\"\
            : [\n                {\n                    \"doc_id\": \"123456789\"\
            ,\n                    \"doc_type\": \"commercial_invoice\",\n       \
            \         }\n            ],\n        }\n        </details>\n        "
        payment:
          allOf:
          - $ref: '#/components/schemas/Payment'
          default:
            paid_by: sender
            currency: null
            account_number: null
          description: The payment details
        customs:
          allOf:
          - $ref: '#/components/schemas/Customs'
          nullable: true
          description: "The customs details.<br/>\n        **Note that this is required\
            \ for the shipment of an international Dutiable parcel.**\n        "
        rates:
          type: array
          items:
            $ref: '#/components/schemas/Rate'
          default: []
          description: The list for shipment rates fetched previously
        reference:
          type: string
          nullable: true
          description: The shipment reference
        label_type:
          enum:
          - PDF
          - ZPL
          - PNG
          - ''
          - null
          type: string
          x-spec-enum-id: d10a5d5e08394b13
          nullable: true
          description: The shipment label file type.
        carrier_ids:
          type: array
          items:
            type: string
          nullable: true
          default: []
          description: "The list of configured carriers you wish to get rates from.<br/>\n\
            \        **Note that the request will be sent to all carriers in nothing\
            \ is specified**\n        "
        tracker_id:
          type: string
          nullable: true
          description: The attached tracker id
        created_at:
          type: string
          description: "The shipment creation datetime.<br/>\n        Date Format:\
            \ `YYYY-MM-DD HH:MM:SS.mmmmmmz`\n        "
        metadata:
          type: object
          additionalProperties: {}
          default: {}
          description: User metadata for the shipment
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          default: []
          description: The list of note or warning messages
        status:
          enum:
          - draft
          - purchased
          - cancelled
          - shipped
          - in_transit
          - delivered
          - needs_attention
          - out_for_delivery
          - delivery_failed
          type: string
          x-spec-enum-id: e418e9eb782a00a9
          default: draft
          description: The current Shipment status
        carrier_name:
          type: string
          nullable: true
          description: The shipment carrier
        carrier_id:
          type: string
          nullable: true
          description: The shipment carrier configured identifier
        tracking_number:
          type: string
          nullable: true
          description: The shipment tracking number
        shipment_identifier:
          type: string
          nullable: true
          description: The shipment carrier system identifier
        selected_rate:
          allOf:
          - $ref: '#/components/schemas/Rate'
          nullable: true
          description: The shipment selected rate
        meta:
          type: object
          additionalProperties: {}
          nullable: true
          description: provider specific metadata
        service:
          type: string
          nullable: true
          description: The selected service
        selected_rate_id:
          type: string
          nullable: true
          description: The shipment selected rate.
        test_mode:
          type: boolean
          description: Specified whether it was created with a carrier in test mode
        label_url:
          type: string
          format: uri
          nullable: true
          description: The shipment label URL
        invoice_url:
          type: string
          format: uri
          nullable: true
          description: The shipment invoice URL
      required:
      - created_at
      - parcels
      - recipient
      - shipper
      - test_mode
    ShipmentCancelRequest:
      type: object
      properties:
        shipment_identifier:
          type: string
          description: The shipment identifier returned during creation.
        service:
          type: string
          nullable: true
          description: The selected shipment service
        carrier_id:
          type: string
          description: The shipment carrier_id for specific connection selection.
        options:
          type: object
          additionalProperties: {}
          default: {}
          description: Advanced carrier specific cancellation options.
      required:
      - shipment_identifier
    ShipmentData:
      type: object
      properties:
        recipient:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          description: "The address of the party.<br/>\n        Origin address (ship\
            \ from) for the **shipper**<br/>\n        Destination address (ship to)\
            \ for the **recipient**\n        "
        shipper:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          description: "The address of the party.<br/>\n        Origin address (ship\
            \ from) for the **shipper**<br/>\n        Destination address (ship to)\
            \ for the **recipient**\n        "
        return_address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          nullable: true
          description: The return address for this shipment. Defaults to the shipper
            address.
        billing_address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          nullable: true
          description: The payor address.
        parcels:
          type: array
          items:
            $ref: '#/components/schemas/ParcelData'
          description: The shipment's parcels
        options:
          type: object
          additionalProperties: {}
          default: {}
          description: "<details>\n        <summary>The options available for the\
            \ shipment.</summary>\n\n        {\n            \"currency\": \"USD\"\
            ,\n            \"insurance\": 100.00,\n            \"cash_on_delivery\"\
            : 30.00,\n            \"dangerous_good\": true,\n            \"declared_value\"\
            : 150.00,\n            \"sms_notification\": true,\n            \"email_notification\"\
            : true,\n            \"email_notification_to\": \"shipper@mail.com\",\n\
            \            \"hold_at_location\": true,\n            \"paperless_trade\"\
            : true,\n            \"preferred_service\": \"fedex_express_saver\",\n\
            \            \"shipment_date\": \"2020-01-01\",  # TODO: deprecate\n \
            \           \"shipping_date\": \"2020-01-01T00:00\",\n            \"shipment_note\"\
            : \"This is a shipment note\",\n            \"signature_confirmation\"\
            : true,\n            \"saturday_delivery\": true,\n            \"is_return\"\
            : true,\n            \"doc_files\": [\n                {\n           \
            \         \"doc_type\": \"commercial_invoice\",\n                    \"\
            doc_file\": \"base64 encoded file\",\n                    \"doc_name\"\
            : \"commercial_invoice.pdf\",\n                    \"doc_format\": \"\
            pdf\",\n                }\n            ],\n            \"doc_references\"\
            : [\n                {\n                    \"doc_id\": \"123456789\"\
            ,\n                    \"doc_type\": \"commercial_invoice\",\n       \
            \         }\n            ],\n        }\n        </details>\n        "
        payment:
          allOf:
          - $ref: '#/components/schemas/Payment'
          default:
            paid_by: sender
            currency: null
            account_number: null
          description: The payment details
        customs:
          allOf:
          - $ref: '#/components/schemas/CustomsData'
          nullable: true
          description: "The customs details.<br/>\n        **Note that this is required\
            \ for the shipment of an international Dutiable parcel.**\n        "
        reference:
          type: string
          nullable: true
          description: The shipment reference
          maxLength: 35
        label_type:
          enum:
          - PDF
          - ZPL
          - PNG
          type: string
          x-spec-enum-id: d10a5d5e08394b13
          default: PDF
          description: The shipment label file type.
        service:
          type: string
          description: '**Specify a service to Buy a label in one call without rating.**'
        services:
          type: array
          items:
            type: string
          nullable: true
          default: []
          description: "The requested carrier service for the shipment.<br/>\n   \
            \     Please consult the reference for specific carriers services.<br/>\n\
            \        **Note that this is a list because on a Multi-carrier rate request\n\
            \        you could specify a service per carrier.**\n        "
        carrier_ids:
          type: array
          items:
            type: string
          nullable: true
          default: []
          description: "The list of configured carriers you wish to get rates from.<br/>\n\
            \        **Note that the request will be sent to all carriers in nothing\
            \ is specified**\n        "
        metadata:
          type: object
          additionalProperties: {}
          default: {}
          description: User metadata for the shipment
      required:
      - parcels
      - recipient
      - shipper
    ShipmentDataReference:
      type: object
      properties:
        recipient:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          description: "The address of the party.<br/>\n        Origin address (ship\
            \ from) for the **shipper**<br/>\n        Destination address (ship to)\
            \ for the **recipient**\n        "
        shipper:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          description: "The address of the party.<br/>\n        Origin address (ship\
            \ from) for the **shipper**<br/>\n        Destination address (ship to)\
            \ for the **recipient**\n        "
        return_address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          nullable: true
          description: The return address for this shipment. Defaults to the shipper
            address.
        billing_address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          nullable: true
          description: The payor address.
        parcels:
          type: array
          items:
            $ref: '#/components/schemas/ParcelData'
          description: The shipment's parcels
        options:
          type: object
          additionalProperties: {}
          default: {}
          description: "<details>\n        <summary>The options available for the\
            \ shipment.</summary>\n\n        {\n            \"currency\": \"USD\"\
            ,\n            \"insurance\": 100.00,\n            \"cash_on_delivery\"\
            : 30.00,\n            \"dangerous_good\": true,\n            \"declared_value\"\
            : 150.00,\n            \"sms_notification\": true,\n            \"email_notification\"\
            : true,\n            \"email_notification_to\": \"shipper@mail.com\",\n\
            \            \"hold_at_location\": true,\n            \"paperless_trade\"\
            : true,\n            \"preferred_service\": \"fedex_express_saver\",\n\
            \            \"shipment_date\": \"2020-01-01\",  # TODO: deprecate\n \
            \           \"shipping_date\": \"2020-01-01T00:00\",\n            \"shipment_note\"\
            : \"This is a shipment note\",\n            \"signature_confirmation\"\
            : true,\n            \"saturday_delivery\": true,\n            \"is_return\"\
            : true,\n            \"doc_files\": [\n                {\n           \
            \         \"doc_type\": \"commercial_invoice\",\n                    \"\
            doc_file\": \"base64 encoded file\",\n                    \"doc_name\"\
            : \"commercial_invoice.pdf\",\n                    \"doc_format\": \"\
            pdf\",\n                }\n            ],\n            \"doc_references\"\
            : [\n                {\n                    \"doc_id\": \"123456789\"\
            ,\n                    \"doc_type\": \"commercial_invoice\",\n       \
            \         }\n            ],\n        }\n        </details>\n        "
        payment:
          allOf:
          - $ref: '#/components/schemas/Payment'
          default:
            paid_by: sender
            currency: null
            account_number: null
          description: The payment details
        customs:
          allOf:
          - $ref: '#/components/schemas/CustomsData'
          nullable: true
          description: "The customs details.<br/>\n        **Note that this is required\
            \ for the shipment of an international Dutiable parcel.**\n        "
        reference:
          type: string
          nullable: true
          description: The shipment reference
          maxLength: 35
        label_type:
          enum:
          - PDF
          - ZPL
          - PNG
          type: string
          x-spec-enum-id: d10a5d5e08394b13
          default: PDF
          description: The shipment label file type.
        service:
          type: string
          description: '**Specify a service to Buy a label in one call without rating.**'
        services:
          type: array
          items:
            type: string
          nullable: true
          default: []
          description: "The requested carrier service for the shipment.<br/>\n   \
            \     Please consult the reference for specific carriers services.<br/>\n\
            \        **Note that this is a list because on a Multi-carrier rate request\n\
            \        you could specify a service per carrier.**\n        "
        carrier_ids:
          type: array
          items:
            type: string
          nullable: true
          default: []
          description: "The list of configured carriers you wish to get rates from.<br/>\n\
            \        **Note that the request will be sent to all carriers in nothing\
            \ is specified**\n        "
        metadata:
          type: object
          additionalProperties: {}
          default: {}
          description: User metadata for the shipment
        id:
          type: string
          description: The shipment id.
      required:
      - parcels
      - recipient
      - shipper
    ShipmentPurchaseData:
      type: object
      properties:
        selected_rate_id:
          type: string
          description: The shipment selected rate.
        label_type:
          enum:
          - PDF
          - ZPL
          - PNG
          type: string
          x-spec-enum-id: d10a5d5e08394b13
          default: PDF
          description: The shipment label file type.
        payment:
          allOf:
          - $ref: '#/components/schemas/Payment'
          description: The payment details
        reference:
          type: string
          nullable: true
          description: The shipment reference
        metadata:
          type: object
          additionalProperties: {}
          description: User metadata for the shipment
      required:
      - selected_rate_id
    ShipmentRateData:
      type: object
      properties:
        services:
          type: array
          items:
            type: string
          nullable: true
          description: "The requested carrier service for the shipment.<br/>\n   \
            \     Please consult [the reference](#operation/references) for specific\
            \ carriers services.<br/>\n        **Note that this is a list because\
            \ on a Multi-carrier rate request you could\n        specify a service\
            \ per carrier.**\n        "
        carrier_ids:
          type: array
          items:
            type: string
          nullable: true
          description: "The list of configured carriers you wish to get rates from.<br/>\n\
            \        **Note that the request will be sent to all carriers in nothing\
            \ is specified**\n        "
        options:
          type: object
          additionalProperties: {}
          default: {}
          description: "<details>\n        <summary>The options available for the\
            \ shipment.</summary>\n\n        {\n            \"currency\": \"USD\"\
            ,\n            \"insurance\": 100.00,\n            \"cash_on_delivery\"\
            : 30.00,\n            \"dangerous_good\": true,\n            \"declared_value\"\
            : 150.00,\n            \"sms_notification\": true,\n            \"email_notification\"\
            : true,\n            \"email_notification_to\": \"shipper@mail.com\",\n\
            \            \"hold_at_location\": true,\n            \"paperless_trade\"\
            : true,\n            \"preferred_service\": \"fedex_express_saver\",\n\
            \            \"shipment_date\": \"2020-01-01\",  # TODO: deprecate\n \
            \           \"shipping_date\": \"2020-01-01T00:00\",\n            \"shipment_note\"\
            : \"This is a shipment note\",\n            \"signature_confirmation\"\
            : true,\n            \"saturday_delivery\": true,\n            \"is_return\"\
            : true,\n            \"doc_files\": [\n                {\n           \
            \         \"doc_type\": \"commercial_invoice\",\n                    \"\
            doc_file\": \"base64 encoded file\",\n                    \"doc_name\"\
            : \"commercial_invoice.pdf\",\n                    \"doc_format\": \"\
            pdf\",\n                }\n            ],\n            \"doc_references\"\
            : [\n                {\n                    \"doc_id\": \"123456789\"\
            ,\n                    \"doc_type\": \"commercial_invoice\",\n       \
            \         }\n            ],\n        }\n        </details>\n        "
        reference:
          type: string
          nullable: true
          description: The shipment reference
        metadata:
          type: object
          additionalProperties: {}
          description: User metadata for the shipment
    ShipmentUpdateData:
      type: object
      properties:
        label_type:
          enum:
          - PDF
          - ZPL
          - PNG
          type: string
          x-spec-enum-id: d10a5d5e08394b13
          default: PDF
          description: The shipment label file type.
        payment:
          allOf:
          - $ref: '#/components/schemas/Payment'
          description: The payment details
        options:
          type: object
          additionalProperties: {}
          default: {}
          description: "<details>\n        <summary>The options available for the\
            \ shipment.</summary>\n\n        {\n            \"currency\": \"USD\"\
            ,\n            \"insurance\": 100.00,\n            \"cash_on_delivery\"\
            : 30.00,\n            \"dangerous_good\": true,\n            \"declared_value\"\
            : 150.00,\n            \"sms_notification\": true,\n            \"email_notification\"\
            : true,\n            \"email_notification_to\": \"shipper@mail.com\",\n\
            \            \"hold_at_location\": true,\n            \"paperless_trade\"\
            : true,\n            \"preferred_service\": \"fedex_express_saver\",\n\
            \            \"shipment_date\": \"2020-01-01\",  # TODO: deprecate\n \
            \           \"shipping_date\": \"2020-01-01T00:00\",\n            \"shipment_note\"\
            : \"This is a shipment note\",\n            \"signature_confirmation\"\
            : true,\n            \"saturday_delivery\": true,\n            \"is_return\"\
            : true,\n            \"doc_files\": [\n                {\n           \
            \         \"doc_type\": \"commercial_invoice\",\n                    \"\
            doc_file\": \"base64 encoded file\",\n                    \"doc_name\"\
            : \"commercial_invoice.pdf\",\n                    \"doc_format\": \"\
            pdf\",\n                }\n            ],\n            \"doc_references\"\
            : [\n                {\n                    \"doc_id\": \"123456789\"\
            ,\n                    \"doc_type\": \"commercial_invoice\",\n       \
            \         }\n            ],\n        }\n        </details>\n        "
        reference:
          type: string
          nullable: true
          description: The shipment reference
        metadata:
          type: object
          additionalProperties: {}
          description: User metadata for the shipment
    ShippingRequest:
      type: object
      properties:
        recipient:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          description: "The address of the party.<br/>\n        Origin address (ship\
            \ from) for the **shipper**<br/>\n        Destination address (ship to)\
            \ for the **recipient**\n        "
        shipper:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          description: "The address of the party.<br/>\n        Origin address (ship\
            \ from) for the **shipper**<br/>\n        Destination address (ship to)\
            \ for the **recipient**\n        "
        return_address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          nullable: true
          description: The return address for this shipment. Defaults to the shipper
            address.
        billing_address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          nullable: true
          description: The payor address.
        parcels:
          type: array
          items:
            $ref: '#/components/schemas/ParcelData'
          description: The shipment's parcels
        options:
          type: object
          additionalProperties: {}
          default: {}
          description: "<details>\n        <summary>The options available for the\
            \ shipment.</summary>\n\n        {\n            \"currency\": \"USD\"\
            ,\n            \"insurance\": 100.00,\n            \"cash_on_delivery\"\
            : 30.00,\n            \"dangerous_good\": true,\n            \"declared_value\"\
            : 150.00,\n            \"sms_notification\": true,\n            \"email_notification\"\
            : true,\n            \"email_notification_to\": \"shipper@mail.com\",\n\
            \            \"hold_at_location\": true,\n            \"paperless_trade\"\
            : true,\n            \"preferred_service\": \"fedex_express_saver\",\n\
            \            \"shipment_date\": \"2020-01-01\",  # TODO: deprecate\n \
            \           \"shipping_date\": \"2020-01-01T00:00\",\n            \"shipment_note\"\
            : \"This is a shipment note\",\n            \"signature_confirmation\"\
            : true,\n            \"saturday_delivery\": true,\n            \"is_return\"\
            : true,\n            \"doc_files\": [\n                {\n           \
            \         \"doc_type\": \"commercial_invoice\",\n                    \"\
            doc_file\": \"base64 encoded file\",\n                    \"doc_name\"\
            : \"commercial_invoice.pdf\",\n                    \"doc_format\": \"\
            pdf\",\n                }\n            ],\n            \"doc_references\"\
            : [\n                {\n                    \"doc_id\": \"123456789\"\
            ,\n                    \"doc_type\": \"commercial_invoice\",\n       \
            \         }\n            ],\n        }\n        </details>\n        "
        payment:
          allOf:
          - $ref: '#/components/schemas/Payment'
          default:
            paid_by: sender
            currency: null
            account_number: null
          description: The payment details
        customs:
          allOf:
          - $ref: '#/components/schemas/CustomsData'
          nullable: true
          description: "The customs details.<br/>\n        **Note that this is required\
            \ for the shipment of an international Dutiable parcel.**\n        "
        reference:
          type: string
          nullable: true
          description: The shipment reference
          maxLength: 35
        label_type:
          enum:
          - PDF
          - ZPL
          - PNG
          type: string
          x-spec-enum-id: d10a5d5e08394b13
          default: PDF
          description: The shipment label file type.
        selected_rate_id:
          type: string
          description: The shipment selected rate.
        rates:
          type: array
          items:
            $ref: '#/components/schemas/Rate'
          description: The list for shipment rates fetched previously
      required:
      - parcels
      - rates
      - recipient
      - selected_rate_id
      - shipper
    ShippingResponse:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier
        object_type:
          type: string
          default: shipment
          description: Specifies the object type
        tracking_url:
          type: string
          format: uri
          nullable: true
          description: The shipment tracking url
        shipper:
          allOf:
          - $ref: '#/components/schemas/Address'
          description: "The address of the party.<br/>\n        Origin address (ship\
            \ from) for the **shipper**<br/>\n        Destination address (ship to)\
            \ for the **recipient**\n        "
        recipient:
          allOf:
          - $ref: '#/components/schemas/Address'
          description: "The address of the party.<br/>\n        Origin address (ship\
            \ from) for the **shipper**<br/>\n        Destination address (ship to)\
            \ for the **recipient**\n        "
        return_address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          nullable: true
          description: The return address for this shipment. Defaults to the shipper
            address.
        billing_address:
          allOf:
          - $ref: '#/components/schemas/AddressData'
          nullable: true
          description: The payor address.
        parcels:
          type: array
          items:
            $ref: '#/components/schemas/Parcel'
          description: The shipment's parcels
        services:
          type: array
          items:
            type: string
          nullable: true
          default: []
          description: "The carriers services requested for the shipment.<br/>\n \
            \       Please consult the reference for specific carriers services.<br/>\n\
            \        **Note that this is a list because on a Multi-carrier rate request\
            \ you could specify a service per carrier.**\n        "
        options:
          type: object
          additionalProperties: {}
          default: {}
          description: "<details>\n        <summary>The options available for the\
            \ shipment.</summary>\n\n        {\n            \"currency\": \"USD\"\
            ,\n            \"insurance\": 100.00,\n            \"cash_on_delivery\"\
            : 30.00,\n            \"dangerous_good\": true,\n            \"declared_value\"\
            : 150.00,\n            \"sms_notification\": true,\n            \"email_notification\"\
            : true,\n            \"email_notification_to\": \"shipper@mail.com\",\n\
            \            \"hold_at_location\": true,\n            \"paperless_trade\"\
            : true,\n            \"preferred_service\": \"fedex_express_saver\",\n\
            \            \"shipment_date\": \"2020-01-01\",  # TODO: deprecate\n \
            \           \"shipping_date\": \"2020-01-01T00:00\",\n            \"shipment_note\"\
            : \"This is a shipment note\",\n            \"signature_confirmation\"\
            : true,\n            \"saturday_delivery\": true,\n            \"is_return\"\
            : true,\n            \"doc_files\": [\n                {\n           \
            \         \"doc_type\": \"commercial_invoice\",\n                    \"\
            doc_file\": \"base64 encoded file\",\n                    \"doc_name\"\
            : \"commercial_invoice.pdf\",\n                    \"doc_format\": \"\
            pdf\",\n                }\n            ],\n            \"doc_references\"\
            : [\n                {\n                    \"doc_id\": \"123456789\"\
            ,\n                    \"doc_type\": \"commercial_invoice\",\n       \
            \         }\n            ],\n        }\n        </details>\n        "
        payment:
          allOf:
          - $ref: '#/components/schemas/Payment'
          default:
            paid_by: sender
            currency: null
            account_number: null
          description: The payment details
        customs:
          allOf:
          - $ref: '#/components/schemas/Customs'
          nullable: true
          description: "The customs details.<br/>\n        **Note that this is required\
            \ for the shipment of an international Dutiable parcel.**\n        "
        rates:
          type: array
          items:
            $ref: '#/components/schemas/Rate'
          default: []
          description: The list for shipment rates fetched previously
        reference:
          type: string
          nullable: true
          description: The shipment reference
        label_type:
          enum:
          - PDF
          - ZPL
          - PNG
          - ''
          - null
          type: string
          x-spec-enum-id: d10a5d5e08394b13
          nullable: true
          description: The shipment label file type.
        carrier_ids:
          type: array
          items:
            type: string
          nullable: true
          default: []
          description: "The list of configured carriers you wish to get rates from.<br/>\n\
            \        **Note that the request will be sent to all carriers in nothing\
            \ is specified**\n        "
        tracker_id:
          type: string
          nullable: true
          description: The attached tracker id
        created_at:
          type: string
          description: "The shipment creation datetime.<br/>\n        Date Format:\
            \ `YYYY-MM-DD HH:MM:SS.mmmmmmz`\n        "
        metadata:
          type: object
          additionalProperties: {}
          default: {}
          description: User metadata for the shipment
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          default: []
          description: The list of note or warning messages
        status:
          enum:
          - draft
          - purchased
          - cancelled
          - shipped
          - in_transit
          - delivered
          - needs_attention
          - out_for_delivery
          - delivery_failed
          type: string
          x-spec-enum-id: e418e9eb782a00a9
          default: draft
          description: The current Shipment status
        carrier_name:
          type: string
          nullable: true
          description: The shipment carrier
        carrier_id:
          type: string
          nullable: true
          description: The shipment carrier configured identifier
        tracking_number:
          type: string
          nullable: true
          description: The shipment tracking number
        shipment_identifier:
          type: string
          nullable: true
          description: The shipment carrier system identifier
        selected_rate:
          allOf:
          - $ref: '#/components/schemas/Rate'
          nullable: true
          description: The shipment selected rate
        docs:
          allOf:
          - $ref: '#/components/schemas/Documents'
          nullable: true
          description: The shipment documents
        meta:
          type: object
          additionalProperties: {}
          nullable: true
          description: provider specific metadata
        service:
          type: string
          nullable: true
          description: The selected service
        selected_rate_id:
          type: string
          nullable: true
          description: The shipment selected rate.
        test_mode:
          type: boolean
          description: Specified whether it was created with a carrier in test mode
      required:
      - created_at
      - parcels
      - recipient
      - shipper
      - test_mode
    TokenObtainPair:
      type: object
      properties:
        email:
          type: string
          writeOnly: true
        password:
          type: string
          writeOnly: true
      required:
      - email
      - password
    TokenPair:
      type: object
      properties:
        access:
          type: string
        refresh:
          type: string
      required:
      - access
      - refresh
    TokenRefresh:
      type: object
      properties:
        refresh:
          type: string
        access:
          type: string
          readOnly: true
      required:
      - access
      - refresh
    TokenVerify:
      type: object
      properties:
        token:
          type: string
          writeOnly: true
      required:
      - token
    TrackerDetails:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier
        carrier_name:
          type: string
          description: The tracking carrier
        carrier_id:
          type: string
          description: The tracking carrier configured identifier
        tracking_number:
          type: string
          description: The shipment tracking number
        info:
          allOf:
          - $ref: '#/components/schemas/TrackingInfo'
          nullable: true
          default:
            carrier_tracking_link: null
            customer_name: null
            expected_delivery: null
            note: null
            order_date: null
            order_id: null
            package_weight: null
            package_weight_unit: null
            shipment_package_count: null
            shipment_pickup_date: null
            shipment_delivery_date: null
            shipment_service: null
            shipment_origin_country: null
            shipment_origin_postal_code: null
            shipment_destination_country: null
            shipment_destination_postal_code: null
            shipping_date: null
            signed_by: null
            source: null
          description: The package and shipment tracking details
        events:
          type: array
          items:
            $ref: '#/components/schemas/TrackingEvent'
          nullable: true
          description: The tracking details events
        delivered:
          type: boolean
          description: Specified whether the related shipment was delivered
        test_mode:
          type: boolean
          description: Specified whether the object was created with a carrier in
            test mode
        status:
          enum:
          - pending
          - unknown
          - on_hold
          - delivered
          - in_transit
          - delivery_delayed
          - out_for_delivery
          - ready_for_pickup
          - delivery_failed
          type: string
          x-spec-enum-id: 979a07e5fd2a5042
          default: pending
          description: The current tracking status
        estimated_delivery:
          type: string
          description: The delivery estimated date
        meta:
          type: object
          additionalProperties: {}
          nullable: true
          description: provider specific metadata
        images:
          allOf:
          - $ref: '#/components/schemas/Images'
          nullable: true
          description: The tracker documents
        object_type:
          type: string
          default: tracker
          description: Specifies the object type
        metadata:
          type: object
          additionalProperties: {}
          default: {}
          description: User metadata for the tracker
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          default: []
          description: The list of note or warning messages
      required:
      - carrier_id
      - carrier_name
      - test_mode
      - tracking_number
    TrackerList:
      type: object
      properties:
        count:
          type: integer
          nullable: true
        next:
          type: string
          format: uri
          nullable: true
        previous:
          type: string
          format: uri
          nullable: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/TrackingStatus'
      required:
      - results
    TrackerUpdateData:
      type: object
      properties:
        info:
          allOf:
          - $ref: '#/components/schemas/TrackingInfo'
          nullable: true
          description: The package and shipment tracking details
        metadata:
          type: object
          additionalProperties: {}
          description: User metadata for the tracker
    TrackingData:
      type: object
      properties:
        tracking_number:
          type: string
          description: The package tracking number
        carrier_name:
          enum:
          - allied_express
          - allied_express_local
          - amazon_shipping
          - aramex
          - asendia_us
          - australiapost
          - boxknight
          - bpost
          - canadapost
          - canpar
          - chronopost
          - colissimo
          - dhl_express
          - dhl_parcel_de
          - dhl_poland
          - dhl_universal
          - dicom
          - dpd
          - dpdhl
          - fedex
          - fedex_ws
          - generic
          - geodis
          - hay_post
          - laposte
          - locate2u
          - nationex
          - purolator
          - roadie
          - royalmail
          - seko
          - sendle
          - tge
          - tnt
          - ups
          - usps
          - usps_international
          - usps_wt
          - usps_wt_international
          - zoom2u
          type: string
          x-spec-enum-id: 0253dcf2d811f867
          description: The tracking carrier
        account_number:
          type: string
          nullable: true
          description: The shipper account number
        reference:
          type: string
          nullable: true
          description: The shipment reference
        info:
          allOf:
          - $ref: '#/components/schemas/TrackingInfo'
          nullable: true
          description: The package and shipment tracking details
        metadata:
          type: object
          additionalProperties: {}
          default: {}
          description: The carrier user metadata.
      required:
      - carrier_name
      - tracking_number
    TrackingEvent:
      type: object
      properties:
        date:
          type: string
          description: 'The tracking event''s date. Format: `YYYY-MM-DD`'
        description:
          type: string
          description: The tracking event's description
        location:
          type: string
          description: The tracking event's location
        code:
          type: string
          nullable: true
          description: The tracking event's code
        time:
          type: string
          nullable: true
          description: 'The tracking event''s time. Format: `HH:MM AM/PM`'
        latitude:
          type: number
          format: double
          nullable: true
          description: The tracking event's latitude.
        longitude:
          type: number
          format: double
          nullable: true
          description: The tracking event's longitude.
    TrackingInfo:
      type: object
      properties:
        carrier_tracking_link:
          type: string
          nullable: true
          description: The carrier tracking link
        customer_name:
          type: string
          nullable: true
          description: The customer name
        expected_delivery:
          type: string
          nullable: true
          description: The expected delivery date
        note:
          type: string
          nullable: true
          description: A tracking note
        order_date:
          type: string
          nullable: true
          description: The package order date
        order_id:
          type: string
          nullable: true
          description: The package order id or number
        package_weight:
          type: string
          nullable: true
          description: The package weight
        package_weight_unit:
          type: string
          nullable: true
          description: The package weight unit
        shipment_package_count:
          type: string
          nullable: true
          description: The package count
        shipment_pickup_date:
          type: string
          nullable: true
          description: The shipment pickup date
        shipment_delivery_date:
          type: string
          nullable: true
          description: The shipment delivery date
        shipment_service:
          type: string
          nullable: true
          description: The shipment service
        shipment_origin_country:
          type: string
          nullable: true
          description: The shipment origin country
        shipment_origin_postal_code:
          type: string
          nullable: true
          description: The shipment origin postal code
        shipment_destination_country:
          type: string
          nullable: true
          description: The shipment destination country
        shipment_destination_postal_code:
          type: string
          nullable: true
          description: The shipment destination postal code
        shipping_date:
          type: string
          nullable: true
          description: The shipping date
        signed_by:
          type: string
          nullable: true
          description: The person who signed for the package
        source:
          type: string
          nullable: true
          description: The tracker source
    TrackingResponse:
      type: object
      properties:
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          description: The list of note or warning messages
        tracking:
          allOf:
          - $ref: '#/components/schemas/TrackerDetails'
          description: The tracking details retrieved
    TrackingStatus:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier
        carrier_name:
          type: string
          description: The tracking carrier
        carrier_id:
          type: string
          description: The tracking carrier configured identifier
        tracking_number:
          type: string
          description: The shipment tracking number
        info:
          allOf:
          - $ref: '#/components/schemas/TrackingInfo'
          nullable: true
          default:
            carrier_tracking_link: null
            customer_name: null
            expected_delivery: null
            note: null
            order_date: null
            order_id: null
            package_weight: null
            package_weight_unit: null
            shipment_package_count: null
            shipment_pickup_date: null
            shipment_delivery_date: null
            shipment_service: null
            shipment_origin_country: null
            shipment_origin_postal_code: null
            shipment_destination_country: null
            shipment_destination_postal_code: null
            shipping_date: null
            signed_by: null
            source: null
          description: The package and shipment tracking details
        events:
          type: array
          items:
            $ref: '#/components/schemas/TrackingEvent'
          nullable: true
          description: The tracking details events
        delivered:
          type: boolean
          description: Specified whether the related shipment was delivered
        test_mode:
          type: boolean
          description: Specified whether the object was created with a carrier in
            test mode
        status:
          enum:
          - pending
          - unknown
          - on_hold
          - delivered
          - in_transit
          - delivery_delayed
          - out_for_delivery
          - ready_for_pickup
          - delivery_failed
          type: string
          x-spec-enum-id: 979a07e5fd2a5042
          default: pending
          description: The current tracking status
        estimated_delivery:
          type: string
          description: The delivery estimated date
        meta:
          type: object
          additionalProperties: {}
          nullable: true
          description: provider specific metadata
        object_type:
          type: string
          default: tracker
          description: Specifies the object type
        metadata:
          type: object
          additionalProperties: {}
          default: {}
          description: User metadata for the tracker
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          default: []
          description: The list of note or warning messages
        delivery_image_url:
          type: string
          format: uri
          nullable: true
          description: The shipment invoice URL
        signature_image_url:
          type: string
          format: uri
          nullable: true
          description: The shipment invoice URL
      required:
      - carrier_id
      - carrier_name
      - test_mode
      - tracking_number
    VerifiedTokenObtainPair:
      type: object
      properties:
        refresh:
          type: string
        access:
          type: string
          readOnly: true
        otp_token:
          type: string
          description: "The OTP (One Time Password) token received by the user from\
            \ the\n        configured Two Factor Authentication method.\n        "
      required:
      - access
      - otp_token
      - refresh
    Webhook:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier
        url:
          type: string
          format: uri
          description: The URL of the webhook endpoint.
        description:
          type: string
          nullable: true
          description: An optional description of what the webhook is used for.
        enabled_events:
          type: array
          items:
            enum:
            - all
            - shipment_purchased
            - shipment_cancelled
            - shipment_fulfilled
            - shipment_out_for_delivery
            - shipment_needs_attention
            - shipment_delivery_failed
            - tracker_created
            - tracker_updated
            - order_created
            - order_updated
            - order_fulfilled
            - order_cancelled
            - order_delivered
            - batch_queued
            - batch_failed
            - batch_running
            - batch_completed
            type: string
            x-spec-enum-id: 516a21d18ffb1926
          description: The list of events to enable for this endpoint.
        disabled:
          type: boolean
          nullable: true
          description: Indicates that the webhook is disabled
        object_type:
          type: string
          default: webhook
          description: Specifies the object type
        last_event_at:
          type: string
          format: date-time
          nullable: true
          description: The datetime of the last event sent.
        secret:
          type: string
          description: Header signature secret
        test_mode:
          type: boolean
          description: Specified whether it was created with a carrier in test mode
      required:
      - enabled_events
      - secret
      - test_mode
      - url
    WebhookData:
      type: object
      properties:
        url:
          type: string
          format: uri
          description: The URL of the webhook endpoint.
        description:
          type: string
          nullable: true
          description: An optional description of what the webhook is used for.
        enabled_events:
          type: array
          items:
            enum:
            - all
            - shipment_purchased
            - shipment_cancelled
            - shipment_fulfilled
            - shipment_out_for_delivery
            - shipment_needs_attention
            - shipment_delivery_failed
            - tracker_created
            - tracker_updated
            - order_created
            - order_updated
            - order_fulfilled
            - order_cancelled
            - order_delivered
            - batch_queued
            - batch_failed
            - batch_running
            - batch_completed
            type: string
            x-spec-enum-id: 516a21d18ffb1926
          description: The list of events to enable for this endpoint.
        disabled:
          type: boolean
          nullable: true
          description: Indicates that the webhook is disabled
      required:
      - enabled_events
      - url
    WebhookList:
      type: object
      properties:
        count:
          type: integer
          nullable: true
        next:
          type: string
          format: uri
          nullable: true
        previous:
          type: string
          format: uri
          nullable: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/Webhook'
      required:
      - results
    WebhookTestRequest:
      type: object
      properties:
        payload:
          type: object
          additionalProperties: {}
      required:
      - payload
    allied_express:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
        account:
          type: string
        service_type:
          enum:
          - R
          - P
          - PT
          - PT2
          type: string
          x-spec-enum-id: 4c9d20aef483fdb4
          description: Indicates a service_type string
      required:
      - password
      - username
    allied_express_local:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
        account:
          type: string
        service_type:
          enum:
          - R
          - P
          - PT
          - PT2
          type: string
          x-spec-enum-id: 4c9d20aef483fdb4
          description: Indicates a service_type string
      required:
      - password
      - username
    amazon_shipping:
      type: object
      properties:
        seller_id:
          type: string
        developer_id:
          type: string
        mws_auth_token:
          type: string
        aws_region:
          type: string
          default: us-east-1
        account_country_code:
          type: string
      required:
      - developer_id
      - mws_auth_token
      - seller_id
    aramex:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
        account_pin:
          type: string
        account_entity:
          type: string
        account_number:
          type: string
        account_country_code:
          type: string
      required:
      - account_country_code
      - account_entity
      - account_number
      - account_pin
      - password
      - username
    asendia_us:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
        api_key:
          type: string
        account_number:
          type: string
      required:
      - api_key
      - password
      - username
    australiapost:
      type: object
      properties:
        api_key:
          type: string
        password:
          type: string
        account_number:
          type: string
      required:
      - account_number
      - api_key
      - password
    boxknight:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
      required:
      - password
      - username
    bpost:
      type: object
      properties:
        account_id:
          type: string
        passphrase:
          type: string
      required:
      - account_id
      - passphrase
    canadapost:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
        customer_number:
          type: string
        contract_id:
          type: string
        language:
          enum:
          - en
          - fr
          type: string
          x-spec-enum-id: e4be23cf445bc4cb
          description: Indicates a language string
      required:
      - password
      - username
    canpar:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
        language:
          enum:
          - en
          - fr
          type: string
          x-spec-enum-id: e4be23cf445bc4cb
          description: Indicates a language string
      required:
      - password
      - username
    chronopost:
      type: object
      properties:
        account_number:
          type: string
        password:
          type: string
        id_emit:
          type: string
          default: CHRFR
        language:
          enum:
          - en_GB
          - fr_FR
          type: string
          x-spec-enum-id: 497f777dd9f49678
          description: Indicates a language string
      required:
      - account_number
      - password
    colissimo:
      type: object
      properties:
        password:
          type: string
        contract_number:
          type: string
        laposte_api_key:
          type: string
      required:
      - contract_number
      - password
    dhl_express:
      type: object
      properties:
        site_id:
          type: string
        password:
          type: string
        account_number:
          type: string
        account_country_code:
          type: string
      required:
      - password
      - site_id
    dhl_parcel_de:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
        dhl_api_key:
          type: string
        customer_number:
          type: string
        tracking_consumer_key:
          type: string
        tracking_consumer_secret:
          type: string
      required:
      - dhl_api_key
      - password
      - username
    dhl_poland:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
        account_number:
          type: string
      required:
      - password
      - username
    dhl_universal:
      type: object
      properties:
        consumer_key:
          type: string
        consumer_secret:
          type: string
        language:
          enum:
          - en
          - de
          type: string
          x-spec-enum-id: c8ebf97e9150e311
          description: Indicates a language string
      required:
      - consumer_key
      - consumer_secret
    dicom:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
        billing_account:
          type: string
      required:
      - password
      - username
    dpd:
      type: object
      properties:
        delis_id:
          type: string
        password:
          type: string
        depot:
          type: string
        message_language:
          type: string
          default: en_EN
        account_country_code:
          type: string
          default: BE
      required:
      - delis_id
      - password
    dpdhl:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
        app_id:
          type: string
        app_token:
          type: string
        zt_id:
          type: string
        zt_password:
          type: string
        account_number:
          type: string
      required:
      - password
      - username
    easypost:
      type: object
      properties:
        api_key:
          type: string
      required:
      - api_key
    easyship:
      type: object
      properties:
        access_token:
          type: string
      required:
      - access_token
    eshipper:
      type: object
      properties:
        principal:
          type: string
        credential:
          type: string
      required:
      - credential
      - principal
    fedex:
      type: object
      properties:
        api_key:
          type: string
        secret_key:
          type: string
        account_number:
          type: string
        track_api_key:
          type: string
        track_secret_key:
          type: string
        account_country_code:
          type: string
    fedex_ws:
      type: object
      properties:
        password:
          type: string
        meter_number:
          type: string
        account_number:
          type: string
        user_key:
          type: string
        language_code:
          type: string
          default: en
        account_country_code:
          type: string
      required:
      - account_number
      - meter_number
      - password
    freightcom:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
      required:
      - password
      - username
    generic:
      type: object
      properties:
        display_name:
          type: string
        custom_carrier_name:
          type: string
        account_country_code:
          type: string
        account_number:
          type: string
      required:
      - custom_carrier_name
      - display_name
    geodis:
      type: object
      properties:
        api_key:
          type: string
        identifier:
          type: string
        code_client:
          type: string
        language:
          enum:
          - fr
          - en
          type: string
          x-spec-enum-id: 658b2ddeb0ffc173
          description: Indicates a language string
      required:
      - api_key
      - identifier
    hay_post:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
        customer_id:
          type: string
        customer_type:
          type: string
      required:
      - customer_id
      - customer_type
      - password
      - username
    laposte:
      type: object
      properties:
        api_key:
          type: string
        lang:
          enum:
          - fr_FR
          - en_US
          type: string
          x-spec-enum-id: efa3dd717c7774fb
          description: Indicates a lang string
      required:
      - api_key
    locate2u:
      type: object
      properties:
        client_id:
          type: string
        client_secret:
          type: string
    nationex:
      type: object
      properties:
        api_key:
          type: string
        customer_id:
          type: string
        billing_account:
          type: string
        language:
          enum:
          - en
          - fr
          type: string
          x-spec-enum-id: e4be23cf445bc4cb
          description: Indicates a language string
      required:
      - api_key
      - customer_id
    purolator:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
        account_number:
          type: string
        user_token:
          type: string
        language:
          enum:
          - en
          - fr
          type: string
          x-spec-enum-id: e4be23cf445bc4cb
          description: Indicates a language string
      required:
      - account_number
      - password
      - username
    roadie:
      type: object
      properties:
        api_key:
          type: string
      required:
      - api_key
    royalmail:
      type: object
      properties:
        client_id:
          type: string
        client_secret:
          type: string
      required:
      - client_id
      - client_secret
    sapient:
      type: object
      properties:
        client_id:
          type: string
        client_secret:
          type: string
        shipping_account_id:
          type: string
        sapient_carrier_code:
          enum:
          - DX
          - EVRI
          - RM
          - UPS
          - YODEL
          type: string
          x-spec-enum-id: 24b797aea0df4a45
          description: Indicates a sapient_carrier_code string
      required:
      - client_id
      - client_secret
      - shipping_account_id
    seko:
      type: object
      properties:
        access_key:
          type: string
      required:
      - access_key
    sendle:
      type: object
      properties:
        sendle_id:
          type: string
        api_key:
          type: string
        account_country_code:
          type: string
      required:
      - api_key
      - sendle_id
    tge:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
        api_key:
          type: string
        toll_username:
          type: string
        toll_password:
          type: string
        my_toll_token:
          type: string
        my_toll_identity:
          type: string
        account_code:
          type: string
        sscc_count:
          type: integer
        shipment_count:
          type: integer
      required:
      - api_key
      - my_toll_identity
      - my_toll_token
      - password
      - toll_password
      - toll_username
      - username
    tnt:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
        account_number:
          type: string
        account_country_code:
          type: string
      required:
      - password
      - username
    ups:
      type: object
      properties:
        client_id:
          type: string
        client_secret:
          type: string
        account_number:
          type: string
        account_country_code:
          type: string
      required:
      - client_id
      - client_secret
    usps:
      type: object
      properties:
        client_id:
          type: string
        client_secret:
          type: string
        account_number:
          type: string
        account_type:
          enum:
          - EPS
          - PERMIT
          - METER
          type: string
          x-spec-enum-id: 7efd1d6854b73018
          description: Indicates a account_type string
        manifest_MID:
          type: string
        CRID:
          type: string
        MID:
          type: string
      required:
      - client_id
      - client_secret
    usps_international:
      type: object
      properties:
        client_id:
          type: string
        client_secret:
          type: string
        account_number:
          type: string
        account_type:
          enum:
          - EPS
          - PERMIT
          - METER
          type: string
          x-spec-enum-id: 7efd1d6854b73018
          description: Indicates a account_type string
        manifest_MID:
          type: string
        CRID:
          type: string
        MID:
          type: string
      required:
      - client_id
      - client_secret
    usps_wt:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
        mailer_id:
          type: string
        customer_registration_id:
          type: string
        logistics_manager_mailer_id:
          type: string
      required:
      - password
      - username
    usps_wt_international:
      type: object
      properties:
        username:
          type: string
        password:
          type: string
        mailer_id:
          type: string
        customer_registration_id:
          type: string
        logistics_manager_mailer_id:
          type: string
      required:
      - password
      - username
    zoom2u:
      type: object
      properties:
        api_key:
          type: string
      required:
      - api_key
  securitySchemes:
    JWT:
      in: header
      type: apiKey
      scheme: bearer
      bearerFormat: JWT
      name: Authorization
      description: 'Authorization: Bearer xxx.xxx.xxx'
    OAuth2:
      type: oauth2
      in: header
      name: Authorization
      flows:
        authorizationCode:
          authorizationUrl: /oauth/authorize/
          tokenUrl: /oauth/token/
          scopes:
            read: Reading scope
            write: Writing scope
            openid: OpenID connect
      description: 'Authorization: Bearer xxxxxxxx'
    Token:
      type: apiKey
      in: header
      name: Authorization
      description: 'Authorization: Token key_xxxxxxxx'
    TokenBasic:
      type: http
      scheme: basic
      name: Authorization
      description: '-u key_xxxxxxxx:'
tags:
- name: API
  description: "API instance metadata resources.\n                "
- name: Auth
  description: "API authentication resources.\n                "
- name: Carriers
  description: "This is an object representing your Karrio carrier extension.\n  \
    \              You can retrieve all supported carrier extensions available.\n\
    \                "
- name: Connections
  description: "This is an object representing your Karrio carrier connections.\n\
    \                You can retrieve all carrier connections available to your account.\n\
    \                The `carrier_id` is a friendly name you assign to your connection.\n\
    \                "
- name: Addresses
  description: "This is an object representing your Karrio shipping address.\n   \
    \             You can retrieve all addresses related to your Karrio account.\n\
    \                Address objects are linked to your shipment history, and can\
    \ be used for recurring shipping\n                to / from the same locations.\n\
    \                "
- name: Parcels
  description: "This is an object representing your Karrio shipping parcel.\n    \
    \            Parcel objects are linked to your shipment history, and can be used\
    \ for recurring shipping\n                using the same packaging.\n        \
    \        "
- name: Shipments
  description: "This is an object representing your Karrio shipment.\n           \
    \     A Shipment guides you through process of preparing and purchasing a label\
    \ for an order.\n                A Shipment transitions through multiple statuses\
    \ throughout its lifetime as the package\n                shipped makes its journey\
    \ to it's destination.\n                "
- name: Documents
  description: "This is an object representing your Karrio document upload record.\n\
    \                A Document upload record keep traces of shipping trade documents\
    \ uploaded to carriers\n                to fast track customs and border processing.\n\
    \                "
- name: Manifests
  description: "This is an object representing your Karrio manifest details.\n   \
    \             Some carriers require manifests to be created after labels are generated.\n\
    \                A manifest is a summary of all the shipments that are being sent\
    \ out.\n                "
- name: Trackers
  description: "This is an object representing your Karrio shipment tracker.\n   \
    \             A shipment tracker is an object attached to a shipment by it's tracking\
    \ number.\n                The tracker provide the latest tracking status and\
    \ events associated with a shipment\n                "
- name: Pickups
  description: "This is an object representing your Karrio pickup booking.\n     \
    \           You can retrieve all pickup booked historically for your Karrio account\
    \ shipments.\n                "
- name: Proxy
  description: "In some scenarios, all we need is to send request to a carrier using\
    \ the Karrio unified API.\n                The Proxy API comes handy for that\
    \ as it turn Karrio into a simple middleware that converts and\n             \
    \   validate your request and simply forward it to the shipping carrier server.<br/>\n\
    \                **Note:**<br/>\n                    When using the proxy API,\
    \ no objects are created in the Karrio system.\n                    excpet API\
    \ logs and tracing records for debugging purposes.\n                "
- name: Orders
  description: "This is an object representing your Karrio order.\n              \
    \  You can create Karrio orders to organize your shipments and ship line items\
    \ separately.\n                "
- name: Webhooks
  description: "This is an object representing your Karrio webhook.\n            \
    \    You can configure webhook endpoints via the API to be notified about events\
    \ happen in your\n                Karrio account.\n                "
- name: Batches
  description: "This is an object representing your Karrio batch operation.\n    \
    \            You can retrieve all batch operations historically for your Karrio\
    \ account.\n                "
- name: Reference & Enums
  description: |+
    ## Carriers
    | Carrier Name | Display Name |
    | ------------ | ------------ |
    | zoom2u | Zoom2u |
    | usps_wt_international | USPS Web Tools International |
    | usps_wt | USPS Web Tools |
    | usps_international | USPS International |
    | usps | USPS |
    | ups | UPS |
    | tnt | TNT |
    | tge | TGE |
    | sendle | Sendle |
    | seko | SEKO Logistics |
    | sapient | SAPIENT |
    | royalmail | Royal Mail |
    | roadie | Roadie |
    | purolator | Purolator |
    | nationex | Nationex |
    | locate2u | Locate2u |
    | laposte | La Poste |
    | hay_post | HayPost |
    | geodis | GEODIS |
    | freightcom | Freightcom |
    | fedex_ws | FedEx Web Service |
    | fedex | FedEx |
    | eshipper | eShipper |
    | easyship | Easyship |
    | easypost | EasyPost |
    | dpdhl | Deutsche Post DHL |
    | dpd | DPD |
    | dicom | Dicom |
    | dhl_universal | DHL Universal |
    | dhl_poland | DHL Parcel Poland |
    | dhl_parcel_de | DHL Parcel DE |
    | dhl_express | DHL Express |
    | colissimo | Colissimo |
    | chronopost | Chronopost |
    | canpar | Canpar |
    | canadapost | Canada Post |
    | bpost | Belgian Post |
    | boxknight | BoxKnight |
    | australiapost | Australia Post |
    | asendia_us | Asendia US |
    | aramex | Aramex |
    | amazon_shipping | AmazonShipping |
    | allied_express_local | Allied Express Local |
    | allied_express | Allied Express |

    ---
    ## Services
    The following service level codes can be used to reference specific rates
    when purchasing shipping labels using single call label creation.
    You can also find all of the possible service levels for each of your carrier
    accounts by using [this endpoint](#operation/&&get_services).
    ### Zoom2u
    | Code         | Service Name |
    | ------------ | ------------ |
    | zoom2u_VIP | VIP |
    | zoom2u_3_hour | 3 hour |
    | zoom2u_same_day | Same day |

    ### USPS Web Tools International
    | Code         | Service Name |
    | ------------ | ------------ |
    | usps_first_class | First Class |
    | usps_first_class_commercial | First Class Commercial |
    | usps_first_class_hfp_commercial | First Class HFPCommercial |
    | usps_priority | Priority |
    | usps_priority_commercial | Priority Commercial |
    | usps_priority_cpp | Priority Cpp |
    | usps_priority_hfp_commercial | Priority HFP Commercial |
    | usps_priority_hfp_cpp | Priority HFP CPP |
    | usps_priority_mail_express | Priority Mail Express |
    | usps_priority_mail_express_commercial | Priority Mail Express Commercial |
    | usps_priority_mail_express_cpp | Priority Mail Express CPP |
    | usps_priority_mail_express_sh | Priority Mail Express Sh |
    | usps_priority_mail_express_sh_commercial | Priority Mail Express ShCommercial |
    | usps_priority_mail_express_hfp | Priority Mail Express HFP |
    | usps_priority_mail_express_hfp_commercial | Priority Mail Express HFP Commercial |
    | usps_priority_mail_express_hfp_cpp | Priority Mail Express HFP CPP |
    | usps_priority_mail_cubic | Priority Mail Cubic |
    | usps_retail_ground | Retail Ground |
    | usps_media | Media |
    | usps_library | Library |
    | usps_all | All |
    | usps_online | Online |
    | usps_plus | Plus |
    | usps_bpm | BPM |

    ### USPS Web Tools
    | Code         | Service Name |
    | ------------ | ------------ |
    | usps_first_class | First Class |
    | usps_first_class_commercial | First Class Commercial |
    | usps_first_class_hfp_commercial | First Class HFPCommercial |
    | usps_priority | Priority |
    | usps_priority_commercial | Priority Commercial |
    | usps_priority_cpp | Priority Cpp |
    | usps_priority_hfp_commercial | Priority HFP Commercial |
    | usps_priority_hfp_cpp | Priority HFP CPP |
    | usps_priority_mail_express | Priority Mail Express |
    | usps_priority_mail_express_commercial | Priority Mail Express Commercial |
    | usps_priority_mail_express_cpp | Priority Mail Express CPP |
    | usps_priority_mail_express_sh | Priority Mail Express Sh |
    | usps_priority_mail_express_sh_commercial | Priority Mail Express ShCommercial |
    | usps_priority_mail_express_hfp | Priority Mail Express HFP |
    | usps_priority_mail_express_hfp_commercial | Priority Mail Express HFP Commercial |
    | usps_priority_mail_express_hfp_cpp | Priority Mail Express HFP CPP |
    | usps_priority_mail_cubic | Priority Mail Cubic |
    | usps_retail_ground | Retail Ground |
    | usps_media | Media |
    | usps_library | Library |
    | usps_all | All |
    | usps_online | Online |
    | usps_plus | Plus |
    | usps_bpm | BPM |
    | usps_ground_advantage | Ground Advantage |
    | usps_ground_advantage_commercial | Ground Advantage Commercial |
    | usps_ground_advantage_hfp | Ground Advantage HFP |
    | usps_ground_advantage_hfp_commercial | Ground Advantage HFP Commercial |
    | usps_ground_advantage_cubic | Ground Advantage Cubic |

    ### USPS International
    | Code         | Service Name |
    | ------------ | ------------ |
    | usps_first_class_package_international_service | FIRST-CLASS_PACKAGE_INTERNATIONAL_SERVICE |
    | usps_priority_mail_international | PRIORITY_MAIL_INTERNATIONAL |
    | usps_priority_mail_express_international | PRIORITY_MAIL_EXPRESS_INTERNATIONAL |
    | usps_global_express_guaranteed | GLOBAL_EXPRESS_GUARANTEED |
    | usps_all | ALL |

    ### USPS
    | Code         | Service Name |
    | ------------ | ------------ |
    | usps_standard_service | USPS Standard Service |
    | usps_parcel_select | PARCEL_SELECT |
    | usps_parcel_select_lightweight | PARCEL_SELECT_LIGHTWEIGHT |
    | usps_priority_mail_express | PRIORITY_MAIL_EXPRESS |
    | usps_priority_mail | PRIORITY_MAIL |
    | usps_first_class_package_service | FIRST-CLASS_PACKAGE_SERVICE |
    | usps_library_mail | LIBRARY_MAIL |
    | usps_media_mail | MEDIA_MAIL |
    | usps_bound_printed_matter | BOUND_PRINTED_MATTER |
    | usps_connect_local | USPS_CONNECT_LOCAL |
    | usps_connect_mail | USPS_CONNECT_MAIL |
    | usps_connect_next_day | USPS_CONNECT_NEXT_DAY |
    | usps_connect_regional | USPS_CONNECT_REGIONAL |
    | usps_connect_same_day | USPS_CONNECT_SAME_DAY |
    | usps_ground_advantage | USPS_GROUND_ADVANTAGE |
    | usps_retail_ground | USPS_RETAIL_GROUND |
    | usps_all | ALL |

    ### UPS
    | Code         | Service Name |
    | ------------ | ------------ |
    | ups_standard | UPS Standard |
    | ups_worldwide_express | UPS Worldwide Express |
    | ups_worldwide_expedited | UPS Worldwide Expedited |
    | ups_worldwide_express_plus | UPS Worldwide Express Plus |
    | ups_worldwide_saver | UPS Worldwide Saver |
    | ups_2nd_day_air | UPS 2nd Day Air |
    | ups_2nd_day_air_am | UPS 2nd Day Air A.M. |
    | ups_3_day_select | UPS 3 Day Select |
    | ups_ground | UPS Ground |
    | ups_next_day_air | UPS Next Day Air |
    | ups_next_day_air_early | UPS Next Day Air Early |
    | ups_next_day_air_saver | UPS Next Day Air Saver |
    | ups_expedited_ca | UPS Expedited CA |
    | ups_express_saver_ca | UPS Express Saver CA |
    | ups_3_day_select_ca_us | UPS 3 Day Select CA US |
    | ups_access_point_economy_ca | UPS Access Point Economy CA |
    | ups_express_ca | UPS Express CA |
    | ups_express_early_ca | UPS Express Early CA |
    | ups_express_saver_intl_ca | UPS Express Saver Intl CA |
    | ups_standard_ca | UPS Standard CA |
    | ups_worldwide_expedited_ca | UPS Worldwide Expedited CA |
    | ups_worldwide_express_ca | UPS Worldwide Express CA |
    | ups_worldwide_express_plus_ca | UPS Worldwide Express Plus CA |
    | ups_express_early_ca_us | UPS Express Early CA US |
    | ups_access_point_economy_eu | UPS Access Point Economy EU |
    | ups_expedited_eu | UPS Expedited EU |
    | ups_express_eu | UPS Express EU |
    | ups_standard_eu | UPS Standard EU |
    | ups_worldwide_express_plus_eu | UPS Worldwide Express Plus EU |
    | ups_worldwide_saver_eu | UPS Worldwide Saver EU |
    | ups_access_point_economy_mx | UPS Access Point Economy MX |
    | ups_expedited_mx | UPS Expedited MX |
    | ups_express_mx | UPS Express MX |
    | ups_standard_mx | UPS Standard MX |
    | ups_worldwide_express_plus_mx | UPS Worldwide Express Plus MX |
    | ups_worldwide_saver_mx | UPS Worldwide Saver MX |
    | ups_access_point_economy_pl | UPS Access Point Economy PL |
    | ups_today_dedicated_courrier_pl | UPS Today Dedicated Courrier PL |
    | ups_today_express_pl | UPS Today Express PL |
    | ups_today_express_saver_pl | UPS Today Express Saver PL |
    | ups_today_standard_pl | UPS Today Standard PL |
    | ups_expedited_pl | UPS Expedited PL |
    | ups_express_pl | UPS Express PL |
    | ups_express_plus_pl | UPS Express Plus PL |
    | ups_express_saver_pl | UPS Express Saver PL |
    | ups_standard_pl | UPS Standard PL |
    | ups_2nd_day_air_pr | UPS 2nd Day Air PR |
    | ups_ground_pr | UPS Ground PR |
    | ups_next_day_air_pr | UPS Next Day Air PR |
    | ups_next_day_air_early_pr | UPS Next Day Air Early PR |
    | ups_worldwide_expedited_pr | UPS Worldwide Expedited PR |
    | ups_worldwide_express_pr | UPS Worldwide Express PR |
    | ups_worldwide_express_plus_pr | UPS Worldwide Express Plus PR |
    | ups_worldwide_saver_pr | UPS Worldwide Saver PR |
    | ups_express_12_00_de | UPS Express 12:00 DE |
    | ups_worldwide_express_freight | UPS Worldwide Express Freight |
    | ups_worldwide_express_freight_midday | UPS Worldwide Express Freight Midday |
    | ups_worldwide_economy_ddu | UPS Worldwide Economy DDU |
    | ups_worldwide_economy_ddp | UPS Worldwide Economy DDP |

    ### TNT
    | Code         | Service Name |
    | ------------ | ------------ |
    | tnt_special_express | 1N |
    | tnt_9_00_express | 09N |
    | tnt_10_00_express | 10N |
    | tnt_12_00_express | 12N |
    | tnt_express | EX |
    | tnt_economy_express | 48N |
    | tnt_global_express | 15N |

    ### TGE
    | Code         | Service Name |
    | ------------ | ------------ |
    | tge_freight_service | X |

    ### Sendle
    | Code         | Service Name |
    | ------------ | ------------ |
    | sendle_standard_pickup | STANDARD-PICKUP |
    | sendle_standard_dropoff | STANDARD-DROPOFF |
    | sendle_express_pickup | EXPRESS-PICKUP |

    ### SEKO Logistics
    | Code         | Service Name |
    | ------------ | ------------ |
    | seko_ecommerce_standard_tracked | eCommerce Standard Tracked |
    | seko_ecommerce_express_tracked | eCommerce Express Tracked |
    | seko_domestic_express | Domestic Express |
    | seko_domestic_standard | Domestic Standard |
    | seko_domestic_large_parcel | Domestic Large Parcel |

    ### SAPIENT
    | Code         | Service Name |
    | ------------ | ------------ |
    | sapient_royal_mail_hm_forces_mail | BF1 |
    | sapient_royal_mail_hm_forces_signed_for | BF2 |
    | sapient_royal_mail_hm_forces_special_delivery_500 | BF7 |
    | sapient_royal_mail_hm_forces_special_delivery_1000 | BF8 |
    | sapient_royal_mail_hm_forces_special_delivery_2500 | BF9 |
    | sapient_royal_mail_international_business_personal_correspondence_max_sort_residue_ll | BG1 |
    | sapient_royal_mail_international_business_mail_ll_max_sort_residue_standard | BG2 |
    | sapient_royal_mail_international_business_personal_correspondence_max_sort_residue_l | BP1 |
    | sapient_royal_mail_international_business_mail_l_max_sort_residue_standard | BP2 |
    | sapient_royal_mail_international_business_printed_matter_packet | BPI |
    | sapient_royal_mail_1st_class | BPL1 |
    | sapient_royal_mail_2nd_class | BPL2 |
    | sapient_royal_mail_1st_class_signed_for | BPR1 |
    | sapient_royal_mail_2nd_class_signed_for | BPR2 |
    | sapient_royal_mail_international_business_parcel_priority_country_priced_boxable | BXB |
    | sapient_royal_mail_international_business_parcel_tracked_country_priced_boxable_extra_comp | BXC |
    | sapient_royal_mail_international_business_parcel_priority_country_priced_boxable_ddp | BXD |
    | sapient_royal_mail_international_business_parcel_tracked_country_priced_boxable_ddp | BXE |
    | sapient_royal_mail_international_business_parcel_tracked_country_priced_boxable | BXF |
    | sapient_royal_mail_24_standard_signed_for_parcel_daily_rate_service | CRL1 |
    | sapient_royal_mail_48_standard_signed_for_parcel_daily_rate_service | CRL2 |
    | sapient_royal_mail_international_business_parcels_zero_sort_priority | DE4 |
    | sapient_royal_mail_international_business_parcels_zero_sort_priority_DE | DE6 |
    | sapient_royal_mail_de_import_standard_24_parcel | DEA |
    | sapient_royal_mail_de_import_standard_24_parcel_DE | DEB |
    | sapient_royal_mail_de_import_standard_24_ll | DEC |
    | sapient_royal_mail_de_import_standard_48_ll | DED |
    | sapient_royal_mail_de_import_to_eu_tracked_signed_ll | DEE |
    | sapient_royal_mail_de_import_to_eu_max_sort_ll | DEG |
    | sapient_royal_mail_de_import_to_eu_tracked_parcel | DEI |
    | sapient_royal_mail_de_import_to_eu_tracked_signed_parcel | DEJ |
    | sapient_royal_mail_de_import_to_eu_tracked_high_vol_ll | DEK |
    | sapient_royal_mail_de_import_to_eu_max_sort_parcel | DEM |
    | sapient_royal_mail_international_business_mail_ll_country_priced_priority | DG4 |
    | sapient_royal_mail_international_business_personal_correspondence_l_priority_untracked | DP3 |
    | sapient_royal_mail_international_business_mail_ll_country_sort_priority | DP6 |
    | sapient_royal_mail_international_business_parcels | DW1 |
    | sapient_royal_mail_international_business_parcels_tracked_country_priced_extra_territorial_office_of_exchange | ETA |
    | sapient_royal_mail_international_business_parcels_tracked_signed_country_priced_extra_territorial_office_of_exchange | ETB |
    | sapient_royal_mail_international_business_parcels_zero_sort_priority_extra_territorial_office_of_exchange | ETC |
    | sapient_royal_mail_international_business_mail_tracked_ll_country_priced_extra_territorial_office_of_exchange | ETD |
    | sapient_royal_mail_international_business_mail_tracked_signed_ll_country_priced_extra_territorial_office_of_exchange | ETE |
    | sapient_royal_mail_international_business_mail_ll_country_priced_priority_extra_territorial_office_of_exchange | ETF |
    | sapient_royal_mail_international_tracked_parcels_0_30kg_extra_territorial_office_of_exchange_e | ETG |
    | sapient_royal_mail_international_tracked_parcels_0_30kg_extra_comp_extra_territorial_office_of_exchange_e | ETH |
    | sapient_royal_mail_international_tracked_parcels_0_30kg_extra_territorial_office_of_exchange_c | ETI |
    | sapient_royal_mail_international_tracked_parcels_0_30kg_extra_comp_extra_territorial_office_of_exchange_c | ETJ |
    | sapient_royal_mail_international_business_personal_correspondence_l_priority_untracked_extra_territorial_office_of_exchange | ETK |
    | sapient_royal_mail_international_business_personal_correspondence_l_tracked_high_vol_country_priced_extra_territorial_office_of_exchange | ETL |
    | sapient_royal_mail_international_business_personal_correspondence_l_tracked_signed_high_vol_country_priced_extra_territorial_office_of_exchange | ETM |
    | sapient_royal_mail_international_business_personal_correspondence_signed_l_high_vol_country_priced_extra_territorial_office_of_exchange | ETN |
    | sapient_royal_mail_international_business_personal_correspondence_ll_country_sort_priority_extra_territorial_office_of_exchange | ETO |
    | sapient_royal_mail_international_business_personal_correspondence_tracked_ll_high_vol_extra_comp_country_priced_extra_territorial_office_of_exchange | ETP |
    | sapient_royal_mail_international_business_personal_correspondence_tracked_signed_ll_high_vol_extra_comp_country_priced_extra_territorial_office_of_exchange | ETQ |
    | sapient_royal_mail_international_business_personal_correspondence_signed_ll_extra_compensation_country_priced_extra_territorial_office_of_exchange | ETR |
    | sapient_royal_mail_24_standard_signed_for_large_letter_flat_rate_service | FS1 |
    | sapient_royal_mail_48_standard_signed_for_large_letter_flat_rate_service | FS2 |
    | sapient_royal_mail_24_presorted_ll | FS7 |
    | sapient_royal_mail_48_presorted_ll | FS8 |
    | sapient_royal_mail_international_tracked_parcels_0_30kg | HVB |
    | sapient_royal_mail_international_business_tracked_express_npc | HVD |
    | sapient_royal_mail_international_tracked_parcels_0_30kg_extra_comp | HVE |
    | sapient_royal_mail_international_tracked_parcels_0_30kg_c_prio | HVK |
    | sapient_royal_mail_international_tracked_parcels_0_30kg_xcomp_c_prio | HVL |
    | sapient_royal_mail_international_business_parcels_zone_sort_priority_service | IE1 |
    | sapient_royal_mail_international_business_mail_large_letter_zone_sort_priority | IG1 |
    | sapient_royal_mail_international_business_mail_large_letter_zone_sort_priority_machine | IG4 |
    | sapient_royal_mail_international_business_mail_letters_zone_sort_priority | IP1 |
    | sapient_royal_mail_import_de_tracked_returns_24 | ITA |
    | sapient_royal_mail_import_de_tracked_returns_48 | ITB |
    | sapient_royal_mail_import_de_tracked_24_letter_boxable_high_volume | ITC |
    | sapient_royal_mail_import_de_tracked_48_letter_boxable_high_volume | ITD |
    | sapient_royal_mail_import_de_tracked_48_letter_boxable | ITE |
    | sapient_royal_mail_import_de_tracked_24_letter_boxable | ITF |
    | sapient_royal_mail_import_de_tracked_48_high_volume | ITL |
    | sapient_royal_mail_import_de_tracked_24_high_volume | ITM |
    | sapient_royal_mail_import_de_tracked_24 | ITN |
    | sapient_royal_mail_de_import_to_eu_signed_parcel | ITR |
    | sapient_royal_mail_import_de_tracked_48 | ITS |
    | sapient_royal_mail_international_business_parcels_print_direct_priority | MB1 |
    | sapient_royal_mail_international_business_parcels_print_direct_standard | MB2 |
    | sapient_royal_mail_international_business_parcels_signed_extra_compensation_country_priced | MP0 |
    | sapient_royal_mail_international_business_parcels_tracked_zone_sort | MP1 |
    | sapient_royal_mail_international_business_parcels_tracked_extra_comp_zone_sort | MP4 |
    | sapient_royal_mail_international_business_parcels_signed_zone_sort | MP5 |
    | sapient_royal_mail_international_business_parcels_signed_extra_compensation_zone_sort | MP6 |
    | sapient_royal_mail_international_business_parcels_tracked_country_priced | MP7 |
    | sapient_royal_mail_international_business_parcels_tracked_extra_comp_country_priced | MP8 |
    | sapient_royal_mail_international_business_parcels_signed_country_priced | MP9 |
    | sapient_royal_mail_international_business_mail_tracked_high_vol_country_priced | MPL |
    | sapient_royal_mail_international_business_mail_tracked_signed_high_vol_country_priced | MPM |
    | sapient_royal_mail_international_business_mail_signed_high_vol_country_priced | MPN |
    | sapient_royal_mail_international_business_mail_tracked_high_vol_extra_comp_country_priced | MPO |
    | sapient_royal_mail_international_business_mail_tracked_signed_high_vol_extra_comp_country_priced | MPP |
    | sapient_royal_mail_international_business_parcel_tracked_boxable_country_priced | MPR |
    | sapient_royal_mail_international_business_parcels_tracked_signed_zone_sort | MTA |
    | sapient_royal_mail_international_business_parcels_tracked_signed_extra_compensation_zone_sort | MTB |
    | sapient_royal_mail_international_business_mail_tracked_signed_zone_sort | MTC |
    | sapient_royal_mail_international_business_parcels_tracked_signed_country_priced | MTE |
    | sapient_royal_mail_international_business_parcels_tracked_signed_extra_compensation_country_priced | MTF |
    | sapient_royal_mail_international_business_mail_tracked_signed_country_priced | MTG |
    | sapient_royal_mail_international_business_mail_tracked_zone_sort | MTI |
    | sapient_royal_mail_international_business_mail_tracked_country_priced | MTK |
    | sapient_royal_mail_international_business_mail_signed_zone_sort | MTM |
    | sapient_royal_mail_international_business_mail_signed_country_priced | MTO |
    | sapient_royal_mail_international_business_mail_signed_extra_compensation_country_priced | MTP |
    | sapient_royal_mail_international_business_parcels_tracked_direct_ireland_country | MTS |
    | sapient_royal_mail_international_business_parcels_tracked_signed_ddp | MTV |
    | sapient_royal_mail_international_standard_on_account | OLA |
    | sapient_royal_mail_international_economy_on_account | OLS |
    | sapient_royal_mail_international_signed_on_account | OSA |
    | sapient_royal_mail_international_signed_on_account_extra_comp | OSB |
    | sapient_royal_mail_international_tracked_on_account | OTA |
    | sapient_royal_mail_international_tracked_on_account_extra_comp | OTB |
    | sapient_royal_mail_international_tracked_signed_on_account | OTC |
    | sapient_royal_mail_international_tracked_signed_on_account_extra_comp | OTD |
    | sapient_royal_mail_48_ll_flat_rate | PK0 |
    | sapient_royal_mail_24_standard_signed_for_parcel_sort8_flat_rate_service | PK1 |
    | sapient_royal_mail_48_standard_signed_for_parcel_sort8_flat_rate_service | PK2 |
    | sapient_royal_mail_24_standard_signed_for_parcel_sort8_daily_rate_service | PK3 |
    | sapient_royal_mail_48_standard_signed_for_parcel_sort8_daily_rate_service | PK4 |
    | sapient_royal_mail_24_presorted_p | PK7 |
    | sapient_royal_mail_48_presorted_p | PK8 |
    | sapient_royal_mail_24_ll_flat_rate | PK9 |
    | sapient_royal_mail_rm24_presorted_p_annual_flat_rate | PKB |
    | sapient_royal_mail_rm48_presorted_p_annual_flat_rate | PKD |
    | sapient_royal_mail_rm48_presorted_ll_annual_flat_rate | PKK |
    | sapient_royal_mail_rm24_presorted_ll_annual_flat_rate | PKM |
    | sapient_royal_mail_24_standard_signed_for_packetpost_flat_rate_service | PPF1 |
    | sapient_royal_mail_48_standard_signed_for_packetpost_flat_rate_service | PPF2 |
    | sapient_royal_mail_parcelpost_flat_rate_annual | PPJ1 |
    | sapient_royal_mail_parcelpost_flat_rate_annual_PPJ | PPJ2 |
    | sapient_royal_mail_rm24_ll_annual_flat_rate | PPS |
    | sapient_royal_mail_rm48_ll_annual_flat_rate | PPT |
    | sapient_royal_mail_international_business_personal_correspondence_max_sort_l | PS5 |
    | sapient_royal_mail_international_business_mail_large_letter_max_sort_priority_service | PS7 |
    | sapient_royal_mail_international_business_mail_letters_max_sort_standard | PSA |
    | sapient_royal_mail_international_business_mail_large_letter_max_sort_standard_service | PSB |
    | sapient_royal_mail_48_sort8p_annual_flat_rate | RM0 |
    | sapient_royal_mail_24_ll_daily_rate | RM1 |
    | sapient_royal_mail_24_p_daily_rate | RM2 |
    | sapient_royal_mail_48_ll_daily_rate | RM3 |
    | sapient_royal_mail_48_p_daily_rate | RM4 |
    | sapient_royal_mail_24_p_flat_rate | RM5 |
    | sapient_royal_mail_48_p_flat_rate | RM6 |
    | sapient_royal_mail_24_sort8_ll_annual_flat_rate | RM7 |
    | sapient_royal_mail_24_sort8_p_annual_flat_rate | RM8 |
    | sapient_royal_mail_48_sort8_ll_annual_flat_rate | RM9 |
    | sapient_royal_mail_special_delivery_guaranteed_by_1pm_750 | SD1 |
    | sapient_royal_mail_special_delivery_guaranteed_by_1pm_1000 | SD2 |
    | sapient_royal_mail_special_delivery_guaranteed_by_1pm_2500 | SD3 |
    | sapient_royal_mail_special_delivery_guaranteed_by_9am_750 | SD4 |
    | sapient_royal_mail_special_delivery_guaranteed_by_9am_1000 | SD5 |
    | sapient_royal_mail_special_delivery_guaranteed_by_9am_2500 | SD6 |
    | sapient_royal_mail_special_delivery_guaranteed_by_1pm_id_750 | SDA |
    | sapient_royal_mail_special_delivery_guaranteed_by_1pm_id_1000 | SDB |
    | sapient_royal_mail_special_delivery_guaranteed_by_1pm_id_2500 | SDC |
    | sapient_royal_mail_special_delivery_guaranteed_by_9am_id_750 | SDE |
    | sapient_royal_mail_special_delivery_guaranteed_by_9am_id_1000 | SDF |
    | sapient_royal_mail_special_delivery_guaranteed_by_9am_id_2500 | SDG |
    | sapient_royal_mail_special_delivery_guaranteed_by_1pm_age_750 | SDH |
    | sapient_royal_mail_special_delivery_guaranteed_by_1pm_age_1000 | SDJ |
    | sapient_royal_mail_special_delivery_guaranteed_by_1pm_age_2500 | SDK |
    | sapient_royal_mail_special_delivery_guaranteed_by_9am_age_750 | SDM |
    | sapient_royal_mail_special_delivery_guaranteed_by_9am_age_1000 | SDN |
    | sapient_royal_mail_special_delivery_guaranteed_by_9am_age_2500 | SDQ |
    | sapient_royal_mail_special_delivery_guaranteed_age_750 | SDV |
    | sapient_royal_mail_special_delivery_guaranteed_age_1000 | SDW |
    | sapient_royal_mail_special_delivery_guaranteed_age_2500 | SDX |
    | sapient_royal_mail_special_delivery_guaranteed_id_750 | SDY |
    | sapient_royal_mail_special_delivery_guaranteed_id_1000 | SDZ |
    | sapient_royal_mail_special_delivery_guaranteed_id_2500 | SEA |
    | sapient_royal_mail_special_delivery_guaranteed_750 | SEB |
    | sapient_royal_mail_special_delivery_guaranteed_1000 | SEC |
    | sapient_royal_mail_special_delivery_guaranteed_2500 | SED |
    | sapient_royal_mail_1st_class_standard_signed_for_letters_daily_rate_service | STL1 |
    | sapient_royal_mail_2nd_class_standard_signed_for_letters_daily_rate_service | STL2 |
    | sapient_royal_mail_tracked_24_high_volume_signature_age | TPA |
    | sapient_royal_mail_tracked_48_high_volume_signature_age | TPB |
    | sapient_royal_mail_tracked_24_signature_age | TPC |
    | sapient_royal_mail_tracked_48_signature_age | TPD |
    | sapient_royal_mail_tracked_48_high_volume_signature_no_signature | TPL |
    | sapient_royal_mail_tracked_24_high_volume_signature_no_signature | TPM |
    | sapient_royal_mail_tracked_24_signature_no_signature | TPN |
    | sapient_royal_mail_tracked_48_signature_no_signature | TPS |
    | sapient_royal_mail_tracked_letter_boxable_48_high_volume_signature_no_signature | TRL |
    | sapient_royal_mail_tracked_letter_boxable_24_high_volume_signature_no_signature | TRM |
    | sapient_royal_mail_tracked_letter_boxable_24_signature_no_signature | TRN |
    | sapient_royal_mail_tracked_letter_boxable_48_signature_no_signature | TRS |
    | sapient_royal_mail_tracked_returns_24 | TSN |
    | sapient_royal_mail_tracked_returns_48 | TSS |
    | sapient_royal_mail_international_business_parcels_zero_sort_priority_WE | WE1 |
    | sapient_royal_mail_international_business_mail_large_letter_zero_sort_priority | WG1 |
    | sapient_royal_mail_international_business_mail_large_letter_zero_sort_priority_machine | WG4 |
    | sapient_royal_mail_international_business_mail_letters_zero_sort_priority | WP1 |

    ### Roadie
    | Code         | Service Name |
    | ------------ | ------------ |
    | roadie_local_delivery | Roadie Local Delivery |

    ### Purolator
    | Code         | Service Name |
    | ------------ | ------------ |
    | purolator_express_9_am | PurolatorExpress9AM |
    | purolator_express_us | PurolatorExpressU.S. |
    | purolator_express_10_30_am | PurolatorExpress10:30AM |
    | purolator_express_us_9_am | PurolatorExpressU.S.9AM |
    | purolator_express_12_pm | PurolatorExpress12PM |
    | purolator_express_us_10_30_am | PurolatorExpressU.S.10:30AM |
    | purolator_express | PurolatorExpress |
    | purolator_express_us_12_00 | PurolatorExpressU.S.12:00 |
    | purolator_express_evening | PurolatorExpressEvening |
    | purolator_express_envelope_us | PurolatorExpressEnvelopeU.S. |
    | purolator_express_envelope_9_am | PurolatorExpressEnvelope9AM |
    | purolator_express_us_envelope_9_am | PurolatorExpressU.S.Envelope9AM |
    | purolator_express_envelope_10_30_am | PurolatorExpressEnvelope10:30AM |
    | purolator_express_us_envelope_10_30_am | PurolatorExpressU.S.Envelope10:30AM |
    | purolator_express_envelope_12_pm | PurolatorExpressEnvelope12PM |
    | purolator_express_us_envelope_12_00 | PurolatorExpressU.S.Envelope12:00 |
    | purolator_express_envelope | PurolatorExpressEnvelope |
    | purolator_express_pack_us | PurolatorExpressPackU.S. |
    | purolator_express_envelope_evening | PurolatorExpressEnvelopeEvening |
    | purolator_express_us_pack_9_am | PurolatorExpressU.S.Pack9AM |
    | purolator_express_pack_9_am | PurolatorExpressPack9AM |
    | purolator_express_us_pack_10_30_am | PurolatorExpressU.S.Pack10:30AM |
    | purolator_express_pack10_30_am | PurolatorExpressPack10:30AM |
    | purolator_express_us_pack_12_00 | PurolatorExpressU.S.Pack12:00 |
    | purolator_express_pack_12_pm | PurolatorExpressPack12PM |
    | purolator_express_box_us | PurolatorExpressBoxU.S. |
    | purolator_express_pack | PurolatorExpressPack |
    | purolator_express_us_box_9_am | PurolatorExpressU.S.Box9AM |
    | purolator_express_pack_evening | PurolatorExpressPackEvening |
    | purolator_express_us_box_10_30_am | PurolatorExpressU.S.Box10:30AM |
    | purolator_express_box_9_am | PurolatorExpressBox9AM |
    | purolator_express_us_box_12_00 | PurolatorExpressU.S.Box12:00 |
    | purolator_express_box_10_30_am | PurolatorExpressBox10:30AM |
    | purolator_ground_us | PurolatorGroundU.S. |
    | purolator_express_box_12_pm | PurolatorExpressBox12PM |
    | purolator_express_international | PurolatorExpressInternational |
    | purolator_express_box | PurolatorExpressBox |
    | purolator_express_international_9_am | PurolatorExpressInternational9AM |
    | purolator_express_box_evening | PurolatorExpressBoxEvening |
    | purolator_express_international_10_30_am | PurolatorExpressInternational10:30AM |
    | purolator_ground | PurolatorGround |
    | purolator_express_international_12_00 | PurolatorExpressInternational12:00 |
    | purolator_ground_9_am | PurolatorGround9AM |
    | purolator_express_envelope_international | PurolatorExpressEnvelopeInternational |
    | purolator_ground_10_30_am | PurolatorGround10:30AM |
    | purolator_express_international_envelope_9_am | PurolatorExpressInternationalEnvelope9AM |
    | purolator_ground_evening | PurolatorGroundEvening |
    | purolator_express_international_envelope_10_30_am | PurolatorExpressInternationalEnvelope10:30AM |
    | purolator_quick_ship | PurolatorQuickShip |
    | purolator_express_international_envelope_12_00 | PurolatorExpressInternationalEnvelope12:00 |
    | purolator_quick_ship_envelope | PurolatorQuickShipEnvelope |
    | purolator_express_pack_international | PurolatorExpressPackInternational |
    | purolator_quick_ship_pack | PurolatorQuickShipPack |
    | purolator_express_international_pack_9_am | PurolatorExpressInternationalPack9AM |
    | purolator_quick_ship_box | PurolatorQuickShipBox |
    | purolator_express_international_pack_10_30_am | PurolatorExpressInternationalPack10:30AM |
    | purolator_express_international_pack_12_00 | PurolatorExpressInternationalPack12:00 |
    | purolator_express_box_international | PurolatorExpressBoxInternational |
    | purolator_express_international_box_9_am | PurolatorExpressInternationalBox9AM |
    | purolator_express_international_box_10_30_am | PurolatorExpressInternationalBox10:30AM |
    | purolator_express_international_box_12_00 | PurolatorExpressInternationalBox12:00 |

    ### Locate2u
    | Code         | Service Name |
    | ------------ | ------------ |
    | locate2u_local_delivery | Locate2u Local Delivery |

    ### HayPost
    | Code         | Service Name |
    | ------------ | ------------ |
    | letter_ordered | 88 |
    | letter_simple | 79 |
    | letter_valued | 89 |
    | package_ordered | 93 |
    | package_simple | 92 |
    | package_valued | 100 |
    | parcel_simple | 94 |
    | parcel_valued | 95 |
    | postcard_ordered | 91 |
    | postcard_simple | 90 |
    | sekogram_simple | 96 |
    | sprint_simple | 97 |
    | yes_ordered_value | 99 |

    ### GEODIS
    | Code         | Service Name |
    | ------------ | ------------ |
    | geodis_EXP | EXP |
    | geodis_MES | MES |
    | geodis_express_france | NTX |
    | geodis_retour_trans_fr_messagerie_plus | ENL |

    ### Freightcom
    | Code         | Service Name |
    | ------------ | ------------ |
    | freightcom_all | 0 |
    | freightcom_usf_holland | 1911 |
    | freightcom_central_transport | 2029 |
    | freightcom_estes | 2107 |
    | freightcom_canpar_ground | 3400 |
    | freightcom_canpar_select | 3404 |
    | freightcom_canpar_overnight | 3407 |
    | freightcom_dicom_ground | 3700 |
    | freightcom_purolator_ground | 4000 |
    | freightcom_purolator_express | 4003 |
    | freightcom_purolator_express_9_am | 4004 |
    | freightcom_purolator_express_10_30_am | 4005 |
    | freightcom_purolator_ground_us | 4016 |
    | freightcom_purolator_express_us | 4015 |
    | freightcom_purolator_express_us_9_am | 4013 |
    | freightcom_purolator_express_us_10_30_am | 4014 |
    | freightcom_fedex_express_saver | 4100 |
    | freightcom_fedex_ground | 4101 |
    | freightcom_fedex_2day | 4102 |
    | freightcom_fedex_priority_overnight | 4104 |
    | freightcom_fedex_standard_overnight | 4105 |
    | freightcom_fedex_first_overnight | 4106 |
    | freightcom_fedex_international_priority | 4108 |
    | freightcom_fedex_international_economy | 4109 |
    | freightcom_ups_standard | 4600 |
    | freightcom_ups_expedited | 4601 |
    | freightcom_ups_express_saver | 4602 |
    | freightcom_ups_express | 4603 |
    | freightcom_ups_express_early | 4604 |
    | freightcom_ups_3day_select | 4605 |
    | freightcom_ups_worldwide_expedited | 4606 |
    | freightcom_ups_worldwide_express | 4607 |
    | freightcom_ups_worldwide_express_plus | 4608 |
    | freightcom_ups_worldwide_express_saver | 4609 |
    | freightcom_dhl_express_easy | 5202 |
    | freightcom_dhl_express_10_30 | 5208 |
    | freightcom_dhl_express_worldwide | 5211 |
    | freightcom_dhl_express_12_00 | 5215 |
    | freightcom_dhl_economy_select | 5216 |
    | freightcom_dhl_ecommerce_am_service | 5706 |
    | freightcom_dhl_ecommerce_ground_service | 5707 |
    | freightcom_canadapost_regular_parcel | 6301 |
    | freightcom_canadapost_expedited_parcel | 6300 |
    | freightcom_canadapost_xpresspost | 6303 |
    | freightcom_canadapost_priority | 6302 |

    ### FedEx Web Service
    | Code         | Service Name |
    | ------------ | ------------ |
    | fedex_europe_first_international_priority | EUROPE_FIRST_INTERNATIONAL_PRIORITY |
    | fedex_1_day_freight | FEDEX_1_DAY_FREIGHT |
    | fedex_2_day | FEDEX_2_DAY |
    | fedex_2_day_am | FEDEX_2_DAY_AM |
    | fedex_2_day_freight | FEDEX_2_DAY_FREIGHT |
    | fedex_3_day_freight | FEDEX_3_DAY_FREIGHT |
    | fedex_cargo_airport_to_airport | FEDEX_CARGO_AIRPORT_TO_AIRPORT |
    | fedex_cargo_freight_forwarding | FEDEX_CARGO_FREIGHT_FORWARDING |
    | fedex_cargo_international_express_freight | FEDEX_CARGO_INTERNATIONAL_EXPRESS_FREIGHT |
    | fedex_cargo_international_premium | FEDEX_CARGO_INTERNATIONAL_PREMIUM |
    | fedex_cargo_mail | FEDEX_CARGO_MAIL |
    | fedex_cargo_registered_mail | FEDEX_CARGO_REGISTERED_MAIL |
    | fedex_cargo_surface_mail | FEDEX_CARGO_SURFACE_MAIL |
    | fedex_custom_critical_air_expedite | FEDEX_CUSTOM_CRITICAL_AIR_EXPEDITE |
    | fedex_custom_critical_air_expedite_exclusive_use | FEDEX_CUSTOM_CRITICAL_AIR_EXPEDITE_EXCLUSIVE_USE |
    | fedex_custom_critical_air_expedite_network | FEDEX_CUSTOM_CRITICAL_AIR_EXPEDITE_NETWORK |
    | fedex_custom_critical_charter_air | FEDEX_CUSTOM_CRITICAL_CHARTER_AIR |
    | fedex_custom_critical_point_to_point | FEDEX_CUSTOM_CRITICAL_POINT_TO_POINT |
    | fedex_custom_critical_surface_expedite | FEDEX_CUSTOM_CRITICAL_SURFACE_EXPEDITE |
    | fedex_custom_critical_surface_expedite_exclusive_use | FEDEX_CUSTOM_CRITICAL_SURFACE_EXPEDITE_EXCLUSIVE_USE |
    | fedex_custom_critical_temp_assure_air | FEDEX_CUSTOM_CRITICAL_TEMP_ASSURE_AIR |
    | fedex_custom_critical_temp_assure_validated_air | FEDEX_CUSTOM_CRITICAL_TEMP_ASSURE_VALIDATED_AIR |
    | fedex_custom_critical_white_glove_services | FEDEX_CUSTOM_CRITICAL_WHITE_GLOVE_SERVICES |
    | fedex_distance_deferred | FEDEX_DISTANCE_DEFERRED |
    | fedex_express_saver | FEDEX_EXPRESS_SAVER |
    | fedex_first_freight | FEDEX_FIRST_FREIGHT |
    | fedex_freight_economy | FEDEX_FREIGHT_ECONOMY |
    | fedex_freight_priority | FEDEX_FREIGHT_PRIORITY |
    | fedex_ground | FEDEX_GROUND |
    | fedex_international_priority_plus | FEDEX_INTERNATIONAL_PRIORITY_PLUS |
    | fedex_next_day_afternoon | FEDEX_NEXT_DAY_AFTERNOON |
    | fedex_next_day_early_morning | FEDEX_NEXT_DAY_EARLY_MORNING |
    | fedex_next_day_end_of_day | FEDEX_NEXT_DAY_END_OF_DAY |
    | fedex_next_day_freight | FEDEX_NEXT_DAY_FREIGHT |
    | fedex_next_day_mid_morning | FEDEX_NEXT_DAY_MID_MORNING |
    | fedex_first_overnight | FIRST_OVERNIGHT |
    | fedex_ground_home_delivery | GROUND_HOME_DELIVERY |
    | fedex_international_distribution_freight | INTERNATIONAL_DISTRIBUTION_FREIGHT |
    | fedex_international_economy | INTERNATIONAL_ECONOMY |
    | fedex_international_economy_distribution | INTERNATIONAL_ECONOMY_DISTRIBUTION |
    | fedex_international_economy_freight | INTERNATIONAL_ECONOMY_FREIGHT |
    | fedex_international_first | INTERNATIONAL_FIRST |
    | fedex_international_ground | INTERNATIONAL_GROUND |
    | fedex_international_priority | INTERNATIONAL_PRIORITY |
    | fedex_international_priority_distribution | INTERNATIONAL_PRIORITY_DISTRIBUTION |
    | fedex_international_priority_express | INTERNATIONAL_PRIORITY_EXPRESS |
    | fedex_international_priority_freight | INTERNATIONAL_PRIORITY_FREIGHT |
    | fedex_priority_overnight | PRIORITY_OVERNIGHT |
    | fedex_same_day | SAME_DAY |
    | fedex_same_day_city | SAME_DAY_CITY |
    | fedex_same_day_metro_afternoon | SAME_DAY_METRO_AFTERNOON |
    | fedex_same_day_metro_morning | SAME_DAY_METRO_MORNING |
    | fedex_same_day_metro_rush | SAME_DAY_METRO_RUSH |
    | fedex_smart_post | SMART_POST |
    | fedex_standard_overnight | STANDARD_OVERNIGHT |
    | fedex_transborder_distribution_consolidation | TRANSBORDER_DISTRIBUTION_CONSOLIDATION |

    ### FedEx
    | Code         | Service Name |
    | ------------ | ------------ |
    | fedex_international_priority_express | FEDEX_INTERNATIONAL_PRIORITY_EXPRESS |
    | fedex_international_first | INTERNATIONAL_FIRST |
    | fedex_international_priority | FEDEX_INTERNATIONAL_PRIORITY |
    | fedex_international_economy | INTERNATIONAL_ECONOMY |
    | fedex_ground | FEDEX_GROUND |
    | fedex_cargo_mail | FEDEX_CARGO_MAIL |
    | fedex_cargo_international_premium | FEDEX_CARGO_INTERNATIONAL_PREMIUM |
    | fedex_first_overnight | FIRST_OVERNIGHT |
    | fedex_first_overnight_freight | FIRST_OVERNIGHT_FREIGHT |
    | fedex_1_day_freight | FEDEX_1_DAY_FREIGHT |
    | fedex_2_day_freight | FEDEX_2_DAY_FREIGHT |
    | fedex_3_day_freight | FEDEX_3_DAY_FREIGHT |
    | fedex_international_priority_freight | INTERNATIONAL_PRIORITY_FREIGHT |
    | fedex_international_economy_freight | INTERNATIONAL_ECONOMY_FREIGHT |
    | fedex_cargo_airport_to_airport | FEDEX_CARGO_AIRPORT_TO_AIRPORT |
    | fedex_international_priority_distribution | INTERNATIONAL_PRIORITY_DISTRIBUTION |
    | fedex_ip_direct_distribution_freight | FEDEX_IP_DIRECT_DISTRIBUTION_FREIGHT |
    | fedex_intl_ground_distribution | INTL_GROUND_DISTRIBUTION |
    | fedex_ground_home_delivery | GROUND_HOME_DELIVERY |
    | fedex_smart_post | SMART_POST |
    | fedex_priority_overnight | PRIORITY_OVERNIGHT |
    | fedex_standard_overnight | STANDARD_OVERNIGHT |
    | fedex_2_day | FEDEX_2_DAY |
    | fedex_2_day_am | FEDEX_2_DAY_AM |
    | fedex_express_saver | FEDEX_EXPRESS_SAVER |
    | fedex_same_day | SAME_DAY |
    | fedex_same_day_city | SAME_DAY_CITY |
    | fedex_one_day_freight | FEDEX_ONE_DAY_FREIGHT |
    | fedex_international_economy_distribution | INTERNATIONAL_ECONOMY_DISTRIBUTION |
    | fedex_international_connect_plus | FEDEX_INTERNATIONAL_CONNECT_PLUS |
    | fedex_international_distribution_freight | INTERNATIONAL_DISTRIBUTION_FREIGHT |
    | fedex_regional_economy | FEDEX_REGIONAL_ECONOMY |
    | fedex_next_day_freight | FEDEX_NEXT_DAY_FREIGHT |
    | fedex_next_day | FEDEX_NEXT_DAY |
    | fedex_next_day_10am | FEDEX_NEXT_DAY_10AM |
    | fedex_next_day_12pm | FEDEX_NEXT_DAY_12PM |
    | fedex_next_day_end_of_day | FEDEX_NEXT_DAY_END_OF_DAY |
    | fedex_distance_deferred | FEDEX_DISTANCE_DEFERRED |

    ### eShipper
    | Code         | Service Name |
    | ------------ | ------------ |
    | eshipper_fedex_2day_freight | 2Day Freight |
    | eshipper_fedex_3day_freight | 3Day Freight |
    | eshipper_sameday_9_am_guaranteed | 9:AM GUARANTEED |
    | eshipper_project44_a_duie_pyle | A Duie Pyle` |
    | eshipper_project44_aaa_cooper_transportation | AAA Cooper Transportation`` |
    | eshipper_project44_aberdeen_express | Aberdeen Express` |
    | eshipper_project44_abf_freight | ABF Freight`` |
    | eshipper_project44_abfs | ABFS |
    | eshipper_sameday_am_service | AM Service |
    | eshipper_apex_trucking | Apex Trucking |
    | eshipper_project44_averitt_express | Averitt Express` |
    | eshipper_project44_brown_transfer_company | BROWN TRANSFER COMPANY` |
    | eshipper_canada_worldwide_next_flight_out | Canada Worldwide Next Flight Out |
    | eshipper_project44_central_freight_lines | Central Freight Lines` |
    | eshipper_project44_central_transport | Central Transport`` |
    | eshipper_project44_chicago_suburban_express | Chicago Suburban Express` |
    | eshipper_project44_clear_lane_freight | Clear Lane Freight` |
    | eshipper_project44_con_way_freight | Con-way Freight` |
    | eshipper_project44_conway_freight | Con-way Freight`` |
    | eshipper_project44_crosscountry_courier | Crosscountry Courier` |
    | eshipper_project44_day_ross | Day & Ross |
    | eshipper_day_and_ross | DAY AND ROSS |
    | eshipper_day_ross_r_and_l | DAY AND ROSS (R AND L) |
    | eshipper_project44_daylight_transport | Daylight Transport`` |
    | eshipper_project44_dayton_freight_lines | Dayton Freight Lines` |
    | eshipper_project44_dependable_highway_express | Dependable Highway Express`` |
    | eshipper_dhl_ground | DHL Ground |
    | eshipper_smarte_post_int_l_dhl_packet_international | DHL Packet International |
    | eshipper_smarte_post_int_l_dhl_parcel_international_direct | DHL Parcel International Direct |
    | eshipper_smarte_post_int_l_dhl_parcel_international_standard | DHL Parcel International Standard |
    | eshipper_project44_dohrn_transfer_company | Dohrn Transfer Company` |
    | eshipper_project44_dugan_truck_line | Dugan Truck Line` |
    | eshipper_aramex_economy_document_express | Economy Document Express |
    | eshipper_aramex_economy_parcel_express | Economy Parcel Express |
    | eshipper_envoi_same_day_delivery | Envoi - Same Day Delivery |
    | eshipper_dhl_esi_export | ESI Export |
    | eshipper_project44_estes_express_lines | Estes`` |
    | eshipper_ups_expedited | Expedited |
    | eshipper_project44_expedited_freight_systems | Expedited Freight Systems` |
    | eshipper_ups_express | Express |
    | eshipper_dhl_express_1030am | Express 1030AM |
    | eshipper_dhl_express_12pm | Express 12PM |
    | eshipper_dhl_express_9am | EXPRESS 9:00 |
    | eshipper_dhl_express_envelope | Express Envelope |
    | eshipper_canpar_express_letter | Express Letter |
    | eshipper_canpar_express_pak | Express Pak |
    | eshipper_canpar_express_parcel | Express Parcel |
    | eshipper_dhl_express_worldwide | Express Worldwide |
    | eshipper_fastfrate_rail | RAIL |
    | eshipper_fedex_2nd_day | Fedex 2nd Day |
    | eshipper_fedex_economy | Fedex Economy |
    | eshipper_fedex_first_overnight | Fedex First Overnight |
    | eshipper_project44_fedex_freight_canada | Fedex Freight Canada` |
    | eshipper_project44_fedex_freight_east | FedEx Freight East` |
    | eshipper_fedex_freight_economy | FedEx Freight Economy |
    | eshipper_project44_fedex_freight_national_canada | FedEx Freight National Canada |
    | eshipper_project44_fedex_freight_national_usa | FedEx Freight National USA |
    | eshipper_fedex_freight_priority | FedEx Freight Priority |
    | eshipper_project44_fedex_freight_usa | Fedex Freight USA |
    | eshipper_fedex_ground | Fedex Ground |
    | eshipper_fedex_international_connect_plus | FedEx Intl Connect Plus |
    | eshipper_fedex_intl_economy | Fedex Intl Economy |
    | eshipper_fedex_intl_economy_freight | Fedex Intl Economy Freight |
    | eshipper_fedex_intl_priority | Fedex Intl Priority |
    | eshipper_fedex_intl_priority_express | Fedex Intl Priority Express |
    | eshipper_fedex_intl_priority_freight | Fedex Intl Priority Freight |
    | eshipper_project44_fedex_national | FedEx National` |
    | eshipper_fedex_priority | Fedex Priority |
    | eshipper_fedex_standard_overnight | Fedex Standard Overnight |
    | eshipper_project44_forwardair | ForwardAir` |
    | eshipper_project44_frontline_freight | Frontline Freight` |
    | eshipper_ups_ground | Ground |
    | eshipper_sameday_ground_service | GROUND SERVICE |
    | eshipper_sameday_h1_deliver_to_curbside | H1 Deliver to Curbside |
    | eshipper_sameday_h3_delivery_packaging_removal | H3 Delivery & Packaging Removal |
    | eshipper_sameday_h4_delivery_to_curbside | H4 Delivery to Curbside |
    | eshipper_sameday_h5_delivery_to_room_of_choice_2_man | H5 Delivery to Room of Choice - 2 man |
    | eshipper_sameday_h6_delivery_packaging_removal_2_man | H6 Delivery & packaging Removal - 2 man |
    | eshipper_project44_holland_motor_express | Holland Motor Express` |
    | eshipper_dhl_import_express | Import Express |
    | eshipper_dhl_import_express_12pm | Import Express 12PM |
    | eshipper_dhl_import_express_9am | Import Express 9AM |
    | eshipper_project44_jp_express | J.P. Express`` |
    | eshipper_kindersley_expedited | Kindersley Expedited |
    | eshipper_kindersley_rail | Kindersley Rail * |
    | eshipper_kindersley_regular | Kindersley Regular |
    | eshipper_kindersley_road | Kindersley Road * |
    | eshipper_project44_lakeville_motor_express | Lakeville Motor Express` |
    | eshipper_day_ross_ltl | LTL |
    | eshipper_sameday_ltl_service | LTL SERVICE |
    | eshipper_mainliner_road | Mainliner Road |
    | eshipper_project44_manitoulin_tlx_inc | MANITOULIN TLX INC` |
    | eshipper_project44_midwest_motor_express | Midwest Motor Express` |
    | eshipper_mo_rail | MO Rail |
    | eshipper_project44_monroe_transportation_services | Monroe Transportation Services` |
    | eshipper_project44_mountain_valley_express | Mountain Valley Express`` |
    | eshipper_project44_n_m_transfer | N&M Transfer` |
    | eshipper_project44_new_england_motor_freight | New England Motor Freight` |
    | eshipper_project44_new_penn_motor_express | New Penn Motor Express` |
    | eshipper_project44_oak_harbor_freight | Oak Harbor Freight`` |
    | eshipper_project44_old_dominion_freight | Old Dominion Freight`` |
    | eshipper_project44_pitt_ohio | Pitt Ohio`` |
    | eshipper_sameday_pm_service | PM SERVICE |
    | eshipper_project44_polaris | Polaris |
    | eshipper_aramex_priority_letter_express | Priority Letter Express |
    | eshipper_aramex_priority_parcel_express | Priority Parcel Express |
    | eshipper_purolator_express | Purolator Express |
    | eshipper_purolator_express_1030 | Purolator Express 1030 |
    | eshipper_purolator_express_9am | Purolator Express 9AM |
    | eshipper_purolator_expresscheque | Purolator ExpressCheque |
    | eshipper_purolator_ground | Purolator Ground |
    | eshipper_purolator_ground_1030 | Purolator Ground 1030 |
    | eshipper_purolator_ground_9am | Purolator Ground 9AM |
    | eshipper_purolator | Puroletter |
    | eshipper_purolator_10_30 | Puroletter 10:30 |
    | eshipper_purolator_9am | Puroletter 9AM |
    | eshipper_purolator_puropak | PuroPak |
    | eshipper_purolator_puropak_10_30 | PuroPak 10:30 |
    | eshipper_purolator_puropak_9am | PuroPak 9AM |
    | eshipper_project44_rl_carriers | R+L Carriers`` |
    | eshipper_project44_roadrunner_transportation_services | Roadrunner Transportation Systems`` |
    | eshipper_project44_saia_ltl_freight | Saia LTL Freight`` |
    | eshipper_project44_saia_motor_freight | SAIA Motor Freight` |
    | eshipper_ups_second_day_air_a_m | Second Day Air A.M. |
    | eshipper_canpar_select_letter | Select Letter |
    | eshipper_canpar_select_pak | Select Pak |
    | eshipper_canpar_select_parcel | Select Parcel |
    | eshipper_project44_southeastern_freight_lines | SouthEastern Freight`` |
    | eshipper_project44_southwestern_motor_transport | Southwestern Motor Transport` |
    | eshipper_speedy | Speedy |
    | eshipper_ups_standard | Standard |
    | eshipper_project44_standard_forwarding | Standard Forwarding` |
    | eshipper_tforce_freight_ltl | TForce Freight LTL |
    | eshipper_tforce_freight_ltl_guaranteed | TForce Freight LTL - Guaranteed |
    | eshipper_tforce_freight_ltl_guaranteed_a_m | TForce Freight LTL - Guaranteed A.M. |
    | eshipper_tforce_standard_ltl | TForce Standard LTL |
    | eshipper_ups_three_day_select | Three-Day Select |
    | eshipper_project44_total_transportation_distribution | Total Transportation & Distribution` |
    | eshipper_project44_tst_overland_express | TST Overland Express |
    | eshipper_project44_ups | UPS`` |
    | eshipper_ups_freight | UPS-Freight |
    | eshipper_ups_freight_canada | UPS Freight Canada |
    | eshipper_ups_saver | UPS Saver |
    | eshipper_sameday_urgent_letter | URGENT LETTER |
    | eshipper_sameday_urgent_pac | URGENT PAC |
    | eshipper_canpar_usa | USA |
    | eshipper_project44_usf_reddaway | USF Reddaway` |
    | eshipper_ods_usps_light_weight_parcel_budget | USPS Light Weight Parcel Budget |
    | eshipper_ods_usps_light_weight_parcel_expedited | USPS Light Weight Parcel Expedited |
    | eshipper_ods_usps_parcel_select_budget | USPS Parcel Select Budget |
    | eshipper_ods_usps_parcel_select_expedited | USPS Parcel Select Expedited |
    | eshipper_project44_valley_cartage | Valley Cartage` |
    | eshipper_project44_vision_express_ltl | Vision Express LTL` |
    | eshipper_project44_ward_trucking | WARD Trucking`` |
    | eshipper_western_canada_rail | Western Canada Rail |
    | eshipper_ups_worldwide_expedited | Worldwide Expedited |
    | eshipper_ups_worldwide_express | Worldwide Express |
    | eshipper_project44_xpo_logistics | XPO Logistics |
    | eshipper_project44_xpress_global_systems | Xpress Global Systems |
    | eshipper_canadapost_xpress_post | Xpress Post |
    | eshipper_project44_yrc | YRC` |
    | eshipper_canadapost_air_parcel_intl | Air Parcel Intl |
    | eshipper_canadapost_expedited_parcel_usa | Expedited Parcel USA |
    | eshipper_canadapost_priority_courier | Priority Courier |
    | eshipper_canadapost_regular | Regular |
    | eshipper_canadapost_small_packet | Small Packet |
    | eshipper_canadapost_small_packet_international_air | Small Packet International Air |
    | eshipper_canadapost_small_packet_international_surface | Small Packet International Surface |
    | eshipper_canadapost_surface_parcel_intl | Surface Parcel Intl |
    | eshipper_canadapost_xpress_post_intl | Xpress Post Intl |
    | eshipper_canadapost_xpress_post_usa | Xpress Post USA |
    | eshipper_canpar_international | International |
    | eshipper_canpar_usa_select_letter | USA Select Letter |
    | eshipper_canpar_usa_select_pak | USA Select Pak |
    | eshipper_canpar_usa_select_parcel | USA Select Parcel |
    | eshipper_cpx_canada_post | Canada Post |
    | eshipper_dhl_economy_select | ECONOMY SELECT |
    | eshipper_apex_v | Apex - V |
    | eshipper_apex_trucking_v | Apex Trucking-V |
    | eshipper_kingsway_road | Kingsway Road |
    | eshipper_m_o_eastbound | M-O Eastbound |
    | eshipper_national_fastfreight_rail | National Fastfreight Rail |
    | eshipper_national_fastfreight_road | National Fastfreight Road |
    | eshipper_vitran_rail | Vitran Rail |
    | eshipper_vitran_road | Vitran Road |
    | eshipper_fedex_ground_us | Fedex Ground US |
    | eshipper_fedex_international_priority | FedEx International Priority |
    | eshipper_fedex_international_priority_express | FedEx International Priority Express |
    | eshipper_project44_day_ross_v | Day & Ross-V |
    | eshipper_project44_purolator_freight | Purolator Freight |
    | eshipper_project44_r_l_carriers | R+L Carriers` |
    | eshipper_pyk_ground_advantage | Ground Advantage |
    | eshipper_usps_priority_mail | Priority Mail |
    | eshipper_skip | Skip |
    | eshipper_smarte_post_intl_dhl_parcel_international_direct_ngr | DHL Parcel International Direct (NGR) |
    | eshipper_smarte_post_intl_global_mail_business_priority | GLOBAL Mail Business Priority |
    | eshipper_smarte_post_intl_global_mail_business_standard | GLOBAL Mail Business Standard |
    | eshipper_smarte_post_intl_global_mail_packet_plus_priority | Global Mail Packet Plus Priority |
    | eshipper_smarte_post_intl_global_mail_packet_priority | Global Mail Packet Priority |
    | eshipper_smarte_post_intl_global_mail_packet_standard | GLOBAL Mail Packet Standard |
    | eshipper_smarte_post_intl_global_mail_parcel_direct_priority_yyz | Global Mail Parcel Direct Priority (YYZ) |
    | eshipper_smarte_post_intl_global_mail_parcel_direct_standard_yyz | Global Mail Parcel Direct Standard (YYZ) |
    | eshipper_smarte_post_intl_global_mail_parcel_priority | Global Mail Parcel Priority |
    | eshipper_smarte_post_intl_global_mail_parcel_standard | Global Mail Parcel Standard |
    | eshipper_ups_express_early_am | Express Early AM |
    | eshipper_ups_worldwide_express_plus | Worldwide Express Plus |
    | eshipper_usps_first_class_package_return_service | First-Class Package Return Service |
    | eshipper_usps_library_mail | Library Mail |
    | eshipper_usps_media_mail | Media Mail |
    | eshipper_usps_parcel_select | Parcel Select |
    | eshipper_usps_pbx | PBX |
    | eshipper_usps_pbx_lightweight | PBX Lightweight |
    | eshipper_usps_priority_mail_express | Priority Mail Express |
    | eshipper_usps_priority_mail_open_and_distribute | Priority Mail Open AND Distribute |
    | eshipper_usps_priority_mail_return_service | Priority Mail Return Service |
    | eshipper_usps_retail_ground_formerly_standard_post | Retail Ground (formerly Standard Post) |

    ### Easyship
    | Code         | Service Name |
    | ------------ | ------------ |
    | easyship_aramex_parcel | Parcel |
    | easyship_sfexpress_domestic | Domestic |
    | easyship_hkpost_speedpost | Speedpost |
    | easyship_hkpost_air_mail_tracking | Air Mail Tracking |
    | easyship_hkpost_eexpress | EExpress |
    | easyship_hkpost_air_parcel | Air Parcel  |
    | easyship_sfexpress_mail | Mail  |
    | easyship_hkpost_local_parcel | Local Parcel |
    | easyship_ups_saver_net_battery | SaverNet Battery |
    | easyship_ups_worldwide_saver | Worldwide Saver® |
    | easyship_hkpost_air_parcel_xp | Air Parcel XP |
    | easyship_singpost_airmail | Airmail |
    | easyship_simplypost_express | Express |
    | easyship_singpost_e_pack | ePack |
    | easyship_usps_priority_mail_express | Priority Mail Express |
    | easyship_usps_first_class_international | First Class International |
    | easyship_usps_priority_mail_international_express | Priority Mail International Express |
    | easyship_usps_priority_mail_international | Priority Mail International |
    | easyship_fedex_international_priority | InternationalPriority |
    | easyship_usps_ground_advantage | GroundAdvantage |
    | easyship_usps_priority_mail | PriorityMail |
    | easyship_ups_worldwide_express | Worldwide Express® |
    | easyship_ups_ground | Ground |
    | easyship_ups_worldwide_expedited | Worldwide Expedited® |
    | easyship_fedex_international_economy | International Economy® |
    | easyship_fedex_priority_overnight | Priority Overnight® |
    | easyship_fedex_standard_overnight | Standard Overnight® |
    | easyship_fedex_2_day_a_m | 2Day® A.M. |
    | easyship_fedex_2_day | 2Day® |
    | easyship_fedex_express_saver | Express Saver® |
    | easyship_ups_next_day_air | Next Day Air® |
    | easyship_ups_2nd_day_air | 2nd Day Air® |
    | easyship_ups_3_day_select | 3DaySelect |
    | easyship_ups_standard | Standard |
    | easyship_usps_media | Media |
    | easyship_sfexpress_standard_express | Standard Express |
    | easyship_sfexpress_economy_express | Economy Express |
    | easyship_global_post_global_post_economy | GlobalPost Economy |
    | easyship_global_post_global_post_priority | GlobalPost Priority |
    | easyship_singpost_speed_post_priority | SpeedPost Priority |
    | easyship_skypostal_standard_private_delivery | Standard Private Delivery |
    | easyship_tnt_1000_express | 1000Express |
    | easyship_toll_express_parcel | Express Parcel |
    | easyship_sendle_premium_international | Premium International |
    | easyship_sendle_premium_domestic | PremiumDomestic |
    | easyship_sendle_pro_domestic | Pro Domestic |
    | easyship_quantium_e_pac | ePac |
    | easyship_usps_pm_flat_rate | PM Flat Rate |
    | easyship_usps_pmi_flat_rate | PMI Flat Rate |
    | easyship_quantium_mail | Mail |
    | easyship_quantium_international_mail | International Mail |
    | easyship_apc_parcel_connect_expedited | ParcelConnect Expedited |
    | easyship_aramex_epx | EPX |
    | easyship_tnt_road_express | Road Express |
    | easyship_tnt_overnight | Overnight |
    | easyship_usps_pme_flat_rate | PME Flat Rate |
    | easyship_usps_pmei_flat_rate | PMEI Flat Rate |
    | easyship_easyship_cdek_russia | CDEK Russia |
    | easyship_usps_pmei_flat_rate_padded_envelope | PMEI Flat Rate Padded Envelope |
    | easyship_easyship_mate_bike_shipping_services | Mate Bike Shipping Services |
    | easyship_dhl_express_documents | Documents |
    | easyship_evri_uk_home_delivery | UK_HomeDelivery |
    | easyship_evri_home_delivery | HomeDelivery |
    | easyship_dpd_next_day | NextDay |
    | easyship_dpd_classic_parcel | ClassicParcel |
    | easyship_dpd_classic_expresspak | ClassicExpresspak |
    | easyship_dpd_air_classic | AirClassic |
    | easyship_singpost_speed_post_express | SpeedPostExpress |
    | easyship_ups_expedited | Expedited |
    | easyship_tnt_0900_express | 0900Express |
    | easyship_tnt_1200_express | 1200Express |
    | easyship_canadapost_domestic_regular_parcel | Domestic Regular Parcel |
    | easyship_canadapost_domestic_expedited_parcel | Domestic Expedited Parcel |
    | easyship_canadapost_domestic_xpresspost_domestic | Domestic Xpresspost Domestic |
    | easyship_canadapost_domestic_priority | Domestic Priority |
    | easyship_canadapost_usa_small_packet_air | USA Small Packet Air |
    | easyship_canadapost_usa_expedited_parcel | USA Expedited Parcel |
    | easyship_canadapost_usa_tracked_parcel | USA Tracked Parcel |
    | easyship_canadapost_usa_xpresspost | USA Xpresspost |
    | easyship_canadapost_international_xpresspost | International Xpresspost |
    | easyship_canadapost_international_small_packet_air | International Small Packet Air |
    | easyship_canadapost_international_tracked_packet | International Tracked Packet |
    | easyship_canadapost_international_small_packet_surface | International Small Packet Surface |
    | easyship_canadapost_international_parcel_surface | International Parcel Surface |
    | easyship_canadapost_international_parcel_air | International Parcel Air |
    | easyship_couriersplease_atl | ATL |
    | easyship_couriersplease_signature | Signature |
    | easyship_canpar_international | International |
    | easyship_canpar_usa | USA |
    | easyship_canpar_select_usa | Select USA |
    | easyship_canpar_usa_pak | USA Pak |
    | easyship_canpar_overnight_pak | Overnight Pak |
    | easyship_canpar_select_pak | Select Pak |
    | easyship_canpar_select | Select |
    | easyship_ups_express_saver | ExpressSaver |
    | easyship_ebay_send_sf_express_economy_express | SF Express Economy Express |
    | easyship_ups_worldwide_express_plus | Worldwide Express Plus® |
    | easyship_quantium_intl_priority | IntlPriority |
    | easyship_ups_next_day_air_early | Next Day Air® Early |
    | easyship_ups_next_day_air_saver | Next Day Air Saver® |
    | easyship_ups_2nd_day_air_a_m | 2nd Day Air® A.M. |
    | easyship_fedex_home_delivery | Home Delivery® |
    | easyship_asendia_country_tracked | CountryTracked |
    | easyship_asendia_fully_tracked | FullyTracked |
    | easyship_dhl_express_express_dg | ExpressDG |
    | easyship_fedex_international_priority_dg | InternationalPriorityDG |
    | easyship_colissimo_expert | Expert |
    | easyship_colissimo_access | Access |
    | easyship_mondialrelay_international_home_delivery | InternationalHomeDelivery |
    | easyship_fedex_economy | Economy |
    | easyship_dhl_express_express1200 | Express1200 |
    | easyship_dhl_express_express0900 | Express0900 |
    | easyship_dhl_express_express1800 | Express1800 |
    | easyship_dhl_express_express_worldwide | ExpressWorldwide |
    | easyship_dhl_express_economy_select | EconomySelect |
    | easyship_dhl_express_express1030_international | Express1030International |
    | easyship_dhl_express_domestic_express0900 | DomesticExpress0900 |
    | easyship_dhl_express_domestic_express1200 | DomesticExpress1200 |
    | easyship_evri_lightand_large | LightandLarge |
    | easyship_ninjavan_standard_deliveries | Standard Deliveries |
    | easyship_couriersplease_parcel_tier2 | ParcelTier2 |
    | easyship_skypostal_postal_packet_standard | Postal Packet Standard |
    | easyship_easyshipdemo_basic | Basic |
    | easyship_easyshipdemo_tracked | Tracked |
    | easyship_easyshipdemo_battery | Battery |
    | easyship_dhl_express_domestic_express | DomesticExpress |
    | easyship_fedex_smart_post | SmartPost |
    | easyship_fedex_international_connect_plus | InternationalConnectPlus |
    | easyship_ups_saver_net | SaverNet |
    | easyship_chronopost_chrono_classic | ChronoClassic |
    | easyship_chronopost_chrono_express | ChronoExpress |
    | easyship_chronopost_chrono10 | Chrono10 |
    | easyship_chronopost_chrono13 | Chrono13 |
    | easyship_chronopost_chrono18 | Chrono18 |
    | easyship_omniparcel_parcel_expedited | Parcel Expedited |
    | easyship_omniparcel_parcel_expedited_plus | Parcel Expedited Plus |
    | easyship_evri_home_delivery_domestic | HomeDeliveryDomestic |
    | easyship_evri_home_domestic_postable | HomeDomesticPostable |
    | easyship_skypostal_packet_express | PacketExpress |
    | easyship_parcelforce_express48_large | Express48Large |
    | easyship_parcelforce_express24 | Express24 |
    | easyship_parcelforce_express1000 | Express1000 |
    | easyship_parcelforce_express_am | ExpressAM |
    | easyship_parcelforce_express48 | Express48 |
    | easyship_parcelforce_euro_economy | EuroEconomy |
    | easyship_parcelforce_global_priority | GlobalPriority |
    | easyship_fedex_cross_border_trakpak_worldwide_hermes | TrakpakWorldwideHermes |
    | easyship_fedex_cross_border_trakpak_worldwide | TrakpakWorldwide |
    | easyship_evri_home_domestic_postable_next_day | HomeDomesticPostableNextDay |
    | easyship_dpd_express_pak_next_day | ExpressPakNextDay |
    | easyship_dpd_classic_express_pak | ClassicExpressPak |
    | easyship_evri_light_and_large | LightAndLarge |
    | easyship_evri_home_delivery_domestic_next_day | Home Delivery Domestic NextDay |
    | easyship_evri_home_delivery_eu | HomeDeliveryEU |
    | easyship_asendia_epaq_plus | EpaqPlus |
    | easyship_asendia_epaq_select | EpaqSelect |
    | easyship_usps_lightweight_standard | LightweightStandard |
    | easyship_usps_lightweight_economy | LightweightEconomy |
    | easyship_ups_domestic_express_saver | DomesticExpressSaver |
    | easyship_apg_e_packet | ePacket |
    | easyship_apg_e_packet_plus | ePacketPlus |
    | easyship_couriersplease_ecom_base_kilo | EComBaseKilo |
    | easyship_couriersplease_stdatlbase_kilo | STDATLBaseKilo |
    | easyship_nz_post_international_courier | InternationalCourier |
    | easyship_nz_post_air_small_parcel | AirSmallParcel |
    | easyship_nz_post_tracked_air_satchel | TrackedAirSatchel |
    | easyship_nz_post_economy_parcel | Economy Parcel |
    | easyship_nz_post_parcel_local | ParcelLocal |
    | easyship_dhl_express_express_domestic | ExpressDomestic |
    | easyship_alliedexpress_roadexpress | Roadexpress |
    | easyship_flatexportrate_asendiae_paqselect | AsendiaePAQSelect |
    | easyship_flatexportrate_asendia_country_tracked | AsendiaCountryTracked |
    | easyship_singpost_nsaver | NSaver |
    | easyship_colisprive_home | Home |
    | easyship_osm_domestic_parcel | Domestic Parcel |
    | easyship_malca_amit_door_to_door | Door To Door |
    | easyship_ninjavan_next_day_deliveries | Next Day Deliveries |
    | easyship_asendia_e_paqselect | ePAQSelect |
    | easyship_dpd_classic | Classic |
    | easyship_usps_priority_mail_signature | PriorityMailSignature |
    | easyship_bringer_packet_standard | PacketStandard |
    | easyship_bringer_prime | Prime |
    | easyship_orangeds_expedited_ddp | ExpeditedDDP |
    | easyship_orangeds_expedited_ddu | ExpeditedDDU |
    | easyship_sendle_preferred | Preferred |
    | easyship_ups_ground_saver | GroundSaver |
    | easyship_ups_upsground_saver_us | UPSGroundSaverUS |
    | easyship_passport_priority_delcon_dduewr | PriorityDelconDDUEWR |
    | easyship_passport_priority_delcon_ddpewr | PriorityDelconDDPEWR |
    | easyship_bringer_tracked_parcel | TrackedParcel |
    | easyship_ups_express_early | ExpressEarly |
    | easyship_ups_wolrdwide_express | WolrdwideExpress |

    ### EasyPost
    | Code         | Service Name |
    | ------------ | ------------ |
    | easypost_amazonmws_ups_rates | UPS Rates |
    | easypost_amazonmws_usps_rates | USPS Rates |
    | easypost_amazonmws_fedex_rates | FedEx Rates |
    | easypost_amazonmws_ups_labels | UPS Labels |
    | easypost_amazonmws_usps_labels | USPS Labels |
    | easypost_amazonmws_fedex_labels | FedEx Labels |
    | easypost_amazonmws_ups_tracking | UPS Tracking |
    | easypost_amazonmws_usps_tracking | USPS Tracking |
    | easypost_amazonmws_fedex_tracking | FedEx Tracking |
    | easypost_apc_parcel_connect_book_service | parcelConnectBookService |
    | easypost_apc_parcel_connect_expedited_ddp | parcelConnectExpeditedDDP |
    | easypost_apc_parcel_connect_expedited_ddu | parcelConnectExpeditedDDU |
    | easypost_apc_parcel_connect_priority_ddp | parcelConnectPriorityDDP |
    | easypost_apc_parcel_connect_priority_ddp_delcon | parcelConnectPriorityDDPDelcon |
    | easypost_apc_parcel_connect_priority_ddu | parcelConnectPriorityDDU |
    | easypost_apc_parcel_connect_priority_ddu_delcon | parcelConnectPriorityDDUDelcon |
    | easypost_apc_parcel_connect_priority_ddupqw | parcelConnectPriorityDDUPQW |
    | easypost_apc_parcel_connect_standard_ddu | parcelConnectStandardDDU |
    | easypost_apc_parcel_connect_standard_ddupqw | parcelConnectStandardDDUPQW |
    | easypost_apc_parcel_connect_packet_ddu | parcelConnectPacketDDU |
    | easypost_asendia_pmi | PMI |
    | easypost_asendia_e_packet | ePacket |
    | easypost_asendia_ipa | IPA |
    | easypost_asendia_isal | ISAL |
    | easypost_asendia_us_ads | ADS |
    | easypost_asendia_us_air_freight_inbound | AirFreightInbound |
    | easypost_asendia_us_air_freight_outbound | AirFreightOutbound |
    | easypost_asendia_us_domestic_bound_printer_matter_expedited | AsendiaDomesticBoundPrinterMatterExpedited |
    | easypost_asendia_us_domestic_bound_printer_matter_ground | AsendiaDomesticBoundPrinterMatterGround |
    | easypost_asendia_us_domestic_flats_expedited | AsendiaDomesticFlatsExpedited |
    | easypost_asendia_us_domestic_flats_ground | AsendiaDomesticFlatsGround |
    | easypost_asendia_us_domestic_parcel_ground_over1lb | AsendiaDomesticParcelGroundOver1lb |
    | easypost_asendia_us_domestic_parcel_ground_under1lb | AsendiaDomesticParcelGroundUnder1lb |
    | easypost_asendia_us_domestic_parcel_max_over1lb | AsendiaDomesticParcelMAXOver1lb |
    | easypost_asendia_us_domestic_parcel_max_under1lb | AsendiaDomesticParcelMAXUnder1lb |
    | easypost_asendia_us_domestic_parcel_over1lb_expedited | AsendiaDomesticParcelOver1lbExpedited |
    | easypost_asendia_us_domestic_parcel_under1lb_expedited | AsendiaDomesticParcelUnder1lbExpedited |
    | easypost_asendia_us_domestic_promo_parcel_expedited | AsendiaDomesticPromoParcelExpedited |
    | easypost_asendia_us_domestic_promo_parcel_ground | AsendiaDomesticPromoParcelGround |
    | easypost_asendia_us_bulk_freight | BulkFreight |
    | easypost_asendia_us_business_mail_canada_lettermail | BusinessMailCanadaLettermail |
    | easypost_asendia_us_business_mail_canada_lettermail_machineable | BusinessMailCanadaLettermailMachineable |
    | easypost_asendia_us_business_mail_economy | BusinessMailEconomy |
    | easypost_asendia_us_business_mail_economy_lp_wholesale | BusinessMailEconomyLPWholesale |
    | easypost_asendia_us_business_mail_economy_sp_wholesale | BusinessMailEconomySPWholesale |
    | easypost_asendia_us_business_mail_ipa | BusinessMailIPA |
    | easypost_asendia_us_business_mail_isal | BusinessMailISAL |
    | easypost_asendia_us_business_mail_priority | BusinessMailPriority |
    | easypost_asendia_us_business_mail_priority_lp_wholesale | BusinessMailPriorityLPWholesale |
    | easypost_asendia_us_business_mail_priority_sp_wholesale | BusinessMailPrioritySPWholesale |
    | easypost_asendia_us_marketing_mail_canada_personalized_lcp | MarketingMailCanadaPersonalizedLCP |
    | easypost_asendia_us_marketing_mail_canada_personalized_machineable | MarketingMailCanadaPersonalizedMachineable |
    | easypost_asendia_us_marketing_mail_canada_personalized_ndg | MarketingMailCanadaPersonalizedNDG |
    | easypost_asendia_us_marketing_mail_economy | MarketingMailEconomy |
    | easypost_asendia_us_marketing_mail_ipa | MarketingMailIPA |
    | easypost_asendia_us_marketing_mail_isal | MarketingMailISAL |
    | easypost_asendia_us_marketing_mail_priority | MarketingMailPriority |
    | easypost_asendia_us_publications_canada_lcp | PublicationsCanadaLCP |
    | easypost_asendia_us_publications_canada_ndg | PublicationsCanadaNDG |
    | easypost_asendia_us_publications_economy | PublicationsEconomy |
    | easypost_asendia_us_publications_ipa | PublicationsIPA |
    | easypost_asendia_us_publications_isal | PublicationsISAL |
    | easypost_asendia_us_publications_priority | PublicationsPriority |
    | easypost_asendia_us_epaq_elite | ePAQElite |
    | easypost_asendia_us_epaq_elite_custom | ePAQEliteCustom |
    | easypost_asendia_us_epaq_elite_dap | ePAQEliteDAP |
    | easypost_asendia_us_epaq_elite_ddp | ePAQEliteDDP |
    | easypost_asendia_us_epaq_elite_ddp_oversized | ePAQEliteDDPOversized |
    | easypost_asendia_us_epaq_elite_dpd | ePAQEliteDPD |
    | easypost_asendia_us_epaq_elite_direct_access_canada_ddp | ePAQEliteDirectAccessCanadaDDP |
    | easypost_asendia_us_epaq_elite_oversized | ePAQEliteOversized |
    | easypost_asendia_us_epaq_plus | ePAQPlus |
    | easypost_asendia_us_epaq_plus_custom | ePAQPlusCustom |
    | easypost_asendia_us_epaq_plus_customs_prepaid | ePAQPlusCustomsPrepaid |
    | easypost_asendia_us_epaq_plus_dap | ePAQPlusDAP |
    | easypost_asendia_us_epaq_plus_ddp | ePAQPlusDDP |
    | easypost_asendia_us_epaq_plus_economy | ePAQPlusEconomy |
    | easypost_asendia_us_epaq_plus_wholesale | ePAQPlusWholesale |
    | easypost_asendia_us_epaq_pluse_packet | ePAQPlusePacket |
    | easypost_asendia_us_epaq_pluse_packet_canada_customs_pre_paid | ePAQPlusePacketCanadaCustomsPrePaid |
    | easypost_asendia_us_epaq_pluse_packet_canada_ddp | ePAQPlusePacketCanadaDDP |
    | easypost_asendia_us_epaq_returns_domestic | ePAQReturnsDomestic |
    | easypost_asendia_us_epaq_returns_international | ePAQReturnsInternational |
    | easypost_asendia_us_epaq_select | ePAQSelect |
    | easypost_asendia_us_epaq_select_custom | ePAQSelectCustom |
    | easypost_asendia_us_epaq_select_customs_prepaid_by_shopper | ePAQSelectCustomsPrepaidByShopper |
    | easypost_asendia_us_epaq_select_dap | ePAQSelectDAP |
    | easypost_asendia_us_epaq_select_ddp | ePAQSelectDDP |
    | easypost_asendia_us_epaq_select_ddp_direct_access | ePAQSelectDDPDirectAccess |
    | easypost_asendia_us_epaq_select_direct_access | ePAQSelectDirectAccess |
    | easypost_asendia_us_epaq_select_direct_access_canada_ddp | ePAQSelectDirectAccessCanadaDDP |
    | easypost_asendia_us_epaq_select_economy | ePAQSelectEconomy |
    | easypost_asendia_us_epaq_select_oversized | ePAQSelectOversized |
    | easypost_asendia_us_epaq_select_oversized_ddp | ePAQSelectOversizedDDP |
    | easypost_asendia_us_epaq_select_pmei | ePAQSelectPMEI |
    | easypost_asendia_us_epaq_select_pmei_canada_customs_pre_paid | ePAQSelectPMEICanadaCustomsPrePaid |
    | easypost_asendia_us_epaq_select_pmeipc_postage | ePAQSelectPMEIPCPostage |
    | easypost_asendia_us_epaq_select_pmi | ePAQSelectPMI |
    | easypost_asendia_us_epaq_select_pmi_canada_customs_prepaid | ePAQSelectPMICanadaCustomsPrepaid |
    | easypost_asendia_us_epaq_select_pmi_canada_ddp | ePAQSelectPMICanadaDDP |
    | easypost_asendia_us_epaq_select_pmi_non_presort | ePAQSelectPMINonPresort |
    | easypost_asendia_us_epaq_select_pmipc_postage | ePAQSelectPMIPCPostage |
    | easypost_asendia_us_epaq_standard | ePAQStandard |
    | easypost_asendia_us_epaq_standard_custom | ePAQStandardCustom |
    | easypost_asendia_us_epaq_standard_economy | ePAQStandardEconomy |
    | easypost_asendia_us_epaq_standard_ipa | ePAQStandardIPA |
    | easypost_asendia_us_epaq_standard_isal | ePAQStandardISAL |
    | easypost_asendia_us_epaq_select_pmei_non_presort | ePaqSelectPMEINonPresort |
    | easypost_australiapost_express_post | ExpressPost |
    | easypost_australiapost_express_post_signature | ExpressPostSignature |
    | easypost_australiapost_parcel_post | ParcelPost |
    | easypost_australiapost_parcel_post_signature | ParcelPostSignature |
    | easypost_australiapost_parcel_post_extra | ParcelPostExtra |
    | easypost_australiapost_parcel_post_wine_plus_signature | ParcelPostWinePlusSignature |
    | easypost_axlehire_delivery | AxleHireDelivery |
    | easypost_better_trucks_next_day | NEXT_DAY |
    | easypost_bond_standard | Standard |
    | easypost_canadapost_regular_parcel | RegularParcel |
    | easypost_canadapost_expedited_parcel | ExpeditedParcel |
    | easypost_canadapost_xpresspost | Xpresspost |
    | easypost_canadapost_xpresspost_certified | XpresspostCertified |
    | easypost_canadapost_priority | Priority |
    | easypost_canadapost_library_books | LibraryBooks |
    | easypost_canadapost_expedited_parcel_usa | ExpeditedParcelUSA |
    | easypost_canadapost_priority_worldwide_envelope_usa | PriorityWorldwideEnvelopeUSA |
    | easypost_canadapost_priority_worldwide_pak_usa | PriorityWorldwidePakUSA |
    | easypost_canadapost_priority_worldwide_parcel_usa | PriorityWorldwideParcelUSA |
    | easypost_canadapost_small_packet_usa_air | SmallPacketUSAAir |
    | easypost_canadapost_tracked_packet_usa | TrackedPacketUSA |
    | easypost_canadapost_tracked_packet_usalvm | TrackedPacketUSALVM |
    | easypost_canadapost_xpresspost_usa | XpresspostUSA |
    | easypost_canadapost_xpresspost_international | XpresspostInternational |
    | easypost_canadapost_international_parcel_air | InternationalParcelAir |
    | easypost_canadapost_international_parcel_surface | InternationalParcelSurface |
    | easypost_canadapost_priority_worldwide_envelope_intl | PriorityWorldwideEnvelopeIntl |
    | easypost_canadapost_priority_worldwide_pak_intl | PriorityWorldwidePakIntl |
    | easypost_canadapost_priority_worldwide_parcel_intl | PriorityWorldwideParcelIntl |
    | easypost_canadapost_small_packet_international_air | SmallPacketInternationalAir |
    | easypost_canadapost_small_packet_international_surface | SmallPacketInternationalSurface |
    | easypost_canadapost_tracked_packet_international | TrackedPacketInternational |
    | easypost_canpar_ground | Ground |
    | easypost_canpar_select_letter | SelectLetter |
    | easypost_canpar_select_pak | SelectPak |
    | easypost_canpar_select | Select |
    | easypost_canpar_overnight_letter | OvernightLetter |
    | easypost_canpar_overnight_pak | OvernightPak |
    | easypost_canpar_overnight | Overnight |
    | easypost_canpar_select_usa | SelectUSA |
    | easypost_canpar_usa_pak | USAPak |
    | easypost_canpar_usa_letter | USALetter |
    | easypost_canpar_usa | USA |
    | easypost_canpar_international | International |
    | easypost_cdl_distribution | DISTRIBUTION |
    | easypost_cdl_same_day | Same Day |
    | easypost_courier_express_basic_parcel | BASIC_PARCEL |
    | easypost_couriersplease_domestic_priority_signature | DomesticPrioritySignature |
    | easypost_couriersplease_domestic_priority | DomesticPriority |
    | easypost_couriersplease_domestic_off_peak_signature | DomesticOffPeakSignature |
    | easypost_couriersplease_domestic_off_peak | DomesticOffPeak |
    | easypost_couriersplease_gold_domestic_signature | GoldDomesticSignature |
    | easypost_couriersplease_gold_domestic | GoldDomestic |
    | easypost_couriersplease_australian_city_express_signature | AustralianCityExpressSignature |
    | easypost_couriersplease_australian_city_express | AustralianCityExpress |
    | easypost_couriersplease_domestic_saver_signature | DomesticSaverSignature |
    | easypost_couriersplease_domestic_saver | DomesticSaver |
    | easypost_couriersplease_road_express | RoadExpress |
    | easypost_couriersplease_5_kg_satchel | 5KgSatchel |
    | easypost_couriersplease_3_kg_satchel | 3KgSatchel |
    | easypost_couriersplease_1_kg_satchel | 1KgSatchel |
    | easypost_couriersplease_5_kg_satchel_atl | 5KgSatchelATL |
    | easypost_couriersplease_3_kg_satchel_atl | 3KgSatchelATL |
    | easypost_couriersplease_1_kg_satchel_atl | 1KgSatchelATL |
    | easypost_couriersplease_500_gram_satchel | 500GramSatchel |
    | easypost_couriersplease_500_gram_satchel_atl | 500GramSatchelATL |
    | easypost_couriersplease_25_kg_parcel | 25KgParcel |
    | easypost_couriersplease_10_kg_parcel | 10KgParcel |
    | easypost_couriersplease_5_kg_parcel | 5KgParcel |
    | easypost_couriersplease_3_kg_parcel | 3KgParcel |
    | easypost_couriersplease_1_kg_parcel | 1KgParcel |
    | easypost_couriersplease_500_gram_parcel | 500GramParcel |
    | easypost_couriersplease_500_gram_parcel_atl | 500GramParcelATL |
    | easypost_couriersplease_express_international_priority | ExpressInternationalPriority |
    | easypost_couriersplease_international_saver | InternationalSaver |
    | easypost_couriersplease_international_express_import | InternationalExpressImport |
    | easypost_couriersplease_domestic_tracked | DomesticTracked |
    | easypost_couriersplease_international_economy | InternationalEconomy |
    | easypost_couriersplease_international_standard | InternationalStandard |
    | easypost_couriersplease_international_express | InternationalExpress |
    | easypost_deutschepost_packet_plus | PacketPlus |
    | easypost_deutschepost_uk_priority_packet_plus | PriorityPacketPlus |
    | easypost_deutschepost_uk_priority_packet | PriorityPacket |
    | easypost_deutschepost_uk_priority_packet_tracked | PriorityPacketTracked |
    | easypost_deutschepost_uk_business_mail_registered | BusinessMailRegistered |
    | easypost_deutschepost_uk_standard_packet | StandardPacket |
    | easypost_deutschepost_uk_business_mail_standard | BusinessMailStandard |
    | easypost_dhl_ecom_asia_packet | Packet |
    | easypost_dhl_ecom_asia_parcel_direct | ParcelDirect |
    | easypost_dhl_ecom_asia_parcel_direct_expedited | ParcelDirectExpedited |
    | easypost_dhl_ecom_parcel_expedited | DHLParcelExpedited |
    | easypost_dhl_ecom_parcel_expedited_max | DHLParcelExpeditedMax |
    | easypost_dhl_ecom_parcel_ground | DHLParcelGround |
    | easypost_dhl_ecom_bpm_expedited | DHLBPMExpedited |
    | easypost_dhl_ecom_bpm_ground | DHLBPMGround |
    | easypost_dhl_ecom_parcel_international_direct | DHLParcelInternationalDirect |
    | easypost_dhl_ecom_parcel_international_standard | DHLParcelInternationalStandard |
    | easypost_dhl_ecom_packet_international | DHLPacketInternational |
    | easypost_dhl_ecom_parcel_international_direct_priority | DHLParcelInternationalDirectPriority |
    | easypost_dhl_ecom_parcel_international_direct_standard | DHLParcelInternationalDirectStandard |
    | easypost_dhl_express_break_bulk_economy | BreakBulkEconomy |
    | easypost_dhl_express_break_bulk_express | BreakBulkExpress |
    | easypost_dhl_express_domestic_economy_select | DomesticEconomySelect |
    | easypost_dhl_express_domestic_express | DomesticExpress |
    | easypost_dhl_express_domestic_express1030 | DomesticExpress1030 |
    | easypost_dhl_express_domestic_express1200 | DomesticExpress1200 |
    | easypost_dhl_express_economy_select | EconomySelect |
    | easypost_dhl_express_economy_select_non_doc | EconomySelectNonDoc |
    | easypost_dhl_express_euro_pack | EuroPack |
    | easypost_dhl_express_europack_non_doc | EuropackNonDoc |
    | easypost_dhl_express_express1030 | Express1030 |
    | easypost_dhl_express_express1030_non_doc | Express1030NonDoc |
    | easypost_dhl_express_express1200_non_doc | Express1200NonDoc |
    | easypost_dhl_express_express1200 | Express1200 |
    | easypost_dhl_express_express900 | Express900 |
    | easypost_dhl_express_express900_non_doc | Express900NonDoc |
    | easypost_dhl_express_express_easy | ExpressEasy |
    | easypost_dhl_express_express_easy_non_doc | ExpressEasyNonDoc |
    | easypost_dhl_express_express_envelope | ExpressEnvelope |
    | easypost_dhl_express_express_worldwide | ExpressWorldwide |
    | easypost_dhl_express_express_worldwide_b2_c | ExpressWorldwideB2C |
    | easypost_dhl_express_express_worldwide_b2_c_non_doc | ExpressWorldwideB2CNonDoc |
    | easypost_dhl_express_express_worldwide_ecx | ExpressWorldwideECX |
    | easypost_dhl_express_express_worldwide_non_doc | ExpressWorldwideNonDoc |
    | easypost_dhl_express_freight_worldwide | FreightWorldwide |
    | easypost_dhl_express_globalmail_business | GlobalmailBusiness |
    | easypost_dhl_express_jet_line | JetLine |
    | easypost_dhl_express_jumbo_box | JumboBox |
    | easypost_dhl_express_logistics_services | LogisticsServices |
    | easypost_dhl_express_same_day | SameDay |
    | easypost_dhl_express_secure_line | SecureLine |
    | easypost_dhl_express_sprint_line | SprintLine |
    | easypost_dpd_classic | DPDCLASSIC |
    | easypost_dpd_8_30 | DPD8:30 |
    | easypost_dpd_10_00 | DPD10:00 |
    | easypost_dpd_12_00 | DPD12:00 |
    | easypost_dpd_18_00 | DPD18:00 |
    | easypost_dpd_express | DPDEXPRESS |
    | easypost_dpd_parcelletter | DPDPARCELLETTER |
    | easypost_dpd_parcelletterplus | DPDPARCELLETTERPLUS |
    | easypost_dpd_internationalmail | DPDINTERNATIONALMAIL |
    | easypost_dpd_uk_air_express_international_air | AirExpressInternationalAir |
    | easypost_dpd_uk_air_classic_international_air | AirClassicInternationalAir |
    | easypost_dpd_uk_parcel_sunday | ParcelSunday |
    | easypost_dpd_uk_freight_parcel_sunday | FreightParcelSunday |
    | easypost_dpd_uk_pallet_sunday | PalletSunday |
    | easypost_dpd_uk_pallet_dpd_classic | PalletDpdClassic |
    | easypost_dpd_uk_expresspak_dpd_classic | ExpresspakDpdClassic |
    | easypost_dpd_uk_expresspak_sunday | ExpresspakSunday |
    | easypost_dpd_uk_parcel_dpd_classic | ParcelDpdClassic |
    | easypost_dpd_uk_parcel_dpd_two_day | ParcelDpdTwoDay |
    | easypost_dpd_uk_parcel_dpd_next_day | ParcelDpdNextDay |
    | easypost_dpd_uk_parcel_dpd12 | ParcelDpd12 |
    | easypost_dpd_uk_parcel_dpd10 | ParcelDpd10 |
    | easypost_dpd_uk_parcel_return_to_shop | ParcelReturnToShop |
    | easypost_dpd_uk_parcel_saturday | ParcelSaturday |
    | easypost_dpd_uk_parcel_saturday12 | ParcelSaturday12 |
    | easypost_dpd_uk_parcel_saturday10 | ParcelSaturday10 |
    | easypost_dpd_uk_parcel_sunday12 | ParcelSunday12 |
    | easypost_dpd_uk_freight_parcel_dpd_classic | FreightParcelDpdClassic |
    | easypost_dpd_uk_freight_parcel_sunday12 | FreightParcelSunday12 |
    | easypost_dpd_uk_expresspak_dpd_next_day | ExpresspakDpdNextDay |
    | easypost_dpd_uk_expresspak_dpd12 | ExpresspakDpd12 |
    | easypost_dpd_uk_expresspak_dpd10 | ExpresspakDpd10 |
    | easypost_dpd_uk_expresspak_saturday | ExpresspakSaturday |
    | easypost_dpd_uk_expresspak_saturday12 | ExpresspakSaturday12 |
    | easypost_dpd_uk_expresspak_saturday10 | ExpresspakSaturday10 |
    | easypost_dpd_uk_expresspak_sunday12 | ExpresspakSunday12 |
    | easypost_dpd_uk_pallet_sunday12 | PalletSunday12 |
    | easypost_dpd_uk_pallet_dpd_two_day | PalletDpdTwoDay |
    | easypost_dpd_uk_pallet_dpd_next_day | PalletDpdNextDay |
    | easypost_dpd_uk_pallet_dpd12 | PalletDpd12 |
    | easypost_dpd_uk_pallet_dpd10 | PalletDpd10 |
    | easypost_dpd_uk_pallet_saturday | PalletSaturday |
    | easypost_dpd_uk_pallet_saturday12 | PalletSaturday12 |
    | easypost_dpd_uk_pallet_saturday10 | PalletSaturday10 |
    | easypost_dpd_uk_freight_parcel_dpd_two_day | FreightParcelDpdTwoDay |
    | easypost_dpd_uk_freight_parcel_dpd_next_day | FreightParcelDpdNextDay |
    | easypost_dpd_uk_freight_parcel_dpd12 | FreightParcelDpd12 |
    | easypost_dpd_uk_freight_parcel_dpd10 | FreightParcelDpd10 |
    | easypost_dpd_uk_freight_parcel_saturday | FreightParcelSaturday |
    | easypost_dpd_uk_freight_parcel_saturday12 | FreightParcelSaturday12 |
    | easypost_dpd_uk_freight_parcel_saturday10 | FreightParcelSaturday10 |
    | easypost_epost_courier_service_ddp | CourierServiceDDP |
    | easypost_epost_courier_service_ddu | CourierServiceDDU |
    | easypost_epost_domestic_economy_parcel | DomesticEconomyParcel |
    | easypost_epost_domestic_parcel_bpm | DomesticParcelBPM |
    | easypost_epost_domestic_priority_parcel | DomesticPriorityParcel |
    | easypost_epost_domestic_priority_parcel_bpm | DomesticPriorityParcelBPM |
    | easypost_epost_emi_service | EMIService |
    | easypost_epost_economy_parcel_service | EconomyParcelService |
    | easypost_epost_ipa_service | IPAService |
    | easypost_epost_isal_service | ISALService |
    | easypost_epost_pmi_service | PMIService |
    | easypost_epost_priority_parcel_ddp | PriorityParcelDDP |
    | easypost_epost_priority_parcel_ddu | PriorityParcelDDU |
    | easypost_epost_priority_parcel_delivery_confirmation_ddp | PriorityParcelDeliveryConfirmationDDP |
    | easypost_epost_priority_parcel_delivery_confirmation_ddu | PriorityParcelDeliveryConfirmationDDU |
    | easypost_epost_epacket_service | ePacketService |
    | easypost_estafeta_next_day_by930 | NextDayBy930 |
    | easypost_estafeta_next_day_by1130 | NextDayBy1130 |
    | easypost_estafeta_next_day | NextDay |
    | easypost_estafeta_two_day | TwoDay |
    | easypost_estafeta_ltl | LTL |
    | easypost_fastway_parcel | Parcel |
    | easypost_fastway_satchel | Satchel |
    | easypost_fedex_ground | FEDEX_GROUND |
    | easypost_fedex_2_day | FEDEX_2_DAY |
    | easypost_fedex_2_day_am | FEDEX_2_DAY_AM |
    | easypost_fedex_express_saver | FEDEX_EXPRESS_SAVER |
    | easypost_fedex_standard_overnight | STANDARD_OVERNIGHT |
    | easypost_fedex_first_overnight | FIRST_OVERNIGHT |
    | easypost_fedex_priority_overnight | PRIORITY_OVERNIGHT |
    | easypost_fedex_international_economy | INTERNATIONAL_ECONOMY |
    | easypost_fedex_international_first | INTERNATIONAL_FIRST |
    | easypost_fedex_international_priority | INTERNATIONAL_PRIORITY |
    | easypost_fedex_ground_home_delivery | GROUND_HOME_DELIVERY |
    | easypost_fedex_crossborder_cbec | CBEC |
    | easypost_fedex_crossborder_cbecl | CBECL |
    | easypost_fedex_crossborder_cbecp | CBECP |
    | easypost_fedex_sameday_city_economy_service | EconomyService |
    | easypost_fedex_sameday_city_standard_service | StandardService |
    | easypost_fedex_sameday_city_priority_service | PriorityService |
    | easypost_fedex_sameday_city_last_mile | LastMile |
    | easypost_fedex_smart_post | SMART_POST |
    | easypost_globegistics_pmei | PMEI |
    | easypost_globegistics_ecom_domestic | eComDomestic |
    | easypost_globegistics_ecom_europe | eComEurope |
    | easypost_globegistics_ecom_express | eComExpress |
    | easypost_globegistics_ecom_extra | eComExtra |
    | easypost_globegistics_ecom_ipa | eComIPA |
    | easypost_globegistics_ecom_isal | eComISAL |
    | easypost_globegistics_ecom_pmei_duty_paid | eComPMEIDutyPaid |
    | easypost_globegistics_ecom_pmi_duty_paid | eComPMIDutyPaid |
    | easypost_globegistics_ecom_packet | eComPacket |
    | easypost_globegistics_ecom_packet_ddp | eComPacketDDP |
    | easypost_globegistics_ecom_priority | eComPriority |
    | easypost_globegistics_ecom_standard | eComStandard |
    | easypost_globegistics_ecom_tracked_ddp | eComTrackedDDP |
    | easypost_globegistics_ecom_tracked_ddu | eComTrackedDDU |
    | easypost_gso_early_priority_overnight | EarlyPriorityOvernight |
    | easypost_gso_priority_overnight | PriorityOvernight |
    | easypost_gso_california_parcel_service | CaliforniaParcelService |
    | easypost_gso_saturday_delivery_service | SaturdayDeliveryService |
    | easypost_gso_early_saturday_service | EarlySaturdayService |
    | easypost_hermes_domestic_delivery | DomesticDelivery |
    | easypost_hermes_domestic_delivery_signed | DomesticDeliverySigned |
    | easypost_hermes_international_delivery | InternationalDelivery |
    | easypost_hermes_international_delivery_signed | InternationalDeliverySigned |
    | easypost_interlink_air_classic_international_air | InterlinkAirClassicInternationalAir |
    | easypost_interlink_air_express_international_air | InterlinkAirExpressInternationalAir |
    | easypost_interlink_expresspak1_by10_30 | InterlinkExpresspak1By10:30 |
    | easypost_interlink_expresspak1_by12 | InterlinkExpresspak1By12 |
    | easypost_interlink_expresspak1_next_day | InterlinkExpresspak1NextDay |
    | easypost_interlink_expresspak1_saturday | InterlinkExpresspak1Saturday |
    | easypost_interlink_expresspak1_saturday_by10_30 | InterlinkExpresspak1SaturdayBy10:30 |
    | easypost_interlink_expresspak1_saturday_by12 | InterlinkExpresspak1SaturdayBy12 |
    | easypost_interlink_expresspak1_sunday | InterlinkExpresspak1Sunday |
    | easypost_interlink_expresspak1_sunday_by12 | InterlinkExpresspak1SundayBy12 |
    | easypost_interlink_expresspak5_by10 | InterlinkExpresspak5By10 |
    | easypost_interlink_expresspak5_by10_30 | InterlinkExpresspak5By10:30 |
    | easypost_interlink_expresspak5_by12 | InterlinkExpresspak5By12 |
    | easypost_interlink_expresspak5_next_day | InterlinkExpresspak5NextDay |
    | easypost_interlink_expresspak5_saturday | InterlinkExpresspak5Saturday |
    | easypost_interlink_expresspak5_saturday_by10 | InterlinkExpresspak5SaturdayBy10 |
    | easypost_interlink_expresspak5_saturday_by10_30 | InterlinkExpresspak5SaturdayBy10:30 |
    | easypost_interlink_expresspak5_saturday_by12 | InterlinkExpresspak5SaturdayBy12 |
    | easypost_interlink_expresspak5_sunday | InterlinkExpresspak5Sunday |
    | easypost_interlink_expresspak5_sunday_by12 | InterlinkExpresspak5SundayBy12 |
    | easypost_interlink_freight_by10 | InterlinkFreightBy10 |
    | easypost_interlink_freight_by12 | InterlinkFreightBy12 |
    | easypost_interlink_freight_next_day | InterlinkFreightNextDay |
    | easypost_interlink_freight_saturday | InterlinkFreightSaturday |
    | easypost_interlink_freight_saturday_by10 | InterlinkFreightSaturdayBy10 |
    | easypost_interlink_freight_saturday_by12 | InterlinkFreightSaturdayBy12 |
    | easypost_interlink_freight_sunday | InterlinkFreightSunday |
    | easypost_interlink_freight_sunday_by12 | InterlinkFreightSundayBy12 |
    | easypost_interlink_parcel_by10 | InterlinkParcelBy10 |
    | easypost_interlink_parcel_by10_30 | InterlinkParcelBy10:30 |
    | easypost_interlink_parcel_by12 | InterlinkParcelBy12 |
    | easypost_interlink_parcel_dpd_europe_by_road | InterlinkParcelDpdEuropeByRoad |
    | easypost_interlink_parcel_next_day | InterlinkParcelNextDay |
    | easypost_interlink_parcel_return | InterlinkParcelReturn |
    | easypost_interlink_parcel_return_to_shop | InterlinkParcelReturnToShop |
    | easypost_interlink_parcel_saturday | InterlinkParcelSaturday |
    | easypost_interlink_parcel_saturday_by10 | InterlinkParcelSaturdayBy10 |
    | easypost_interlink_parcel_saturday_by10_30 | InterlinkParcelSaturdayBy10:30 |
    | easypost_interlink_parcel_saturday_by12 | InterlinkParcelSaturdayBy12 |
    | easypost_interlink_parcel_ship_to_shop | InterlinkParcelShipToShop |
    | easypost_interlink_parcel_sunday | InterlinkParcelSunday |
    | easypost_interlink_parcel_sunday_by12 | InterlinkParcelSundayBy12 |
    | easypost_interlink_parcel_two_day | InterlinkParcelTwoDay |
    | easypost_interlink_pickup_parcel_dpd_europe_by_road | InterlinkPickupParcelDpdEuropeByRoad |
    | easypost_lasership_weekend | Weekend |
    | easypost_loomis_ground | LoomisGround |
    | easypost_loomis_express1800 | LoomisExpress1800 |
    | easypost_loomis_express1200 | LoomisExpress1200 |
    | easypost_loomis_express900 | LoomisExpress900 |
    | easypost_lso_ground_early | GroundEarly |
    | easypost_lso_ground_basic | GroundBasic |
    | easypost_lso_priority_basic | PriorityBasic |
    | easypost_lso_priority_early | PriorityEarly |
    | easypost_lso_priority_saturday | PrioritySaturday |
    | easypost_lso_priority2nd_day | Priority2ndDay |
    | easypost_newgistics_parcel_select | ParcelSelect |
    | easypost_newgistics_parcel_select_lightweight | ParcelSelectLightweight |
    | easypost_newgistics_express | Express |
    | easypost_newgistics_first_class_mail | FirstClassMail |
    | easypost_newgistics_priority_mail | PriorityMail |
    | easypost_newgistics_bound_printed_matter | BoundPrintedMatter |
    | easypost_ontrac_sunrise | Sunrise |
    | easypost_ontrac_gold | Gold |
    | easypost_ontrac_on_trac_ground | OnTracGround |
    | easypost_ontrac_palletized_freight | PalletizedFreight |
    | easypost_osm_first | First |
    | easypost_osm_expedited | Expedited |
    | easypost_osm_bpm | BPM |
    | easypost_osm_media_mail | MediaMail |
    | easypost_osm_marketing_parcel | MarketingParcel |
    | easypost_osm_marketing_parcel_tracked | MarketingParcelTracked |
    | easypost_parcll_economy_west | Economy West |
    | easypost_parcll_economy_east | Economy East |
    | easypost_parcll_economy_central | Economy Central |
    | easypost_parcll_economy_northeast | Economy Northeast |
    | easypost_parcll_economy_south | Economy South |
    | easypost_parcll_expedited_west | Expedited West |
    | easypost_parcll_expedited_northeast | Expedited Northeast |
    | easypost_parcll_regional_west | Regional West |
    | easypost_parcll_regional_east | Regional East |
    | easypost_parcll_regional_central | Regional Central |
    | easypost_parcll_regional_northeast | Regional Northeast |
    | easypost_parcll_regional_south | Regional South |
    | easypost_parcll_us_to_canada_economy_west | US to Canada Economy West |
    | easypost_parcll_us_to_canada_economy_central | US to Canada Economy Central |
    | easypost_parcll_us_to_canada_economy_northeast | US to Canada Economy Northeast |
    | easypost_parcll_us_to_europe_economy_west | US to Europe Economy West |
    | easypost_parcll_us_to_europe_economy_northeast | US to Europe Economy Northeast |
    | easypost_purolator_express | PurolatorExpress |
    | easypost_purolator_express12_pm | PurolatorExpress12PM |
    | easypost_purolator_express_pack12_pm | PurolatorExpressPack12PM |
    | easypost_purolator_express_box12_pm | PurolatorExpressBox12PM |
    | easypost_purolator_express_envelope12_pm | PurolatorExpressEnvelope12PM |
    | easypost_purolator_express1030_am | PurolatorExpress1030AM |
    | easypost_purolator_express9_am | PurolatorExpress9AM |
    | easypost_purolator_express_box | PurolatorExpressBox |
    | easypost_purolator_express_box1030_am | PurolatorExpressBox1030AM |
    | easypost_purolator_express_box9_am | PurolatorExpressBox9AM |
    | easypost_purolator_express_box_evening | PurolatorExpressBoxEvening |
    | easypost_purolator_express_box_international | PurolatorExpressBoxInternational |
    | easypost_purolator_express_box_international1030_am | PurolatorExpressBoxInternational1030AM |
    | easypost_purolator_express_box_international1200 | PurolatorExpressBoxInternational1200 |
    | easypost_purolator_express_box_international9_am | PurolatorExpressBoxInternational9AM |
    | easypost_purolator_express_box_us | PurolatorExpressBoxUS |
    | easypost_purolator_express_box_us1030_am | PurolatorExpressBoxUS1030AM |
    | easypost_purolator_express_box_us1200 | PurolatorExpressBoxUS1200 |
    | easypost_purolator_express_box_us9_am | PurolatorExpressBoxUS9AM |
    | easypost_purolator_express_envelope | PurolatorExpressEnvelope |
    | easypost_purolator_express_envelope1030_am | PurolatorExpressEnvelope1030AM |
    | easypost_purolator_express_envelope9_am | PurolatorExpressEnvelope9AM |
    | easypost_purolator_express_envelope_evening | PurolatorExpressEnvelopeEvening |
    | easypost_purolator_express_envelope_international | PurolatorExpressEnvelopeInternational |
    | easypost_purolator_express_envelope_international1030_am | PurolatorExpressEnvelopeInternational1030AM |
    | easypost_purolator_express_envelope_international1200 | PurolatorExpressEnvelopeInternational1200 |
    | easypost_purolator_express_envelope_international9_am | PurolatorExpressEnvelopeInternational9AM |
    | easypost_purolator_express_envelope_us | PurolatorExpressEnvelopeUS |
    | easypost_purolator_express_envelope_us1030_am | PurolatorExpressEnvelopeUS1030AM |
    | easypost_purolator_express_envelope_us1200 | PurolatorExpressEnvelopeUS1200 |
    | easypost_purolator_express_envelope_us9_am | PurolatorExpressEnvelopeUS9AM |
    | easypost_purolator_express_evening | PurolatorExpressEvening |
    | easypost_purolator_express_international | PurolatorExpressInternational |
    | easypost_purolator_express_international1030_am | PurolatorExpressInternational1030AM |
    | easypost_purolator_express_international1200 | PurolatorExpressInternational1200 |
    | easypost_purolator_express_international9_am | PurolatorExpressInternational9AM |
    | easypost_purolator_express_pack | PurolatorExpressPack |
    | easypost_purolator_express_pack1030_am | PurolatorExpressPack1030AM |
    | easypost_purolator_express_pack9_am | PurolatorExpressPack9AM |
    | easypost_purolator_express_pack_evening | PurolatorExpressPackEvening |
    | easypost_purolator_express_pack_international | PurolatorExpressPackInternational |
    | easypost_purolator_express_pack_international1030_am | PurolatorExpressPackInternational1030AM |
    | easypost_purolator_express_pack_international1200 | PurolatorExpressPackInternational1200 |
    | easypost_purolator_express_pack_international9_am | PurolatorExpressPackInternational9AM |
    | easypost_purolator_express_pack_us | PurolatorExpressPackUS |
    | easypost_purolator_express_pack_us1030_am | PurolatorExpressPackUS1030AM |
    | easypost_purolator_express_pack_us1200 | PurolatorExpressPackUS1200 |
    | easypost_purolator_express_pack_us9_am | PurolatorExpressPackUS9AM |
    | easypost_purolator_express_us | PurolatorExpressUS |
    | easypost_purolator_express_us1030_am | PurolatorExpressUS1030AM |
    | easypost_purolator_express_us1200 | PurolatorExpressUS1200 |
    | easypost_purolator_express_us9_am | PurolatorExpressUS9AM |
    | easypost_purolator_ground | PurolatorGround |
    | easypost_purolator_ground1030_am | PurolatorGround1030AM |
    | easypost_purolator_ground9_am | PurolatorGround9AM |
    | easypost_purolator_ground_distribution | PurolatorGroundDistribution |
    | easypost_purolator_ground_evening | PurolatorGroundEvening |
    | easypost_purolator_ground_regional | PurolatorGroundRegional |
    | easypost_purolator_ground_us | PurolatorGroundUS |
    | easypost_royalmail_international_signed | InternationalSigned |
    | easypost_royalmail_international_tracked | InternationalTracked |
    | easypost_royalmail_international_tracked_and_signed | InternationalTrackedAndSigned |
    | easypost_royalmail_1st_class | 1stClass |
    | easypost_royalmail_1st_class_signed_for | 1stClassSignedFor |
    | easypost_royalmail_2nd_class | 2ndClass |
    | easypost_royalmail_2nd_class_signed_for | 2ndClassSignedFor |
    | easypost_royalmail_royal_mail24 | RoyalMail24 |
    | easypost_royalmail_royal_mail24_signed_for | RoyalMail24SignedFor |
    | easypost_royalmail_royal_mail48 | RoyalMail48 |
    | easypost_royalmail_royal_mail48_signed_for | RoyalMail48SignedFor |
    | easypost_royalmail_special_delivery_guaranteed1pm | SpecialDeliveryGuaranteed1pm |
    | easypost_royalmail_special_delivery_guaranteed9am | SpecialDeliveryGuaranteed9am |
    | easypost_royalmail_standard_letter1st_class | StandardLetter1stClass |
    | easypost_royalmail_standard_letter1st_class_signed_for | StandardLetter1stClassSignedFor |
    | easypost_royalmail_standard_letter2nd_class | StandardLetter2ndClass |
    | easypost_royalmail_standard_letter2nd_class_signed_for | StandardLetter2ndClassSignedFor |
    | easypost_royalmail_tracked24 | Tracked24 |
    | easypost_royalmail_tracked24_high_volume | Tracked24HighVolume |
    | easypost_royalmail_tracked24_high_volume_signature | Tracked24HighVolumeSignature |
    | easypost_royalmail_tracked24_signature | Tracked24Signature |
    | easypost_royalmail_tracked48 | Tracked48 |
    | easypost_royalmail_tracked48_high_volume | Tracked48HighVolume |
    | easypost_royalmail_tracked48_high_volume_signature | Tracked48HighVolumeSignature |
    | easypost_royalmail_tracked48_signature | Tracked48Signature |
    | easypost_seko_ecommerce_standard_tracked | eCommerce Standard Tracked |
    | easypost_seko_ecommerce_express_tracked | eCommerce Express Tracked |
    | easypost_seko_domestic_express | Domestic Express |
    | easypost_seko_domestic_standard | Domestic Standard |
    | easypost_sendle_easy | Easy |
    | easypost_sendle_pro | Pro |
    | easypost_sendle_plus | Plus |
    | easypost_sfexpress_international_standard_express_doc | International Standard Express - Doc |
    | easypost_sfexpress_international_standard_express_parcel | International Standard Express - Parcel |
    | easypost_sfexpress_international_economy_express_pilot | International Economy Express - Pilot |
    | easypost_sfexpress_international_economy_express_doc | International Economy Express - Doc |
    | easypost_speedee_delivery | SpeeDeeDelivery |
    | easypost_startrack_express | StartrackExpress |
    | easypost_startrack_premium | StartrackPremium |
    | easypost_startrack_fixed_price_premium | StartrackFixedPricePremium |
    | easypost_tforce_same_day_white_glove | SameDayWhiteGlove |
    | easypost_tforce_next_day_white_glove | NextDayWhiteGlove |
    | easypost_uds_delivery_service | DeliveryService |
    | easypost_ups_standard | UPSStandard |
    | easypost_ups_saver | UPSSaver |
    | easypost_ups_express_plus | ExpressPlus |
    | easypost_ups_next_day_air | NextDayAir |
    | easypost_ups_next_day_air_saver | NextDayAirSaver |
    | easypost_ups_next_day_air_early_am | NextDayAirEarlyAM |
    | easypost_ups_2nd_day_air | 2ndDayAir |
    | easypost_ups_2nd_day_air_am | 2ndDayAirAM |
    | easypost_ups_3_day_select | 3DaySelect |
    | easypost_ups_mail_expedited_mail_innovations | ExpeditedMailInnovations |
    | easypost_ups_mail_priority_mail_innovations | PriorityMailInnovations |
    | easypost_ups_mail_economy_mail_innovations | EconomyMailInnovations |
    | easypost_usps_library_mail | LibraryMail |
    | easypost_usps_first_class_mail_international | FirstClassMailInternational |
    | easypost_usps_first_class_package_international_service | FirstClassPackageInternationalService |
    | easypost_usps_priority_mail_international | PriorityMailInternational |
    | easypost_usps_express_mail_international | ExpressMailInternational |
    | easypost_veho_next_day | nextDay |
    | easypost_veho_same_day | sameDay |

    ### Deutsche Post DHL
    | Code         | Service Name |
    | ------------ | ------------ |
    | dpdhl_paket | V01PAK |
    | dpdhl_paket_international | V53WPAK |
    | dpdhl_europaket | V54EPAK |
    | dpdhl_paket_connect | V55PAK |
    | dpdhl_warenpost | V62WP |
    | dpdhl_warenpost_international | V66WPI |
    | dpdhl_retoure |  |

    ### DPD
    | Code         | Service Name |
    | ------------ | ------------ |
    | dpd_cl | CL |
    | dpd_express_10h | E10 |
    | dpd_express_12h | E12 |
    | dpd_express_18h_guarantee | E18 |
    | dpd_express_b2b_predict | B2B MSG option |

    ### DHL Parcel Poland
    | Code         | Service Name |
    | ------------ | ------------ |
    | dhl_poland_premium | PR |
    | dhl_poland_polska | AH |
    | dhl_poland_09 | 09 |
    | dhl_poland_12 | 12 |
    | dhl_poland_connect | EK |
    | dhl_poland_international | PI |

    ### DHL Parcel DE
    | Code         | Service Name |
    | ------------ | ------------ |
    | dhl_parcel_de_paket | V01PAK |
    | dhl_parcel_de_warenpost | V62WP |
    | dhl_parcel_de_europaket | V54EPAK |
    | dhl_parcel_de_paket_international | V53WPAK |
    | dhl_parcel_de_warenpost_international | V66WPI |

    ### DHL Express
    | Code         | Service Name |
    | ------------ | ------------ |
    | dhl_logistics_services | 0 |
    | dhl_domestic_express_12_00 | 1 |
    | dhl_express_choice | 2 |
    | dhl_express_choice_nondoc | 3 |
    | dhl_jetline | 4 |
    | dhl_sprintline | 5 |
    | dhl_air_capacity_sales | 6 |
    | dhl_express_easy | 7 |
    | dhl_express_easy_nondoc | 8 |
    | dhl_parcel_product | 9 |
    | dhl_accounting | A |
    | dhl_breakbulk_express | B |
    | dhl_medical_express | C |
    | dhl_express_worldwide_doc | D |
    | dhl_express_9_00_nondoc | E |
    | dhl_freight_worldwide_nondoc | F |
    | dhl_economy_select_domestic | G |
    | dhl_economy_select_nondoc | H |
    | dhl_express_domestic_9_00 | I |
    | dhl_jumbo_box_nondoc | J |
    | dhl_express_9_00 | K |
    | dhl_express_10_30 | L |
    | dhl_express_10_30_nondoc | M |
    | dhl_express_domestic | N |
    | dhl_express_domestic_10_30 | O |
    | dhl_express_worldwide_nondoc | P |
    | dhl_medical_express_nondoc | Q |
    | dhl_globalmail | R |
    | dhl_same_day | S |
    | dhl_express_12_00 | T |
    | dhl_express_worldwide | U |
    | dhl_parcel_product_nondoc | V |
    | dhl_economy_select | W |
    | dhl_express_envelope | X |
    | dhl_express_12_00_nondoc | Y |
    | dhl_destination_charges | Z |
    | dhl_express_all | None |

    ### Colissimo
    | Code         | Service Name |
    | ------------ | ------------ |
    | colissimo_home_without_signature | DOM |
    | colissimo_home_with_signature | DOS |
    | colissimo_eco_france | CECO |
    | colissimo_return_france | CORE |
    | colissimo_flash_without_signature | COLR |
    | colissimo_flash_with_signature | J+1 |
    | colissimo_oversea_home_without_signature | COM |
    | colissimo_oversea_home_with_signature | CDS |
    | colissimo_eco_om_without_signature | ECO |
    | colissimo_eco_om_with_signature | ECOS |
    | colissimo_retour_om | CORI |
    | colissimo_return_international_from_france | CORF |
    | colissimo_economical_big_export_offer | ACCI |
    | colissimo_out_of_home_national_international | HD |

    ### Chronopost
    | Code         | Service Name |
    | ------------ | ------------ |
    | chronopost_retrait_bureau | 0 |
    | chronopost_13 | 1 |
    | chronopost_10 | 2 |
    | chronopost_18 | 16 |
    | chronopost_relais | 86 |
    | chronopost_express_international | 17 |
    | chronopost_premium_international | 37 |
    | chronopost_classic_international | 44 |

    ### Canada Post
    | Code         | Service Name |
    | ------------ | ------------ |
    | canadapost_regular_parcel | DOM.RP |
    | canadapost_expedited_parcel | DOM.EP |
    | canadapost_xpresspost | DOM.XP |
    | canadapost_xpresspost_certified | DOM.XP.CERT |
    | canadapost_priority | DOM.PC |
    | canadapost_library_books | DOM.LIB |
    | canadapost_expedited_parcel_usa | USA.EP |
    | canadapost_priority_worldwide_envelope_usa | USA.PW.ENV |
    | canadapost_priority_worldwide_pak_usa | USA.PW.PAK |
    | canadapost_priority_worldwide_parcel_usa | USA.PW.PARCEL |
    | canadapost_small_packet_usa_air | USA.SP.AIR |
    | canadapost_tracked_packet_usa | USA.TP |
    | canadapost_tracked_packet_usa_lvm | USA.TP.LVM |
    | canadapost_xpresspost_usa | USA.XP |
    | canadapost_xpresspost_international | INT.XP |
    | canadapost_international_parcel_air | INT.IP.AIR |
    | canadapost_international_parcel_surface | INT.IP.SURF |
    | canadapost_priority_worldwide_envelope_intl | INT.PW.ENV |
    | canadapost_priority_worldwide_pak_intl | INT.PW.PAK |
    | canadapost_priority_worldwide_parcel_intl | INT.PW.PARCEL |
    | canadapost_small_packet_international_air | INT.SP.AIR |
    | canadapost_small_packet_international_surface | INT.SP.SURF |
    | canadapost_tracked_packet_international | INT.TP |

    ### Belgian Post
    | Code         | Service Name |
    | ------------ | ------------ |
    | bpack_24h_pro | bpack 24h Pro |
    | bpack_24h_business | bpack 24h business |
    | bpack_bus | bpack Bus |
    | bpack_pallet | bpack Pallet |
    | bpack_easy_retour | bpack Easy Retour |
    | bpack_xl | bpack XL |
    | bpack_bpost | bpack@bpost |
    | bpack_24_7 | bpack 24/7 |
    | bpack_world_business | bpack World Business |
    | bpack_world_express_pro | bpack World Express Pro |
    | bpack_europe_business | bpack Europe Business |
    | bpack_world_easy_return | bpack World Easy Return |
    | bpack_bpost_international | bpack@bpost international |
    | bpack_24_7_international | bpack 24/7 international |

    ### BoxKnight
    | Code         | Service Name |
    | ------------ | ------------ |
    | boxknight_sameday | SAMEDAY |
    | boxknight_nextday | NEXTDAY |
    | boxknight_scheduled | SCHEDULED |

    ### Australia Post
    | Code         | Service Name |
    | ------------ | ------------ |
    | australiapost_parcel_post | T28 |
    | australiapost_express_post | E34 |
    | australiapost_parcel_post_signature | 3D55 |
    | australiapost_express_post_signature | 3J55 |
    | australiapost_intl_standard_pack_track | PTI8 |
    | australiapost_intl_standard_with_signature | PTI7 |
    | australiapost_intl_express_merch | ECM8 |
    | australiapost_intl_express_docs | ECD8 |
    | australiapost_eparcel_post_returns | PR |
    | australiapost_express_eparcel_post_returns | XPR |

    ### Asendia US
    | Code         | Service Name |
    | ------------ | ------------ |
    | asendia_us_e_com_tracked_ddp | 19 |
    | asendia_us_fully_tracked | 65 |
    | asendia_us_country_tracked | 66 |

    ### AmazonShipping
    | Code         | Service Name |
    | ------------ | ------------ |
    | amazon_shipping_ground | Amazon Shipping Ground |
    | amazon_shipping_standard | Amazon Shipping Standard |
    | amazon_shipping_premium | Amazon Shipping Premium |

    ### Allied Express Local
    | Code         | Service Name |
    | ------------ | ------------ |
    | allied_road_service | R |
    | allied_parcel_service | P |
    | allied_standard_pallet_service | PT |
    | allied_oversized_pallet_service | PT2 |
    | allied_local_normal_service | N |
    | allied_local_vip_service | V |
    | allied_local_executive_service | E |
    | allied_local_gold_service | G |

    ### Allied Express
    | Code         | Service Name |
    | ------------ | ------------ |
    | allied_road_service | R |
    | allied_parcel_service | P |
    | allied_standard_pallet_service | PT |
    | allied_oversized_pallet_service | PT2 |


    ---
    ## Parcel Templates
    Use any of the following templates when you ship with special carrier packaging.
    ### UPS
    | Code         | Dimensions   |
    | ------------ | ------------ |
    | ups_small_express_box | 13.0 x 11.0 x 2.0 in |
    | ups_medium_express_box | 16.0 x 11.0 x 3.0 in |
    | ups_large_express_box | 18.0 x 13.0 x 3.0 in |
    | ups_express_tube | 38.0 x 6.0 x 6.0 in |
    | ups_express_pak | 16.0 x 11.75 x 1.5 in |
    | ups_world_document_box | 17.5 x 12.5 x 3.0 in |

    ### TNT
    | Code         | Dimensions   |
    | ------------ | ------------ |
    | tnt_envelope_doc | 35.0 x 1.0 x 27.5 cm |
    | tnt_satchel_bag1 | 40.0 x 1.0 x 30.0 cm |
    | tnt_satchel_bag2 | 47.5 x 1.0 x 38.0 cm |
    | tnt_box_B | 29.5 x 19.0 x 40.0 cm |
    | tnt_box_C | 29.5 x 29.0 x 40.0 cm |
    | tnt_box_D | 39.5 x 29.0 x 50.0 cm |
    | tnt_box_E | 39.5 x 49.5 x 44.0 cm |
    | tnt_medpack_ambient | 18.0 x 12.0 x 23.0 cm |
    | tnt_medpack_fronzen_10 | 37.0 x 35.5 x 40.0 cm |

    ### Purolator
    | Code         | Dimensions   |
    | ------------ | ------------ |
    | purolator_express_envelope | 12.5 x 16 x 1.5 in |
    | purolator_express_pack | 12.5 x 16 x 1.0 in |
    | purolator_express_box | 18 x 12 x 3.5 in |

    ### FedEx Web Service
    | Code         | Dimensions   |
    | ------------ | ------------ |
    | fedex_envelope_legal_size | 9.5 x 15.5 x 1 in |
    | fedex_padded_pak | 11.75 x 14.75 x 1 in |
    | fedex_polyethylene_pak | 12.0 x 15.5 x 1 in |
    | fedex_clinical_pak | 13.5 x 18.0 x 1 in |
    | fedex_small_box | 12.25 x 10.9 x 1.5 in |
    | fedex_medium_box | 13.25 x 11.5 x 2.38 in |
    | fedex_large_box | 17.88 x 12.38 x 3.0 in |
    | fedex_extra_large_box | 11.88 x 11.0 x 10.75 in |
    | fedex_10_kg_box | 15.81 x 12.94 x 10.19 in |
    | fedex_25_kg_box | 21.56 x 16.56 x 13.19 in |
    | fedex_tube | 38.0 x 6.0 x 6.0 in |

    ### DHL Express
    | Code         | Dimensions   |
    | ------------ | ------------ |
    | dhl_express_envelope | 35.0 x 27.5 x 1.0 cm |
    | dhl_express_standard_flyer | 40.0 x 30.0 x 1.5 cm |
    | dhl_express_large_flyer | 47.5 x 37.5 x 1.5 cm |
    | dhl_express_box_2 | 33.7 x 18.2 x 10.0 cm |
    | dhl_express_box_3 | 33.6 x 32.0 x 5.2 cm |
    | dhl_express_box_4 | 33.7 x 32.2 x 18.0 cm |
    | dhl_express_box_5 | 33.7 x 32.2 x 34.5 cm |
    | dhl_express_box_6 | 41.7 x 35.9 x 36.9 cm |
    | dhl_express_box_7 | 48.1 x 40.4 x 38.9 cm |
    | dhl_express_box_8 | 54.2 x 44.4 x 40.9 cm |
    | dhl_express_tube | 96.0 x 15.0 x 15.0 cm |
    | dhl_didgeridoo_box | 13.0 x 13.0 x 162.0 cm |
    | dhl_jumbo_box | 45.0 x 42.7 x 33.0 cm |
    | dhl_jumbo_box_junior | 39.9 x 34.0 x 24.1 cm |

    ### Canada Post
    | Code         | Dimensions   |
    | ------------ | ------------ |
    | canadapost_mailing_box | 10.2 x 15.2 x 1.0 cm |
    | canadapost_extra_small_mailing_box | 14.0 x 14.0 x 14.0 cm |
    | canadapost_small_mailing_box | 28.6 x 22.9 x 6.4 cm |
    | canadapost_medium_mailing_box | 31.0 x 23.5 x 13.3 cm |
    | canadapost_large_mailing_box | 38.1 x 30.5 x 9.5 cm |
    | canadapost_extra_large_mailing_box | 40.0 x 30.5 x 21.6 cm |
    | canadapost_corrugated_small_box | 42.0 x 32.0 x 32.0 cm |
    | canadapost_corrugated_medium_box | 46.0 x 38.0 x 32.0 cm |
    | canadapost_corrugated_large_box | 46.0 x 46.0 x 40.6 cm |
    | canadapost_xexpresspost_certified_envelope | 26.0 x 15.9 x 1.5 cm |
    | canadapost_xexpresspost_national_large_envelope | 40.0 x 29.2 x 1.5 cm |

...
