supplyCreateShipmentHtsCodes
Creates HTS (Harmonized Tariff Schedule) codes for supply shipments.
Authentication
Requires authentication and the supply:manage_shipment_hts_codes permission.
Behavior
- Creates one or more HTS codes for shipments in a single request.
- Each HTS code requires a shipment ID and the HTS code value.
- Optionally, you can provide a description and duty rate.
- The mutation is processed asynchronously and returns a process ID for tracking.
Validation Rules
- A maximum of 50 HTS codes can be created per request.
- Each shipment must exist and belong to the specified brand.
- The HTS code value is required for each entry.
- Duplicate HTS codes for the same shipment are not allowed.
Possible Errors
You can create a maximum of 50 HTS codes at a time- The request exceeds the batch limit.Shipment with ID {id} not found- The specified shipment does not exist.HTS code {code} already exists for this shipment- Duplicate HTS code.
supplyCreateShipmentHtsCodes(
input: CreateShipmentHtsCodesInput!
): AsynchronousActionResponse!
Arguments
supplyCreateShipmentHtsCodes.input ● CreateShipmentHtsCodesInput! non-null input
Parameters for CreateShipmentHtsCodes
Type
AsynchronousActionResponse object
Asynchronous action response type