Zonos 시스템의 국제 주문 세부 정보를 조회하려면 GraphQL API를 쿼리할 수 있습니다. 배송 요금 산정, Landed cost 견적 등 주문과 관련된 주문 세부 정보 및 모든 해당 정보를 조회할 수 있습니다.
먼저 Zonos 계정에 등록하고 Zonos Dashboard에서 계정을 구성합니다. 그런 다음 Zonos API 인증에 사용할 API 키를 받을 수 있습니다.
GraphQL의 작동 방식상 API에서 관심 있는 필드만 요청할 수도 있고, 주문과 관련하여 시스템이 보유한 모든 정보를 요청할 수도 있습니다. 선택은 사용자에게 달려 있습니다. 사용 가능한 필드는 GraphQL API reference를 참조하세요.
Landed cost 견적 세부 정보, 배송 요금 산정 세부 정보, 장바구니 세부 정보 등 주문과 관련된 정보는 해당 객체의 필드를 order 쿼리에 추가하여 그래프를 통해 쿼리할 수 있습니다.
order
최소한 API를 쿼리하려면 주문 번호가 필요합니다. GraphQL 요청의 variables에서 orderId 필드로 전달됩니다.
orderId
query order($orderId: String!) {
order(orderId: $orderId) {
# ... other field names here
}
요청을 구성한 후 Zonos API에 POST 요청을 보낼 수 있습니다. API 키로 인증하고 요청에 올바른 버전 헤더를 제공해야 합니다.
POST
POST https://api.zonos.com/graphql
https://api.zonos.com/graphql
accountOrderNumber
amountSubtotals {
duties
taxes
fees
shipping
items
landedCosts {
id
rootId
tariffRate
duties {
amount
currency
formula
item {
description
exchangeRate {
rate
sourceCurrencyCode
targetCurrencyCode
fees {
note
type
taxes {
deMinimis {
method
threshold
shipmentRating {
currencyCode
displayName
minTransitAt
maxTransitAt
details {
carrierCode
amountSubtotals
fuelSurcharge
insuranceCost
otherSurcharge
shipmentRatingCartons
chargeableWeight
carton
length
width
height
weight
shippingProfile
customServiceLevelCode
landedCostMethod
serviceLevel
code
주문 세부 정보 조회
주문 세부 정보 조회
GraphQL로 주문 세부 정보를 조회합니다.Zonos 시스템의 국제 주문 세부 정보를 조회하려면 GraphQL API를 쿼리할 수 있습니다. 배송 요금 산정, Landed cost 견적 등 주문과 관련된 주문 세부 정보 및 모든 해당 정보를 조회할 수 있습니다.
API 키 받기
먼저 Zonos 계정에 등록하고 Zonos Dashboard에서 계정을 구성합니다. 그런 다음 Zonos API 인증에 사용할 API 키를 받을 수 있습니다.
조회할 세부 정보 결정
GraphQL의 작동 방식상 API에서 관심 있는 필드만 요청할 수도 있고, 주문과 관련하여 시스템이 보유한 모든 정보를 요청할 수도 있습니다. 선택은 사용자에게 달려 있습니다. 사용 가능한 필드는 GraphQL API reference를 참조하세요.
Landed cost 견적 세부 정보, 배송 요금 산정 세부 정보, 장바구니 세부 정보 등 주문과 관련된 정보는 해당 객체의 필드를
order쿼리에 추가하여 그래프를 통해 쿼리할 수 있습니다.최소한 API를 쿼리하려면 주문 번호가 필요합니다. GraphQL 요청의 variables에서
orderId필드로 전달됩니다.query order($orderId: String!) {order(orderId: $orderId) {# ... other field names here}}요청 보내기
요청을 구성한 후 Zonos API에
POST요청을 보낼 수 있습니다. API 키로 인증하고 요청에 올바른 버전 헤더를 제공해야 합니다.POST
https://api.zonos.com/graphqlquery order($orderId: String!) {order(orderId: $orderId) {accountOrderNumberamountSubtotals {dutiestaxesfeesshippingitems}landedCosts {idrootIdtariffRateduties {amountcurrencyformulaitem {iddescription}exchangeRate {ratesourceCurrencyCodetargetCurrencyCode}}fees {amountcurrencydescriptionnoteformulatypeitem {iddescription}exchangeRate {rate}}taxes {amountcurrencyformulaitem {iddescription}exchangeRate {rate}}deMinimis {formulamethodnotethresholdtype}shipmentRating {idamountcurrencyCodedisplayNameminTransitAtmaxTransitAtdetails {amountcarrierCodeamountSubtotalsshippingfuelSurchargeinsuranceCostotherSurchargeshipmentRatingCartonschargeableWeightcartonlengthwidthheightweightshippingProfileidcustomServiceLevelCodelandedCostMethodserviceLevelcode이 페이지가 도움이 되었나요?