API の例
landedCostCreate 使用時は currencyCode と endUse の渡しが必須です。また、元の shipment rating ワークフローで取得した rootId と shipmentRatingId も必須です。関税、手数料、税のリストを任意で提供できます。これらの詳細を提供する場合、amount フィールドの値を決定するために使用した 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
Landed Cost を作成
配送レートから Landed Cost を作成する方法を学びます。GraphQL
Zonos で配送レートを計算し、業務を支援する税計算を別手段で行うシナリオでは、
createLandedCostミューテーションを使用できます。このミューテーションにより、Zonos が関税、税、手数料を計算せずに、注文作成に必要な Landed Cost を作成できます。