Features and Guides
MID Support
U.S. Customs requires the Manufacturer's Identification Code (MID) for certain shipments to the United States.
What is Manufacturer’s Identification
Manufacturer's Identification (MID) includes details of the manufacturer of the goods which is required in some cases by the US customs. MID includes the full business name and postal address of the manufacturing supplier as well as a specific code based on the manufacturer's name and country.
MID is required for:
Any order shipped to the USA, no matter the value, that includes at least one product manufactured in China/HK.
Any shipment to the USA with a declarative value to customs higher than $2,500 (regardless of the Country of Origin of the products).
Configuration
Configure the following MID fields:
MIDCode: A unique identifier generated from the manufacturer's name and location.
MIDAddress: The full postal address of the manufacturing supplier.
MIDName: The complete business name of the manufacturing supplier.
To generate an MID Code
If the required data is not already available in your system or cannot be obtained from your manufacturer, you can generate the MID code by following the steps below.
Collect Supplier Information: Ensure your manufacturing supplier has provided their complete business name and postal address. This information is essential for defining the MID code.
Generate the MID Code
Identify the two-letter ISO country code for the supplier’s country (e.g., GB for the United Kingdom, NL for the Netherlands, DE for Germany).
Use the first three letters of the supplier's first and second names (if applicable).
Extract the highest numerical digits (up to four) from the address line.
Use the first three letters of the supplier’s city name.
Example
Supplier: Ozrock, 92 Alice Springs Road, Melbourne, Victoria, Australia, 3001
MIDCode: AUOZR92MEL
MID Address and MID Name configuration
No special formatting is required for the MID Address and MID Name fields. These fields should be filled exactly as provided by the supplier's data.
Example
MIDAddress: 92 Alice Springs Road, Melbourne, Victoria, Australia, 3001
MIDName: Ozrock
Adding the MID to SFCC
Ensure the MID information is sent in SendCartV2
API request.
Important! The field names must be set exactly as shown in the example below:
midcode
,midname
, andmidaddress
.
Example
{ "Products": [ { { "AttributeKey":"midcode", "AttributeValue":"**************" }, { "AttributeKey":"midname", "AttributeValue":"**************" }, { "AttributeKey":"midaddress", "AttributeValue":"**************" } } ] }
It needs to implement a handler for the Global-e custom hook “globale.getPLICustomMetadata“ which returns an object with the required information.
Example
function getPLICustomMetadata(pli) { return { midcode: '**************', midname: '**************', midaddress: '**************' }; }