Outbound pricing for one service by skus


POST http://openapi.ck1info.com/v1/pricing/outbound/skus
Description: Outbound pricing for one service by skus

Request

Body Parameters
NameDataTypeAnnotationRequiredDescriptionExample
ServiceCode string

regular expression: ^[a-zA-Z0-9\-_]{1,30}$

String length: between 0 and 30

Required

USRPP

Skus Collection of SkuInfo

None.

Required

WarehouseId string

regular expression: ^[a-zA-Z0-9\-_]{1,10}$

String length: between 0 and 10

Required

US

Country string

String length: between 0 and 100

Required

United States

Postcode string

String length: between 0 and 50

83301

Address string

String length: between 0 and 200

172 Meadowview lane

City string

String length: between 0 and 100

Idaho

Province string

String length: between 0 and 100

Twin Falls

Request in JSON
{
  "ServiceCode": "sample string 1",
  "Skus": [
    {
      "Sku": "sample string 1",
      "Quantity": 2
    },
    {
      "Sku": "sample string 1",
      "Quantity": 2
    }
  ],
  "WarehouseId": "sample string 2",
  "Country": "sample string 3",
  "Postcode": "sample string 4",
  "Address": "sample string 5",
  "City": "sample string 6",
  "Province": "sample string 7"
}

Response

NameDataTypeAnnotationRequiredDescriptionExample
ServiceCode string

None.

USRPP

ServiceName string

None.

美国本地快捷签收派送

Success boolean

None.

true

Message string

None.

ChargeInfo ChargeInfo

None.

LogisticsTimes LogisticsTime

None.

Response in JSON
{
  "ServiceCode": "sample string 1",
  "ServiceName": "sample string 2",
  "Success": true,
  "Message": "sample string 4",
  "ChargeInfo": {
    "Summary": [
      {
        "Currency": "sample string 1",
        "Amount": 2
      },
      {
        "Currency": "sample string 1",
        "Amount": 2
      }
    ],
    "Detail": [
      {
        "Currency": "sample string 1",
        "Amount": 2,
        "ChargeName": "sample string 3",
        "Remark": "sample string 4"
      },
      {
        "Currency": "sample string 1",
        "Amount": 2,
        "ChargeName": "sample string 3",
        "Remark": "sample string 4"
      }
    ]
  },
  "LogisticsTimes": {
    "Min": 1,
    "Max": 2
  }
}