tvcmall_openapi
  1. Shipping
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. Shipping

Shipping Calculation

POST
https://openapi.tvc-mall.com/order/shippingcost
Last modified:2023-12-04 07:31:30
Maintainer:Alfred.Tvc
Shipping Calculation

Request

Header Params
Authorization
string 
required
Authorization
Example:
2+s8CDVEwkmRHSJ9lorE5Q==
Body Params application/json
skuinfo
string 
skuinfo
required
concatenate sku and quantity string
countrycode
string 
countrycode
required
optional values are at the bottom of the document [Country code and name]
shippingmethodcode
string 
shippingmethodcode
optional
shipping method code, The optional values are as follows: EUDDP : YunExpress BUFFALO: Buffalo
Example
{
"skuinfo":"660402384A*1,103517137A*2",
"countrycode":"US",
"shippingmethodcode":""
}

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/shippingcost' \
--header 'Authorization: 2+s8CDVEwkmRHSJ9lorE5Q==' \
--header 'Content-Type: application/json' \
--data-raw '{
"skuinfo":"660402384A*1,103517137A*2",
"countrycode":"US",
"shippingmethodcode":""
}'

Responses

🟢200success
application/json
Body
Success
boolean 
status
required
status
Currency
string 
Currency
required
ship cost currency. Eg. “USD”
CountryCode
string 
CountryCode
required
country code. Eg.”FR”
Shippings
array [object {4}] 
Shippings
required
shipping method list
ShippingMethodCode
string 
optional
ShippingMethod
string 
optional
ShippingCost
number 
optional
DeliveryCycle
string 
optional
Reason
string 
Reason
required
detail error message.Eg.”Sorry, no freight was found.”
Example
{
    "Success": true,
    "Currency": "USD",
    "CountryCode": "US",
    "Shippings": [
        {
            "ShippingMethodCode": "EUDDP",
            "ShippingMethod": "YunExpress",
            "ShippingCost": 5.31,
            "DeliveryCycle": "8-12 business days"
        }
    ],
    "Reason": ""
}
🟢200unauthorized
Previous
Get Order Information
Next
Shipping Calculation Enhancement
Built with