- Authorization
- Category
- Product
- Order
- Shipping
Shipping Calculation Enhancement
POST
https://openapi.tvc-mall.com/order/shippingcostenhancement
Last modified:2023-12-04 07:34:51
Maintainer:Alfred.Tvc
Request
Header Params
Authorization
string
required
Example:
2+s8CDVEwkmRHSJ9lorE5Q==
Body Params application/json
skuinfo
string
skuinfo
countrycode
string
countrycode
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
Currency
string
Currency
CountryCode
string
CountryCode
Shippings
array [object {4}]
Shippings
ShippingMethodCode
string
optional
ShippingMethod
string
optional
ShippingCost
number
optional
DeliveryCycle
string
optional
Reason
string
Reason
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,
"DeliveryCycle": "7-10 business days"
}
],
"Reason": ""
}
🟢200unauthorized
Modified at 2023-12-04 07:34:51