# Create order(Deprecated）

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /order/add:
    post:
      summary: Create order(Deprecated）
      deprecated: false
      description: Create order
      tags:
        - Order
        - order
      parameters:
        - name: Authorization
          in: header
          description: Authorization
          required: true
          example: 2+s8CDVEwkmRHSJ9lorE5Q==
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                skus:
                  type: string
                  title: skus
                  description: Fomart:<SKU>*<Quantity>, separated by comma
                currencycode:
                  type: string
                  title: currency
                  description: currency
                language:
                  type: string
                  title: language
                  description: language
              required:
                - skus
                - currencycode
                - language
              x-apifox-orders:
                - skus
                - currencycode
                - language
            example:
              skus: 4444444*7,55555555*2
              currencycode: USD
              language: en
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  Success:
                    type: boolean
                  OrderID:
                    type: string
                  Currency:
                    type: object
                    properties:
                      CurrencyCode:
                        type: string
                      CurrencyName:
                        type: string
                      Symbol:
                        type: string
                      Symbol2:
                        type: string
                      Symbol3:
                        type: string
                      Rate:
                        type: integer
                      SpecialRate:
                        type: boolean
                      FormatString:
                        type: string
                      Format2String:
                        type: string
                      Format3String:
                        type: string
                    required:
                      - CurrencyCode
                      - CurrencyName
                      - Symbol
                      - Symbol2
                      - Symbol3
                      - Rate
                      - SpecialRate
                      - FormatString
                      - Format2String
                      - Format3String
                    x-apifox-orders:
                      - CurrencyCode
                      - CurrencyName
                      - Symbol
                      - Symbol2
                      - Symbol3
                      - Rate
                      - SpecialRate
                      - FormatString
                      - Format2String
                      - Format3String
                  Items:
                    type: array
                    items:
                      type: string
                  FailedItems:
                    type: array
                    items:
                      type: object
                      properties:
                        SKU:
                          type: string
                        Quantity:
                          type: integer
                        Remark:
                          type: 'null'
                        CustomerSKU:
                          type: string
                        Exists:
                          type: integer
                        ErrorMessage:
                          type: object
                          properties:
                            SKU:
                              type: 'null'
                            Message:
                              type: string
                            Data:
                              type: 'null'
                            ErrorCode:
                              type: string
                          required:
                            - SKU
                            - Message
                            - Data
                            - ErrorCode
                          x-apifox-orders:
                            - SKU
                            - Message
                            - Data
                            - ErrorCode
                      required:
                        - SKU
                        - Quantity
                        - Remark
                        - CustomerSKU
                        - Exists
                        - ErrorMessage
                      x-apifox-orders:
                        - SKU
                        - Quantity
                        - Remark
                        - CustomerSKU
                        - Exists
                        - ErrorMessage
                  Orders:
                    type: array
                    items:
                      type: object
                      properties:
                        orderId:
                          type: string
                        splitLogicsName:
                          type: string
                      x-apifox-orders:
                        - orderId
                        - splitLogicsName
                required:
                  - Success
                  - OrderID
                  - Currency
                  - Items
                  - FailedItems
                  - Orders
                x-apifox-orders:
                  - Success
                  - OrderID
                  - Currency
                  - Items
                  - FailedItems
                  - Orders
              examples:
                '1':
                  summary: 成功示例
                  value:
                    Success: true
                    OrderID: V23120200014
                    Currency:
                      CurrencyCode: USD
                      CurrencyName: USD
                      Symbol: $ - USD
                      Symbol2: USD
                      Symbol3: USD - $
                      Rate: 1
                      SpecialRate: false
                      FormatString: ${0:N2}
                      Format2String: USD{0:0.00}
                      Format3String: USD-${0:0.00}
                    Items: []
                    FailedItems:
                      - SKU: '4444444'
                        Quantity: 7
                        Remark: null
                        CustomerSKU: ''
                        Exists: 0
                        ErrorMessage:
                          SKU: null
                          Message: the sku can't use.
                          Data: null
                          ErrorCode: '202'
                      - SKU: '55555555'
                        Quantity: 2
                        Remark: null
                        CustomerSKU: ''
                        Exists: 0
                        ErrorMessage:
                          SKU: null
                          Message: the sku can't use.
                          Data: null
                          ErrorCode: '202'
                    Orders:
                      - orderId: V23120200014
                        splitLogicsName: ''
                '2':
                  summary: 异常示例
                  value:
                    Message: unauthorized
          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
          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-162165286-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://openapi.tvc-mall.com
    description: 正式环境
security: []

```
