# Shipping Calculation Enhancement

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /order/shippingcostenhancement:
    post:
      summary: Shipping Calculation Enhancement
      deprecated: false
      description: Shipping Calculation Enhancement
      tags:
        - Shipping
      parameters:
        - name: Authorization
          in: header
          description: Authorization
          required: true
          example: 2+s8CDVEwkmRHSJ9lorE5Q==
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                skuinfo:
                  type: string
                  description: concatenate sku and quantity string
                  title: skuinfo
                countrycode:
                  type: string
                  description: >-
                    optional values are at the bottom of the document [Country
                    code and name]
                  title: countrycode
              required:
                - skuinfo
                - countrycode
              x-apifox-orders:
                - skuinfo
                - countrycode
            example:
              skuinfo: 660402384A*1,103517137A*2
              countrycode: US
              shippingmethodcode: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  Success:
                    type: boolean
                    description: status
                    title: status
                  Currency:
                    type: string
                    description: ship cost currency. Eg. “USD”
                    title: Currency
                  CountryCode:
                    type: string
                    description: country code. Eg.”FR”
                    title: CountryCode
                  Shippings:
                    type: array
                    items:
                      type: object
                      properties:
                        ShippingMethodCode:
                          type: string
                        ShippingMethod:
                          type: string
                        ShippingCost:
                          type: number
                        DeliveryCycle:
                          type: string
                      x-apifox-orders:
                        - ShippingMethodCode
                        - ShippingMethod
                        - ShippingCost
                        - DeliveryCycle
                    description: shipping method list
                    title: Shippings
                  Reason:
                    type: string
                    description: detail error message.Eg.”Sorry, no freight was found.”
                    title: Reason
                required:
                  - Success
                  - Currency
                  - CountryCode
                  - Shippings
                  - Reason
                x-apifox-orders:
                  - Success
                  - Currency
                  - CountryCode
                  - Shippings
                  - Reason
              example:
                Success: true
                Currency: USD
                CountryCode: US
                Shippings:
                  - ShippingMethodCode: EUDDP
                    ShippingMethod: YunExpress
                    ShippingCost: 5.31
                    DeliveryCycle: 8-12 business days
                  - ShippingMethodCode: NLP
                    ShippingMethod: POST NL
                    ShippingCost: 9.06
                    DeliveryCycle: 15-30 business days
                  - ShippingMethodCode: FDX
                    ShippingMethod: Fedex
                    ShippingCost: 20.8
                    DeliveryCycle: 5-7 business days
                  - ShippingMethodCode: DHL
                    ShippingMethod: DHL
                    ShippingCost: 23.03
                    DeliveryCycle: 5-7 business days
                  - ShippingMethodCode: UPS
                    ShippingMethod: UPS
                    ShippingCost: 87
                    DeliveryCycle: 7-10 business days
                Reason: ''
          headers: {}
          x-apifox-name: success
        x-200:unauthorized:
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  Message:
                    type: string
                    description: message
                required:
                  - Message
                x-apifox-orders:
                  - Message
              example:
                Message: unauthorized
          headers: {}
          x-apifox-name: unauthorized
      security: []
      x-apifox-folder: Shipping
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/4282467/apis/api-162165290-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://openapi.tvc-mall.com
    description: 正式环境
security: []

```
