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
Last modified:2023-12-04 07:23:33
Maintainer:Alfred.Tvc
Create order

Request

Header Params

Body Params application/json

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

Request Code 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

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
Modified at 2023-12-04 07:23:33
Previous
Get the details of the specified product with images
Next
Get Order List
Built with