DOCS

Landed cost 생성

배송 요금으로부터 landed cost를 생성하는 방법을 알아보세요.

GraphQL

Zonos로 배송 요금은 계산하지만, 사업 운영을 위해 세금은 다른 방식으로 계산해야 하는 경우 createLandedCost mutation을 사용할 수 있습니다. 이 mutation을 사용하면 Zonos가 관세, 세금, 수수료를 계산하지 않고도 주문 생성에 필요한 landed cost를 생성할 수 있습니다.

API 예제 

landedCostCreate를 사용할 때는 currencyCodeendUse를 반드시 전달해야 합니다. 또한 원래 배송 요금 워크플로우에서 확인한 rootIdshipmentRatingId도 함께 전달해야 합니다. 관세, 수수료, 세금 목록은 선택적으로 제공할 수 있습니다. 이러한 세부 정보를 제공할 때는 amount 필드 값을 산출하는 데 사용된 amountformula를 함께 전송해야 합니다.

1mutation CreateLandedCost($input: LandedCostCreateInput!) {
2 landedCostCreate(input: $input) {
3 id
4 landedCostGuaranteeCode
5 taxes {
6 amount
7 formula
8 item {
9 id
10 sku
11 amount
12 }
13 }
14 amountSubtotals {
15 items
16 taxes
17 shipping
18 }
19 shipmentRating {
20 shipmentRatingCartons {
21 carton {
22 items {
23 item {
24 sku
25 amount
26 id
27 }
28 }
29 }
30 }
31 }
32 }
33}
GraphQL API ReferenceTypes, inputs, and operations used in this guide

이 페이지가 도움이 되었나요?


이 페이지에서: