Retrieve HS Code from product variants in order shipment
We need te retrieve the HS Code from a product variant in a order shipment.
The only way I see is by getting the article number (or EAN/SKU) from the shipment product, retrieve all the product variants from the webshop and loop trough the variants until you find the product.
Is this the only way or is there a faster, more safe and more logical way?
Thanks in advance!