Get resend shipping fees by destination
重寄
按目的地获取 Resend Shipping Fees
GET
Get resend shipping fees by destination
针对一个或多个要寄往指定目的地(国家 + 邮编)的退货库存项目,返回可用的 Resend(出库)服务类型,并附带费用估算。可用于在调用 创建 Resend Order 之前预览 Resend 费用。
本端点仅估算 Resend(出库)运送费用。若要预览 Return(入库)费用,请改用 按起始位置获取 Shipping Fees。
必要参数
returnInventoryIdList— 必填。以逗号分隔的退货库存 ID 列表(例如10023,10024),代表要一并重寄的项目。所有 ID 必须属于同一个 Warehouse,且每个都必须存在,否则请求会验证失败。toCountryCode— 必填,小写 ISO3(例如usa、gbr)。有效值请参阅 获取所有国家。toPostalCode— 必填,且不可为空。limit— 选填。限制返回的服务类型选项数量;省略时会返回该目的地所有可用选项。
响应说明
每一条项目描述一种可用的 Resend 服务类型与其费用:serviceTypeCode/serviceTypeName— 服务标识符与其显示名称。isEnableAutoCreateLabel— 以此服务创建 Resend Order 时是否自动生成面单。postalCodePair— 用于推算费率的from/to邮编区间配对。currencyCode与fee— 估算的费用。chargeableWeight— 承运商实际计费的重量,可能因体积重量进位而高于包裹的实际重量。
相关
- 创建 Resend Order — 使用所选的
serviceTypeCode。 - 获取 重寄订单 详情 — 创建后查看 Resend Order。
- 按起始位置获取 Shipping Fees — Return(入库)费用预览的对应端点。
授权
Your API key
Your API token — keep this private
查询参数
Comma-separated list of return inventory IDs to price the resend for. All IDs must belong to the same warehouse.
ISO3 destination country code
Destination postal code
Maximum number of service-type fee options to return
必填范围:
x >= 0响应
Success
List of available resend service types with their shipping fee