tvcmall_openapi
  1. Order
tvcmall_openapi
  • Authorization
    • Get Authorization
      GET
  • Category
    • Get children of the category specified
      GET
    • Get parent of the category specified
      GET
  • Product
    • Search products
      GET
    • Get the details of the specified product
      GET
    • Get status of a list of products
      GET
    • Download the images of the specified product
      GET
    • Download the Scenseimage of the specified product
      GET
    • Search products with specific main category
      GET
    • Get the details of the specified product with images
      GET
  • Order
    • Create order
      POST
    • Get Order List
      GET
    • Get Order Information
      GET
  • Shipping
    • Shipping Calculation
      POST
    • Shipping Calculation Enhancement
      POST
  1. Order

Create order

POST
https://openapi.tvc-mall.com/order/add
order
Last modified:2023-12-04 07:23:33
Maintainer:Alfred.Tvc
Create order

Request

Header Params
Authorization
string 
required
Authorization
Example:
2+s8CDVEwkmRHSJ9lorE5Q==
Body Params application/json
skus
string 
skus
required

Fomart:*, separated by comma

currencycode
string 
currency
required
currency
language
string 
language
required
language
Example
{
"skus":"4444444*7,55555555*2", 
"currencycode":"USD",  
"language":"en"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://openapi.tvc-mall.com/order/add' \
--header 'Authorization: 2+s8CDVEwkmRHSJ9lorE5Q==' \
--header 'Content-Type: application/json' \
--data-raw '{
"skus":"4444444*7,55555555*2", 
"currencycode":"USD",  
"language":"en"
}'

Responses

🟢200success
application/json
Body
Success
boolean 
required
OrderID
string 
required
Currency
object 
required
CurrencyCode
string 
required
CurrencyName
string 
required
Symbol
string 
required
Symbol2
string 
required
Symbol3
string 
required
Rate
integer 
required
SpecialRate
boolean 
required
FormatString
string 
required
Format2String
string 
required
Format3String
string 
required
Items
array[string]
required
FailedItems
array [object {6}] 
required
SKU
string 
required
Quantity
integer 
required
Remark
null 
required
CustomerSKU
string 
required
Exists
integer 
required
ErrorMessage
object 
required
Orders
array [object {2}] 
required
orderId
string 
optional
splitLogicsName
string 
optional
Example
{
    "Success": true,
    "OrderID": "V23120200014",
    "Currency": {
        "CurrencyCode": "USD",
        "CurrencyName": "USD",
        "Symbol": "$ - USD",
        "Symbol2": "USD",
        "Symbol3": "USD - $",
        "Rate": 1.0,
        "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": ""
        }
    ]
}
🟢200unauthorized
Previous
Get the details of the specified product with images
Next
Get Order List
Built with