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 Enhancement

POST
https://openapi.tvc-mall.com/order/shippingcostenhancement
Last modified:2023-12-04 07:34:51
Maintainer:Alfred.Tvc
Shipping Calculation Enhancement

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]
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/shippingcostenhancement' \
--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"
        },
        {
            "ShippingMethodCode": "NLP",
            "ShippingMethod": "POST NL",
            "ShippingCost": 9.06,
            "DeliveryCycle": "15-30 business days"
        },
        {
            "ShippingMethodCode": "FDX",
            "ShippingMethod": "Fedex",
            "ShippingCost": 20.8,
            "DeliveryCycle": "5-7 business days"
        },
        {
            "ShippingMethodCode": "DHL",
            "ShippingMethod": "DHL",
            "ShippingCost": 23.03,
            "DeliveryCycle": "5-7 business days"
        },
        {
            "ShippingMethodCode": "UPS",
            "ShippingMethod": "UPS",
            "ShippingCost": 87.0,
            "DeliveryCycle": "7-10 business days"
        }
    ],
    "Reason": ""
}
🟢200unauthorized
Previous
Shipping Calculation
Built with