# Create Order

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /order/AddOrder:
    post:
      summary: Create Order
      deprecated: false
      description: Create order
      tags:
        - Order
        - order
      parameters:
        - name: Authorization
          in: header
          description: ''
          required: true
          example: Cqke+/PKXEyiA8KuHnjoRg==
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                skus:
                  type: string
                  title: skus
                  description: Fomart:<SKU>*<Quantity>, separated by comma
                language:
                  type: string
                  title: language
                currencycode:
                  type: string
                  title: currencycode
                address:
                  type: object
                  properties:
                    country_code:
                      type: string
                      title: country_code
                    full_name:
                      type: string
                      title: full_name
                    telephone_mobile:
                      type: string
                      title: telephone_mobile
                    zip_code:
                      type: string
                      title: zip_code
                    town_city:
                      type: string
                      title: town_city
                    province_state:
                      type: string
                      title: province_state
                  x-apifox-orders:
                    - country_code
                    - full_name
                    - telephone_mobile
                    - zip_code
                    - town_city
                    - province_state
                  required:
                    - country_code
                    - full_name
                    - telephone_mobile
                    - zip_code
                    - town_city
                    - province_state
              x-apifox-orders:
                - skus
                - language
                - currencycode
                - address
              required:
                - skus
                - language
                - currencycode
                - address
            example:
              skus: 103522418A*5,6601203130A*4
              language: en
              currencycode: USD
              address:
                country_code: US
                full_name: Michael Johnson
                telephone_mobile: '13471234567'
                zip_code: '90210'
                street_address: 123 Main Street, Apt 4B
                town_city: Beverly Hills
                province_state: CA
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  OrderInfo:
                    type: object
                    properties:
                      OrderID:
                        type: string
                      Currency:
                        type: object
                        properties:
                          CurrencyCode:
                            type: string
                          CurrencyName:
                            type: string
                          FormatString:
                            type: string
                          Format2String:
                            type: string
                          Format3String:
                            type: string
                          Symbol:
                            type: string
                          Symbol2:
                            type: string
                          Symbol3:
                            type: string
                        x-apifox-orders:
                          - CurrencyCode
                          - CurrencyName
                          - FormatString
                          - Format2String
                          - Format3String
                          - Symbol
                          - Symbol2
                          - Symbol3
                        required:
                          - CurrencyCode
                          - CurrencyName
                          - FormatString
                          - Format2String
                          - Format3String
                          - Symbol
                          - Symbol2
                          - Symbol3
                      OriginalAmount:
                        type: number
                      DiscountedAmount:
                        type: number
                      Remark:
                        type: string
                      ShippingMethodName:
                        type: string
                      OrderAddressInfo:
                        type: array
                        items:
                          type: object
                          properties:
                            CountryName:
                              type: string
                            Concats:
                              type: string
                              title: name
                              description: name
                            CountryCode:
                              type: string
                            Province:
                              type: string
                            City:
                              type: string
                            Address:
                              type: string
                            PostCode:
                              type: string
                            Telephone:
                              type: string
                            Mobile:
                              type: string
                            Fax:
                              type: string
                          x-apifox-orders:
                            - CountryName
                            - Concats
                            - CountryCode
                            - Province
                            - City
                            - Address
                            - PostCode
                            - Telephone
                            - Mobile
                            - Fax
                      Trackingnumbers:
                        type: array
                        items:
                          type: string
                      CreatedOn:
                        type: string
                      ModifiedOn:
                        type: string
                      Items:
                        type: array
                        items:
                          type: object
                          properties:
                            SKU:
                              type: string
                            Name:
                              type: string
                            UnitPrice:
                              type: number
                            OriginalPrice:
                              type: number
                            Quantity:
                              type: number
                            Subtotal:
                              type: number
                          x-apifox-orders:
                            - SKU
                            - Name
                            - UnitPrice
                            - OriginalPrice
                            - Quantity
                            - Subtotal
                          required:
                            - SKU
                            - Name
                            - UnitPrice
                            - OriginalPrice
                            - Quantity
                            - Subtotal
                    x-apifox-orders:
                      - OrderID
                      - Currency
                      - OriginalAmount
                      - DiscountedAmount
                      - Remark
                      - ShippingMethodName
                      - OrderAddressInfo
                      - Trackingnumbers
                      - CreatedOn
                      - ModifiedOn
                      - Items
                    required:
                      - OrderID
                      - Currency
                      - OriginalAmount
                      - DiscountedAmount
                      - Remark
                      - ShippingMethodName
                      - OrderAddressInfo
                      - Trackingnumbers
                      - CreatedOn
                      - ModifiedOn
                      - Items
                  Logs:
                    type: object
                    properties:
                      OrderId:
                        type: string
                      SuccessItems:
                        type: array
                        items:
                          type: object
                          properties:
                            SKU:
                              type: string
                            ProductName:
                              type: string
                            ProductImage:
                              type: string
                            CatalogName:
                              type: string
                            AddedQuantity:
                              type: integer
                            Quantity:
                              type: number
                            Price:
                              type: number
                            OrderId:
                              type: string
                            Remark:
                              type: 'null'
                            CustomerSKU:
                              type: string
                            Exists:
                              type: integer
                            Url:
                              type: string
                            IsSpilt:
                              type: boolean
                            Message:
                              type: string
                          x-apifox-orders:
                            - SKU
                            - ProductName
                            - ProductImage
                            - CatalogName
                            - AddedQuantity
                            - Quantity
                            - Price
                            - OrderId
                            - Remark
                            - CustomerSKU
                            - Exists
                            - Url
                            - IsSpilt
                            - Message
                          required:
                            - SKU
                            - ProductName
                            - ProductImage
                            - CatalogName
                            - AddedQuantity
                            - Quantity
                            - Price
                            - OrderId
                            - Remark
                            - CustomerSKU
                            - Exists
                            - Url
                            - IsSpilt
                            - Message
                      FailedItems:
                        type: array
                        items:
                          type: object
                          properties:
                            SKU:
                              type: string
                            ProductName:
                              type: string
                            ProductImage:
                              type: string
                            CatalogName:
                              type: string
                            AddedQuantity:
                              type: number
                            Price:
                              type: number
                            Url:
                              type: string
                            OrderId:
                              type: string
                            Quantity:
                              type: number
                            Remark:
                              type: 'null'
                            CustomerSKU:
                              type: string
                            Exists:
                              type: integer
                            IsSpilt:
                              type: boolean
                            ErrorMessage:
                              type: object
                              properties:
                                SKU:
                                  type: string
                                Message:
                                  type: string
                                Data:
                                  type: string
                                ErrorCode:
                                  type: string
                                DetailCode:
                                  type: string
                                TransMessage:
                                  type: string
                                TransMessageArgs:
                                  type: string
                              x-apifox-orders:
                                - SKU
                                - Message
                                - Data
                                - ErrorCode
                                - DetailCode
                                - TransMessage
                                - TransMessageArgs
                              required:
                                - SKU
                                - Message
                                - Data
                                - ErrorCode
                                - DetailCode
                                - TransMessage
                                - TransMessageArgs
                          x-apifox-orders:
                            - SKU
                            - ProductName
                            - ProductImage
                            - CatalogName
                            - AddedQuantity
                            - Price
                            - Url
                            - OrderId
                            - Quantity
                            - Remark
                            - CustomerSKU
                            - Exists
                            - IsSpilt
                            - ErrorMessage
                          required:
                            - SKU
                            - ProductName
                            - ProductImage
                            - CatalogName
                            - AddedQuantity
                            - Price
                            - Url
                            - OrderId
                            - Quantity
                            - Remark
                            - CustomerSKU
                            - Exists
                            - IsSpilt
                            - ErrorMessage
                      Currency:
                        type: object
                        properties:
                          CurrencyCode:
                            type: string
                          CurrencyName:
                            type: string
                          FormatString:
                            type: string
                          Format2String:
                            type: string
                          Format3String:
                            type: string
                          Symbol:
                            type: string
                          Symbol2:
                            type: string
                          Symbol3:
                            type: string
                        x-apifox-orders:
                          - CurrencyCode
                          - CurrencyName
                          - FormatString
                          - Format2String
                          - Format3String
                          - Symbol
                          - Symbol2
                          - Symbol3
                        required:
                          - CurrencyCode
                          - CurrencyName
                          - FormatString
                          - Format2String
                          - Format3String
                          - Symbol
                          - Symbol2
                          - Symbol3
                      Success:
                        type: boolean
                      OrderID:
                        type: string
                      Orders:
                        type: array
                        items:
                          type: object
                          properties:
                            orderId:
                              type: string
                            Item1:
                              type: string
                          x-apifox-orders:
                            - orderId
                            - Item1
                          required:
                            - orderId
                            - Item1
                      StandardCode:
                        type: string
                      StandardIsSuccess:
                        type: boolean
                      Splitinfo:
                        type: 'null'
                    x-apifox-orders:
                      - OrderId
                      - SuccessItems
                      - FailedItems
                      - Currency
                      - Success
                      - OrderID
                      - Orders
                      - StandardCode
                      - StandardIsSuccess
                      - Splitinfo
                    required:
                      - OrderId
                      - SuccessItems
                      - FailedItems
                      - Currency
                      - Success
                      - OrderID
                      - Orders
                      - StandardCode
                      - StandardIsSuccess
                      - Splitinfo
                x-apifox-orders:
                  - OrderInfo
                  - Logs
                required:
                  - OrderInfo
                  - Logs
              example:
                OrderInfo:
                  OrderID: V25110400020
                  Currency:
                    CurrencyCode: USD
                    CurrencyName: USD
                    FormatString: ${0:N2}
                    Format2String: USD{0:0.00}
                    Format3String: USD-${0:0.00}
                    Symbol: $ - USD
                    Symbol2: USD
                    Symbol3: USD - $
                  OriginalAmount: 0.76
                  DiscountedAmount: 0.76
                  Remark: ''
                  ShippingMethodName: ''
                  OrderAddressInfo:
                    - country_code: US
                      full_name: Michael Johnson
                      telephone_mobile: '13471234567'
                      zip_code: '90210'
                      street_address: 123 Main Street, Apt 4B
                      town_city: Beverly Hills
                      province_state: CA
                  Trackingnumbers: []
                  CreatedOn: '2025-11-04T15:38:26'
                  ModifiedOn: '2025-11-04T07:38:41'
                  Items:
                    - SKU: 641000138A
                      Name: star test 23 08 16 00301 Black
                      UnitPrice: 0.76
                      OriginalPrice: 0.76
                      Quantity: 1
                      Subtotal: 0.76
                Logs:
                  OrderId: V25110400020
                  SuccessItems:
                    - SKU: 641000138A
                      ProductName: star test 23 08 16 00301 Black
                      ProductImage: /uploads/641000138A.jpg
                      CatalogName: null
                      AddedQuantity: 1
                      Quantity: 1
                      Price: 0.76
                      OrderId: V25110400020
                      Remark: null
                      CustomerSKU: ''
                      Exists: 0
                      Url: >-
                        /details/star-test-23-08-16-00301-black-sku641000138a.html
                      IsSpilt: false
                      Message: successfully added to order Order No. [V25110400020]
                  FailedItems:
                    - SKU: 103522418A
                      ProductName: >-
                        tvc 吃   Anti-scratch Shockproof Cell Phone Tempered
                        Glass Film Super Clear Silk Printing Full Covering Full
                        Glue Screen Protector
                      ProductImage: /uploads/103522418A.jpg
                      CatalogName: null
                      AddedQuantity: 0
                      Price: 1.81
                      Url: >-
                        /details/fofor-nokia-g11-anti-scratch-shockproof-cell-phone-tempered-glass-film-super-clear-silk-printing-full-covering-full-glue-screen-protector-sku103522418a.html
                      OrderId: ''
                      Quantity: 5
                      Remark: null
                      CustomerSKU: ''
                      Exists: 0
                      IsSpilt: false
                      ErrorMessage:
                        SKU: 103522418A
                        Message: the item can't to this type of order.
                        Data: null
                        ErrorCode: '202'
                        DetailCode: T40060
                        TransMessage: null
                        TransMessageArgs: null
                  Currency:
                    CurrencyCode: USD
                    CurrencyName: USD
                    FormatString: ${0:N2}
                    Format2String: USD{0:0.00}
                    Format3String: USD-${0:0.00}
                    Symbol: $ - USD
                    Symbol2: USD
                    Symbol3: USD - $
                  Success: true
                  OrderID: V25110400020
                  Orders:
                    - orderId: V25110400020
                      Item1: ''
                  StandardCode: T40073
                  StandardIsSuccess: true
                  StandardErrorMsg: ''
                  Splitinfo: null
          headers: {}
          x-apifox-name: success
        x-200:unauthorized:
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  Message:
                    type: string
                    title: Message
                x-apifox-orders:
                  - Message
                required:
                  - Message
          headers: {}
          x-apifox-name: unauthorized
      security: []
      x-apifox-folder: Order
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/4282467/apis/api-408374881-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://openapi.tvc-mall.com
    description: 正式环境
security: []

```
