supplyArchiveShipmentHtsCodes
Archives HTS (Harmonized Tariff Schedule) codes from supply shipments.
Authentication
Requires authentication and the supply:manage_shipment_hts_codes permission.
Behavior
- Archives one or more HTS codes from shipments in a single request.
- Each archive operation requires the HTS code ID and shipment ID.
- The mutation is processed asynchronously and returns a process ID for tracking.
Validation Rules
- A maximum of 50 HTS codes can be archived per request.
- Each HTS code must exist and belong to the specified shipment.
- Already archived HTS codes cannot be archived again.
Possible Errors
You can archive 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.HTS code is already archived- The HTS code was already archived.
supplyArchiveShipmentHtsCodes(
input: ArchiveShipmentHtsCodesInput!
): AsynchronousActionResponse!
Arguments
supplyArchiveShipmentHtsCodes.input ● ArchiveShipmentHtsCodesInput! non-null input
Parameters for ArchiveShipmentHtsCodes
Type
AsynchronousActionResponse object
Asynchronous action response type