DEV

Type.

Constraint

A constraint is an object that is required when applying a countryConstraint to a serviceLevel. These constraints are typically based on price, quantity, volume, or weight.

Fields

createdAt

DateTime!

Required

When this Constraint was created.

createdBy

ID!

Required

The user who created the Constraint.

id

ID!

Required

A unique identifier for the Constraint.

max

Decimal

The maximum amount that applies to the Constraint.

min

Decimal

The minimum amount that applies to the Constraint.

Required

Indicates what type of value the min and max fields represent.

unitOfMeasure

ConstraintUnitCode!

Required

Represents the unit based on the type that applies to the Constraint.

updatedAt

DateTime!

Required

When this Constraint was most recently updated.

updatedBy

ID!

Required

The user who most recently updated the Constraint.

Was this page helpful?