Skip to main content

Documentation Portal

Shipping Method Code

The Global-e extension creates a new shipping method in Magento to support international orders coming in via the Global-e API. The carrier code is named Globale and is titled International Shipping. Per the merchant’s request, additional mapping can be defined to enable different shipping methods in Magento (based on the shipping methods selected in the Global-e checkout).

The Magento database stores the following default values in tables quote_shipping_rate:

magento_database.png

The information is displayed in Magento Admin:

magento_admin.png
Shipping Method Configurations

In Magento Admin you can add mapping that changes the data for a specific carrier.

To configure Global-e shipping methods to Magento shipping methods
  1. In the Global-e admin add a shippingMethodCode.

    In the example below the code shippingMethodCodeis added.

    shippingMethodCode.png
  2. In Magento Admin Navigate to Stores > Configuration > Services > Global-e Integration Lite > Shipment.

    magento_configuration.png
  3. In Map GlobalE shipping method to Merchant Shipping Methods add mapping to change data for a specific carrier.

    map_globale_shipping_method.png
      {
             "geShippingMethodCode":{
                      "newCarrierName":[ "methodCode", "methodName" ]}

Example:

{
    "mor_test":{
        "globaleintegration":[ 
          "SKYNET_EXPRESS_GLOBALE", 
          "Skynet" ]
    }
}
{
    "mor_test":{
        "globaleintegration":[ 
          "SKYNET_EXPRESS_GLOBALE", 
          "Skynet" ]
    }
}