GraphQL
Zonos で配送レートを計算し、業務を支援する税計算を別手段で行うシナリオでは、createLandedCost ミューテーションを使用できます。このミューテーションにより、Zonos が関税、税、手数料を計算せずに、注文作成に必要な Landed Cost を作成できます。
createLandedCost
landedCostCreate 使用時は currencyCode と endUse の渡しが必須です。また、元の配送レートワークフローで取得した rootId と shipmentRatingId も必須です。関税、手数料、税のリストを任意で提供できます。これらの詳細を提供する場合、amount フィールドの値を決定するために使用した amount と formula の送信が必須です。
landedCostCreate
currencyCode
endUse
rootId
shipmentRatingId
amount
formula
mutation CreateLandedCost($input: LandedCostCreateInput!) {
landedCostCreate(input: $input) {
id
landedCostGuaranteeCode
taxes {
item {
sku
}
amountSubtotals {
items
taxes
shipping
shipmentRating {
shipmentRatingCartons {
carton {
items {
LandedCostCreateInput
Landed Cost を作成 - GraphQL
Landed Cost を作成
配送レートから Landed Cost を作成する方法を学びます。GraphQL
Zonos で配送レートを計算し、業務を支援する税計算を別手段で行うシナリオでは、
createLandedCostミューテーションを使用できます。このミューテーションにより、Zonos が関税、税、手数料を計算せずに、注文作成に必要な Landed Cost を作成できます。API の例
landedCostCreate使用時はcurrencyCodeとendUseの渡しが必須です。また、元の配送レートワークフローで取得したrootIdとshipmentRatingIdも必須です。関税、手数料、税のリストを任意で提供できます。これらの詳細を提供する場合、amountフィールドの値を決定するために使用したamountとformulaの送信が必須です。mutation CreateLandedCost($input: LandedCostCreateInput!) {landedCostCreate(input: $input) {idlandedCostGuaranteeCodetaxes {amountformulaitem {idskuamount}}amountSubtotals {itemstaxesshipping}shipmentRating {shipmentRatingCartons {carton {items {item {skuamountid}}}}}}}LandedCostCreateInput
landedCostCreate
このページは役に立ちましたか?