Skip to main content

supplyUpdateShipmentHtsCodes

Updates HTS (Harmonized Tariff Schedule) codes for supply shipments.

Authentication

Requires authentication and the supply:manage_shipment_hts_codes permission.

Behavior

  • Updates one or more HTS codes for shipments in a single request.
  • Each update requires the HTS code ID and shipment ID.
  • You can update the HTS code value, description, and/or duty rate.
  • The mutation is processed asynchronously and returns a process ID for tracking.

Validation Rules

  • A maximum of 50 HTS codes can be updated per request.
  • Each HTS code must exist and belong to the specified shipment.
  • Duplicate HTS codes for the same shipment are not allowed.

Possible Errors

  • You can update a maximum of 50 HTS codes at a time - The request exceeds the batch limit.
  • HTS code with ID {id} not found - The specified HTS code does not exist.
  • HTS code does not belong to shipment {id} - Shipment mismatch.
supplyUpdateShipmentHtsCodes(
input: UpdateShipmentHtsCodesInput!
): AsynchronousActionResponse!

Arguments

supplyUpdateShipmentHtsCodes.input ● UpdateShipmentHtsCodesInput! non-null input

Parameters for UpdateShipmentHtsCodes

Type

AsynchronousActionResponse object

Asynchronous action response type