DEV

Input.

ClassificationsCalculateWorkflowInput

Business logic for classificationsCalculateWorkflow.

Fields

draftIds

•

[ID!]

Limit the step to these drafts. Omit to classify every draft in the operation.

hsCodeType

•

HsCodeType

Which type of HS code to return. Use EXPORT with shipFromCountry to feed exportClassificationsInferWorkflow.

includeImage

•

Boolean

Send the draft image to classification.
The classification level to run.

marketProfile

•

String

The organization's product profile, describing what types of goods it specializes in.

providedHsCodeTreatment

•

HsCodeProvidedTreatment

How a draft's customer-provided hsCode is used.

shipFromCountry

•

CountryCode

The country goods ship from; required for EXPORT codes.

shipToCountries

•

[CountryCode!]

The ship-to countries to classify for.

useValidatedCategories

•

Boolean

Use categories as corrected by categoriesValidateWorkflow (true) or the draft's own (false).

Was this page helpful?


Get support·Legal docs·© 2026 Zonos