DEV

Type.

CountryConstraint

A CountryConstraint can be assigned to a ServiceLevel to limit countries that are supported by a given ServiceLevel. These can also be used to limit shipments supported by the serviceLevel and origin/destination based on value, weight, quantity, or volume of given items in a shipment.

Fields

constraints

•

[Constraint]

Represents a constraint around a specific attribute that applies to all countries.

createdAt

•

DateTime!

Required

When this CountryConstraint was created.

createdBy

•

ID!

Required

The user who created the CountryConstraint.

dutyTaxBilling

•

BillingOptionCode

Indicates the type of billing option that is supported.

id

•

ID!

Required

A unique identifier for the CountryConstraint.

incoterm

•

[IncotermCode!]

List of incoterms supported by the CountryConstraint.

message

•

String

An optional consumer-facing message shown when this CountryConstraint blocks a service level from rating. When null, the service level is dropped silently.

organizationId

•

ID

The organization this CountryConstraint applies to. When null, the CountryConstraint is a global default that applies to all organizations.

shipFromCountryCodes

•

[CountryCode!]!

Required

List of ISO 3166 country codes that apply in the ship from location.

shipToCountryCodes

•

[CountryCode!]!

Required

List of ISO 3166 country codes that apply in the ship to location.

transitTime

•

TransitTime

TransitTime breakdown that applies to the CountryConstraint.

updatedAt

•

DateTime!

Required

When this CountryConstraint was most recently updated.

updatedBy

•

ID!

Required

The user who most recently updated the CountryConstraint.

weightUnit

•

WeightUnitCode

The WeightUnitCode required by the CountryConstraint.

Was this page helpful?


Get support·Legal docs·© 2026 Zonos