DOCS

Fulfillment center 생성

Fulfillment center 생성

GraphQL

여러 location에서 order를 fulfill하거나 primary business address가 아닌 location에서 fulfill하는 경우 fulfillment center 생성이 중요합니다. shipmentCreateWorkflow 사용 시 shipmentCartons에 이 fulfillment center를 전달하여 shipment의 origin을 지정할 수 있습니다. Dashboard에서 order를 fulfill하는 경우 label creation page에 fulfillment center option으로 표시됩니다.

Mutation input 준비 

fulfillmentCenter 생성 시 성공적으로 생성되려면 여러 required field가 있습니다. 아래에 나열되어 있습니다.

  • name: company가 fulfillmentCenter에 사용하는 name입니다.
  • party: 생성한 party의 ID입니다. partyId를 생성하는 가장 좋은 방법은 landed cost를 calculate하고 지정한 origin에 사용된 partyId를 사용하는 것입니다.

API로 fulfillment center 관리 

다음 mutation으로 fulfillmentCenters를 생성하고 delete할 수 있습니다.

1mutation {
2 fulfillmentCenterCreate(
3 input: { name: "WKC", party: "party_55cdcd5e-01ac-4e35-afc0-7a17086cfdcf" }
4 ) {
5 id
6 party {
7 location {
8 administrativeArea
9 countryCode
10 id
11 locality
12 line1
13 postalCode
14 }
15 }
16 name
17 }
18}

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