查询服务级别
要查看商家的可用服务级别,您可以使用以下查询。
查询
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
query {
shippingProfiles {
customServiceLevelCode
id
landedCostMethod
serviceLevel {
availability
carrier {
name
}
carrierApiCode
carrierLabelApiCode
code
deliveryType
id
name
}
}
}
响应
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"data": {
"shippingProfiles": [
{
"customServiceLevelCode": "USPS_PRIORITY_MAIL_INTERNATIONAL",
"id": "shipping_profile_457d4bb6-ef05-4e7e-939e-2a5b7fb2dccf",
"landedCostMethod": "DAP_FORCED",
"serviceLevel": {
"availability": "GENERAL",
"carrier": {
"name": "USPS"
},
"carrierApiCode": "2",
"carrierLabelApiCode": "691",
"code": "usps.priority_intl",
"deliveryType": null,
"id": "service_level_56489602-42fb-4f47-afb3-2135e87d215d",
"name": "USPS Priority Int'l"
}
}
]
}
}
检索服务级别
查看共享客户的可用服务级别。GraphQL
如果您是通过 API 进行发货的 Zonos 合作伙伴,您可以获取可用于这些发货的服务级别列表。