API examples
landedCostCreate 사용 시 currencyCode와 endUse를 전달해야 합니다. Original shipment rating workflow에서 obtain한 rootId와 shipmentRatingId도 전달해야 합니다. Duty, fee, tax list를 optional로 제공할 수 있습니다. 이 detail을 제공할 때 amount field에 사용된 value를 결정하는 데 사용된 amount와 formula를 전송해야 합니다.
1
mutation CreateLandedCost($input: LandedCostCreateInput!) {2
landedCostCreate(input: $input) {3
id4
landedCostGuaranteeCode5
taxes {6
amount7
formula8
item {9
id10
sku11
amount12
}13
}14
amountSubtotals {15
items16
taxes17
shipping18
}19
shipmentRating {20
shipmentRatingCartons {21
carton {22
items {23
item {24
sku25
amount26
id27
}28
}29
}30
}31
}32
}33
}GraphQL API ReferenceTypes, inputs, and operations used in this guide
INPUTS
MUTATIONS
Create a landed cost
Shipment rating에서 landed cost를 생성하는 방법을 알아보세요.GraphQL
Zonos로 shipment rating을 calculate하지만 business를 지원하기 위해 tax를 calculate하는 다른 수단이 있는 scenario에서는
createLandedCostmutation을 사용할 수 있습니다. 이 mutation은 Zonos가 duty, tax, fee를 calculate하지 않고 order creation에 필요한 landed cost를 생성할 수 있게 합니다.