DOCS

Shipment automation rules

정의한 조건에 따라 shipment 생성 시 자동으로 수정합니다.

Shipment automation rules는 shipment data에 따라 shipment 생성 시 조정합니다. rule을 한 번 정의하면 Zonos가 일치하는 모든 shipment에 적용합니다. 각 shipment마다 service level, packaging, signature를 수동으로 설정할 필요가 없습니다.

각 rule은 expression 쌍입니다.

  • rule이 적용되는 시점을 결정하는 condition
  • condition이 일치할 때 shipment를 변경하는 하나 이상의 actions

shipment이 생성될 때마다 rule이 자동으로 실행됩니다.

Rule 작동 방식 

각 rule은 다음으로 구성됩니다.

Part↕Description↕
Conditionshipment data에 따라 rule이 적용되는 시점(아래 condition fields 참조).
Actionscondition이 일치할 때 shipment에서 rule이 변경하는 내용(아래 actions 참조).
Starts atrule이 유효해지는 날짜. 비어 있으면 rule이 비활성화됩니다.
Ends atrule이 유효하지 않게 되는 날짜. 비어 있으면 종료 날짜가 없습니다.

Condition fields 

condition이 참조할 수 있는 shipment에 대한 read-only facts입니다. condition은 이를 비교할 수 있지만 actions는 변경할 수 없습니다.

Weight and dimensions

Field↕Type↕Description↕
weightNumbershipment의 총 weight.
weight_unitStringweight 단위(예: lb, kg, oz).
dimension_unitStringdimension 단위(예: in, cm).

Geography

Field↕Type↕Description↕
ship_to_countryCountrydestination country.
ship_from_countryCountryorigin country.
ship_to_stateStringdestination state 또는 province code.
ship_to_postal_codeStringdestination postal code.

Shipment flags

Field↕Type↕Description↕
is_domesticBooleanorigin과 destination country가 일치하면 true.

Customs and compliance

Field↕Type↕Description↕
ddpBooleanshipment이 DDP(duties prepaid)인지 여부.
dduBooleanshipment이 DDU(duties unpaid)인지 여부.
base_currencyCurrencymerchant의 base currency.
hs_codesString listshipment의 모든 HS code.
countries_of_originString list모든 품목의 country of origin.

Monetary amounts

Field↕Type↕Description↕
items_totalMoney품목의 총 value.
shipping_totalMoneyshipping cost.
duty_totalMoney총 duty amount.
tax_totalMoney총 tax amount.
grand_totalMoneygrand total(items_total + shipping_total + duty_total + tax_total).

Item data

Field↕Type↕Description↕
sku_listString list주문의 모든 SKU.
item_countNumbershipment의 총 품목 수.

Actions 

rule이 일치하면 actions가 아래 fields에 value를 할당합니다. 모든 actions 실행 후 변경된 value가 shipment에 다시 적용됩니다.

Action↕Type↕What it does↕
service_levelStringcode 또는 ID로 shipment의 service level을 설정합니다.
package_typeString모든 carton의 packaging type을 설정합니다.
signature_requiredBooleantrue이면 각 carton에 direct signature가 필요합니다. false이면 signature 없음으로 설정합니다.
insuranceBooleantrue이면 shipment을 전체 items_total로 insure합니다. false이면 declared value를 0으로 설정합니다.
customs_descriptionStringshipment의 모든 품목에 customs description을 설정합니다.

Actions 적용 방식

  • action은 기존 value를 변경하는 경우에만 적용됩니다.
  • 알려진 packaging type과 일치하지 않는 package_type value는 건너뜁니다.
  • rule 하나가 실패하면(예: invalid expression) 건너뛰고 log됩니다. 다른 rule을 차단하거나 shipment을 실패시키지 않습니다.

Examples 

merchant가 shipment automation rules를 사용하는 일반적인 방법.

  • 특정 weight 이상 shipment에 signature를 요구하고 packaging type을 설정합니다.
  • high-value DDP shipment에 insurance를 추가합니다.
  • 특정 제품 category의 품목에 customs description을 설정합니다.
  • 특정 destination shipment의 service level을 upgrade합니다.

Rules 설정 

계정에 shipment automation rules를 생성하려면 Zonos representative에게 문의하세요. 일치시키려는 condition과 적용하려는 actions를 공유하면 Zonos team이 rule을 구성합니다.

Applied rules 감사 

rule이 shipment에 적용될 때마다 Zonos는 affected fields의 before 및 after value를 캡처하는 applied-rule entry를 기록합니다. 이러한 entry는 shipment에서 사용할 수 있어 어떤 rule이 실행되었고 무엇을 변경했는지 정확히 감사할 수 있습니다.

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