The following classes are used by the API methods defined further in this document.
AdditionalRequiredDocuments
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | Document type code, one of the following:
| |
| String | Document type name. For example: AWB, CommercialInvoiceAndPackingList, Manifest. Max length: 50 chars. | Y |
AddressDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Address line 1. | N |
| String | Address line 2. | N |
| String | Id of the current address from within the address book | N |
| String | Name of the current address from within the address book | N |
| String | City name. | N |
| String | Company name | N |
| String | 2-char ISO country code | N |
| String | E-mail address | N |
| String | Fax | N |
| String | First name | N |
| String | First name in local culture | N |
| Bool | Indicates that the current address can be used as a billing address | N |
| Bool | Indicates that the current address is the default billing address | N |
| Bool | Indicates that the current address is the default shipping address | N |
| Bool | Indicates that the current address can be used as a shipping address | N |
| String | Last name | N |
| String | Last name in local culture | N |
| String | Middle name | N |
| String | Phone #1 | N |
| String | Phone #2 | N |
| String | Salutation or title (e.g. Dr., Mr., etc.). | N |
| String | State or province ISO code such as AZ for Arizona (if applicable) | N |
| String | State or province name | N |
| String | User’s personal ID document number | N |
| Class UserIdNumberType | User’s personal ID document type (e.g. Passport, ID card, etc.) | N |
| String | Zip or postal code | N |
AlternativePaymentRedirectInfo
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | The method (SEN/POST/Redirect) that should be used for | |
| Dictionary <string, string> | The parameters that should be provided with the | |
| String | The URL to the alternative payment gateway. The gateway will provide the GUI for the payment | |
| String | The response may be optionally called after completing an alternative payment to retrieve details about the newly created order |
AppSetting
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Application setting value |
AppSettings
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Dictionary <string, AppSetting> | Dictionary of client-side settings | |
| Dictionary <string, AppSetting> | Dictionary of server-side settings |
AppVersion
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Version identifier of Global-e API | |
| String | Version identifier of Global-e client-side (JS) code |
Attribute
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Custom attribute code denoting a Merchant-specific attribute such as size, color, etc. (to be mapped on the Global‑e side) | |
| String | Code used to identify the attribute type on the Merchant’s site such as “size” for size, “color” for "colour", etc. (to be mapped on the Global‑e side) | |
| String | Attribute name |
billingDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Address line 1. Length: Unlimited. | N |
| String | Address line 2. Length: Unlimited. | N |
| String | City name. Max length: 500 chars. | N |
| String | 2-char ISO country code | N |
| String | Country name. Max length: 255 chars. | N |
| String | E-mail address. Max length: 500 chars. | N |
| String | Fax number. Max length: 250 chars. | N |
| String | Customer’s first name. Max length: 40 chars. No length validation. The rest will be truncated. | N |
| String | Customer’s last name. Max length: 40 chars. No length validation. The rest will be truncated. | N |
| String | Middle name. Max length:40 chars. No length validation. The rest will be truncated. | N |
| String | Phone #1. Max length: 250 chars. | N |
| String | Phone #2. Max length: 250 chars. | N |
| String | Salutation or title (e.g. Dr., Mr., etc.). Max length: 500 chars. | N |
| String | State or province ISO code such as AZ for Arizona (if applicable) | N |
| String | State or province name. Max length: 500 chars. | N |
| String | User’s personal ID document number | N |
| Class UserIdNumberType | User’s personal ID document type. Includes the following fields:
| N |
| String | Internal User identifier on the Merchant site | N |
| String | Zip or postal code. Max length: 250 chars. | N |
Brand
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Brand code on the Merchant’s site (to be mapped on the Global‑e side) | |
| String | Brand name |
CartCultureData
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | ISO culture code. If specified, the textual properties will be returned in the requested culture’s language if available. Texts in English will be returned by default | N |
| String | ISO culture code. Denotes the culture for the products’ textual properties being saved (e.g. Description). If not specified, the Merchant’s default culture will be assumed by default | N |
| String | ISO culture code. Denotes the preferred culture for the checkout page. If not specified, the Merchant’s default culture will be used by default | N |
CartCurrencyData
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | 3-char ISO currency code denoting the end customer’s currency. If not specified, the Merchant’s default currency will be assumed by default | N |
| String | 3-char ISO currency code denoting the original currency on the Merchant’s site (before applying country coefficient and FX conversion). If not specified, the Merchant’s default currency will be assumed by default | N |
CartFreeShippingData
Parameter Name | Name | Name | Mandatory (Y/N) |
---|---|---|---|
| String | Merchant’s free shipping | N |
| Bool | Indicates if the Merchant offers free international shipping to the end customer. TRUE - Free international shipping is offered. FALSE - Free international shipping is not offered. | N |
CartInfo
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Cart token for the cart generated on Global‑e side by |
CartLoyaltyData
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Loyalty code applicable to the Merchant’s site entered by the end customer in Global‑e checkout | N |
| Decimal | The number of loyalty points to be earned for this purchase by the end customer on the Merchant’s site, as specified in the | N |
| Decimal | The number of loyalty points spent for this purchase. The existing loyalty points handling procedure must be applied to the end customer’s user account. Therefore, the “Loyalty points” type discount must not be applied to the order directly but can be used for display purposes elsewhere in the system (i.e. on the end user’s My Account page). | N |
| Decimal | The total number of loyalty points currently available in the end customer’s user account on the Merchant’s site. | N |
CartOTVoucherData
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Amount of the one-time voucher in | N |
| Decimal | One-time voucher code for the cart (for applicable platforms) | N |
| Decimal | One-time voucher currency used for the amount | N |
CartPriceModificationData
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | The | Mandatory for merchants supporting browsing integration |
| Decimal | The | Mandatory for merchants supporting browsing integration |
| Decimal | The | Mandatory for merchants supporting browsing integration |
CartUserDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| List<AddressDetails> | All available addresses are taken from the registered customer address book | N |
| String | Internal User identifier on the Merchant’s site | N |
CartVATRegistrationData
Parameter Name | Type | Description | Mandatory |
---|---|---|---|
| Bool | Indicates if the end customer must not be charged VAT. TRUE - Set to TRUE for registered users who have validated their business entity’s VAT Registration Number with the merchant and are therefore VAT exempted. Customer is not charged VAT. FALSE - Customer is charged VAT. | N |
| String | VAT Registration Number of the end customer’s business entity validated with the merchant | N |
CartVoucherData
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| List<LoyaltyVoucher> | List of available loyalty vouchers for the registered customer | N |
| Class CartOTVoucherData | One-time voucher information | N |
Category
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Category code on the Merchant site (to be mapped on the Global‑e side) | |
| String | Category name |
Challenge3DSInfo
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | The URL for the challenge request to the gateway | |
| Specifies the gateway API type, One of the following possible values of the PaymentSecureGatewayTypes enumeration denoting a type of payment gateway:
| ||
| String | Another parameter that to be sent with the | |
| String | The payment request string is one of the parameters to be sent with the | |
| String | The data that should be passed with the request to | |
| String | The URL that should be called by the client with the | |
| String | Another parameter that to be sent with the |
CheckoutAddress
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Address line 1 | Y |
| String | Address line 2 | N |
| String | City name | Y |
| String | 2-char ISO country code | Y |
| String | State or province ISO code such as AZ for Arizona (if applicable) | N |
| String | 2-char ISO country code | Y |
CheckoutCardDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Card number | Y |
| String | Card CVV number | Y |
| String | Card expiration date (in YYYY-MM-DD format) | Y |
| String | Card owner’s full name | N |
CheckoutCartInfo
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Bool | Indicates if the end customer’s consent to receive emails from merchants should be pre-selected in the Global‑e Checkout. TRUE - Customer consents to receive emails. FALSE - Customer does not consent to receive emails. | N |
| Class UserDetails | Billing details of a registered user (if available on the Merchant’s site). If the | N |
| String | The end customer’s IP address | N |
| String | 2-char ISO country code of the shipping country either pre-defined using geo-location or actively selected by the end customer. This may be different from | N |
| String | ISO culture code. If specified, the textual properties will be returned in the requested culture’s language if available. Texts in English will be returned by default. | N |
| String | 3-char ISO currency code denoting the end customer’s currency. If not specified, the Merchant’s default currency will be assumed by default. | N |
| List<Discounts> | List of JSON-serialized Discounts to be applied to the cart. Discounts of any type (“cart”, “shipping”, etc.) may be specified. | N |
| Bool | Indicates if the end customer must not be charged VAT. This is usually set to TRUE for registered users who have validated their business entity’s VAT Registration Number with the merchant and are therefore VAT exempted. | N |
| nvarchar | Merchant’s free shipping coupon code applied by the end customer. Max length: 50. | N |
co | Decimal | Identifier of the Global‑e’s Local Hub previously returned by API. If not specified, the default Merchant’s Hub will be used instead. | N |
| Decimal | Optional for the merchants not supporting browsing integration. The value is returned from CountryCoefficients API. | N |
| Bool | Indicates if the Merchant offers free international shipping to the end customer. | N |
| String | The loyalty code specified by the end customer (or read from the end customer’s account) on the Merchant’s site. | N |
| Class LoyaltyPoints | LoyaltyPoints contains data about the registered user for applying loyalty points on the Checkout page. | N |
| Decimal | The number of loyalty points to be earned for this purchase by the end customer on the Merchant’s site. | N |
| Decimal | The number of loyalty points to be spent for this purchase by the end customer on the Merchant’s site. | N |
| Decimal | The total number of loyalty points currently available in the end customer’s user account on the Merchant’s site. | N |
| nvarchar | A hash may be optionally generated by the merchant and returned to the merchant with an order API call. This hash may be used for additional cart and order validation purposes on the Merchant’s side. No max length. | N |
| String | The merchant order id, if it is already known, at the point when the user is still in the cart page on the merchant’s store. | N |
| String | 3-char ISO currency code denoting the original currency on the Merchant’s site (before applying country coefficient and FX conversion). If not specified, the Merchant’s default currency will be assumed by default. | N |
| Decimal | Amount of the one-time voucher in | N |
| String | One-time voucher code for the cart (for applicable platforms). | N |
| String | One-time voucher currency used for the amount. | N |
| String | List of available payment instalment amounts. For example: {2,4,6,8} – This indicates that we should allow instalmentsin 2, 4, 6 or 8 instalment options (to be selected by the customer). | N |
| List<Product> | List of Product objects (specified in the request body) | Y |
| String | Currency data is used by Global-e to verify the currency rate and to return the value received in the used currency rate. | Optional, irrelevant for GetCheckoutCartInfo API response |
| Class UserDetails | Shipping details of a registered user (if available on the Merchant’s site). If the If If not specified neither in the | N |
| List<ShippingOption> | List of JSON-serialized Shipping Options available for local shipping of the order from the Merchant to Global‑e’s Local Hub previously returned by ActiveHubDetails API. If the Global-e integration shipping API has been created and enabled for Global‑e on the Merchant’s site, Global‑e will prefer this Shipping Option when posting the order back to the Merchant’s site (using SendOrderToMerchant API). Therefore, all other shipping APIs available for local shipping may be omitted in | N |
| List<KeyValuePair> | List of JSON-serialized Key:Value pairs denoting the values of the parameters specified in the respective Merchant’s REST API action URLs. For example, to instruct Global‑e to include “en-AU” locale in the SendOrderToMerchant call for this cart, | N |
| Class CartUserDetails | All available details of the user including all relevant addresses. If | N |
| String | VAT Registration Number of the end customer’s business entity validated with the merchant. | N |
| nvarchar | Code used on the merchant’s side to identify the web store where the current cart is originating. This code should be used when a multi-store setup is on the merchant’s site. Max length: 100 | N |
| String | Code used on the merchant’s side to identify the web store instance where the current cart is originating from. This code should be used in case of multi-store domains set up on the merchant’s site. | N |
CheckoutField
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | In some cases, some fields should be prefilled with default values (for example, Hong Kong city in the Hong Kong country). | |
| String | Additional textual information about the field (to be used as a watermark, tooltip, and more). | |
| Bool | Indicates if field is mandatory before completing or paying an order. TRUE - Field is mandatory before completing/paying order. FALSE - Field is not mandatory. | |
| Bool | Indicates if this field is mandatory for final shipping prices (due to remote area surcharge, which requires additional information and not just the country). This setting applies to City and ZipCode or if the Merchant chooses not to subsidize the remote area surcharge. TRUE - Field is mandatory for shipping price calculations. FALSE - Field is not mandatory. | |
| Bool | Indicates if this field is mandatory for tax calculation. After all field settings are TRUE and have values, the TRUE - Field is mandatory for tax calculations. FALSE - Field is not mandatory. | |
| Decimal | The maximum number of characters allowed for a textual field (string). If it is not textual, this field is null. | |
| String | Name of the checkout field in English. | |
| String | Name of the checkout field in the checkout culture. | |
| String | For textual fields, if applicable, a regex indicating the required field validation (preferably on the client side). | |
| String | Type of the field (string, numeric, list). |
CheckoutInfo
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Unique identifier for the cart generated on the Global-e side. This identifier is required for additional checkout calls | |
| List<CheckoutField> | Information required to populate and display the relevant address and customer fields on the checkout page. Each field displays information, validation information, and flags indicating which process requires a value in the field. | |
| List<Country> | List of all the countries supported by the Merchant. Each country has a flag to show whether it is operated by Global-e. | |
| Bool | Indicates if the entire cart contains restricted products that cannot be shipped to the current shipping destination. TRUE - Entire cart contains restricted products. The message shown to the customer varies according to the Merchant’s preferences. FALSE - Cart is not all restricted. When calling | |
| List<CheckoutPaymentMethod> | List of payment methods that are available to the customer. Each payment method includes an icon representing the payment method that can be displayed on the checkout page and information indicating if the payment method involves a credit/debit card or an alternative payment option. | |
| List<Product> | List of products that cannot be shipped to the current shipping destination due to restriction. This list only returns the following properties for each product:
If this list contains restricted products, all other lists in the response are empty. | |
| List<CheckoutShippingOption> | List of shipping options that are available to the customer. Each shipping option that supports pre-payment of duties and taxes also includes the calculated duties and taxes. |
CheckoutInfoGiftCard
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Dictionary<String, String> | The gift card fields filled in the checkout | |
| Class ValidateGiftCardResponse | The gift card validation result |
CheckoutPaymentMethod
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | URL Full URL of the icon image for this payment method | |
| Bool | Indicates if this payment method denotes a card (rather than an alternative payment method). TRUE - Payment performed with card. FALSE - Payment performed by method other than card. | |
| String | Payment method name | |
| String | Unique identifier of the payment method in the Global-e system |
CheckoutShippingOption
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | Minimum number of days for delivery to the end customer’s shipping country for this shipping option | N |
| Decimal | Maximum number of delivery days to the end customer’s shipping country for this shipping option | N |
| Decimal | One of the possible values of | |
| Decimal | Shipping price in end customer currency for this cart | |
| Decimal | Shipping price in end customer currency for this cart, before applying shipping discounts | |
| String | Unique identifier of the shipping method in the Global-e system | |
| String | Shipping method type name | |
| Bool | Indicates if taxes & duties may be prepaid for this shipping option |
ForceDDP
Contains one of the following possible values of the ForceDDPTypes
enumeration:
ForceDDPType Option Value | Name | Description |
---|---|---|
0 | Do Not Force DDP | Pre-payment of taxes & duties must NOT be forced. |
1 | Force DDP | Pre-payment of taxes & duties must be forced. The cost should be paid by the end customer. |
2 | Hidden Force DDP | Pre-payment of taxes & duties must be forced. The cost should be subsidized by the Merchant. |
CheckoutTaxInfo
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Bool | Indicates if taxes and duties have been successfully calculated for this cart and can be prepaid TRUE - Taxes and duties can be prepaid. FALSE - Taxes and duties cannot be prepaid. | |
| Decimal | Clearance fees value in the end customer’s currency for this cart | |
| Decimal | Taxes & duties value in the end customer’s currency for this cart |
City
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | City code (unique in the respective Region) | |
| String | City name |
Country
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | 2-char ISO country code | |
| String | 3-char ISO currency code | |
| Class VATRateType | Default (most widely used) VAT rate type or class for this country. | N |
| Bool | Flag to be used as a Mode indicator. Countries that are not operated by Global‑e can still be available for selection as a shipping destination on the Merchant site. However Global‑e functionality is disabled for such countries. TRUE - Country is operated by Global-e. FALSE - Country is not operated by Global-e. | |
| Bool | Indicates if State or province (region) is mandatory for addresses in this country. TRUE - State is mandatory for address. FALSE - State is not mandatory for address. | |
| String | Country name | |
| String | URL of a country-specific site owned by the Merchant. Used to allow redirection to the Merchant’s country-specific domain for a selected country. | |
| Bool | Indicates if fixed product prices are allowed for this country. Product prices may be fixed only in the Default Currency for this Country. TRUE - Prices can be fixed. FALSE - Prices cannot be fixed. | N |
UseCountryVAT | Bool | TRUE if VAT rate specific to this shipping country must be applied to the product prices. Otherwise, VAT rates defined for the products on the Merchant’s site must be used. This setting is used to support trade agreements between the countries such as EEA, when the end customer must pay VAT for the shipping country in certain cases. | N |
CountryCoefficient
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | Depending on VATRateType . This value is calculated as follows:
| |
| String | 2-char ISO country code | |
| Decimal | This attribute is applicable only to the Country level (i.e. not applicable to the | N |
| String | Product class code used by the Merchant to classify products for using different country coefficient rates per classes of products instead of the single country level default (when no rate is defined for a certain product class, the country level default rate should be used by the Merchant for the respective product). | |
| Decimal | Country Coefficient rate decimal value. All the prices displayed to the end customer shipping to the country involved must be multiplied by this value. |
TypIncludeVAT
The IncludeVATOptions
enumeration is designated to control the way VAT is handled in browsing on the Merchant’s site and in checkout on Global‑e.
Following is the list of IncludeVATOptions
values and the expected results for the sample Product.
In the table below we are considering a product with the original cost in the UK = 100 GBP before VAT to be shipped to Germany (with country coefficient Rate=1 and user selected currency=GBP, for simplicity).
For this sample product UK VAT=20%, DE Duties Total=17%:
IncludeVAT Option Value | Description | Price In Browsing | Price In Checkout | Price Paid To Merchant (incl. VAT) | Checkout Duties Total | Checkout Total |
---|---|---|---|---|---|---|
0 | Hide VAT (default) | 100 | 100 | 120 | 17 | 117 |
2 | Show VAT | 120 | 100 | 120 | 17 | 117 |
4 | “Pocket” VAT (increase the original price by the value of the respective product’s VAT) | 120 | 120 | 144 | 20.4 (17%) | 140.4 |
6 | Force VAT (used to support trade agreements between the countries such as EEA, when the end customer must pay VAT; for simplicity assuming | 120 | 120 | 120 | 0 | 120 |
8 | Force & Hide VAT (used to support trade agreements between the countries such as EEA, when end customer must pay VAT but VAT is not shown in browsing; for simplicity assuming | 100 | 120 | 120 | 0 | 120 |
CreateOrderFinalCustomerPayments
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | The final custom clearance fee for the order | |
| Decimal | The final cost of duties for the order | |
| Decimal | The final shipping price for the order | |
| Decimal | Taxes applicable for the order |
CreateSyncOrderData
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | The custom clearance authorization token | |
| Provides details about the customer payment | ||
| String | An external operation ID | |
| Bool | Identifies if taxes were prepaid.
| |
| Class eSyncOrderType | The type of order. Includes the following fields:
| |
| String | Order source |
Culture
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | ISO culture code | |
| Bool | Identifies if language is a “right-to-left” language such as Hebrew and Arabic. TRUE if “right-to-left” language FALSE if not “right-to-left” language | |
| String | Culture name in the respective language, such as “עברית” for he-IL (Hebrew-Israel) culture | |
| String | Culture name |
Currency
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | 3-char ISO currency code | |
| Decimal | The number of decimal places indicating the fractional (“cents”) part of the price. For example, Bahraini Dinar “cents” has 3 decimal places, US Dollar has 2, and Japanese Yen has 0. | |
| String | Currency name | |
| String | Currency symbol (e.g. $ for USD) |
CurrencyLocale
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Currency symbol (e.g. $ for USD) | |
| Decimal | The number of decimal places indicating the fractional (“cents”) part of the price. For example, Bahraini Dinar “cents” has 3 decimal places, US Dollar has 2, and Japanese Yen has 0. |
CurrencyRate
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | Currency rate decimal value | |
| String | Currency data used by Global‑e to verify the rate | |
| String | 3-char ISO currency code. | |
| String | 3-char ISO currency code |
CustomerDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Address line 1. Unlimited length. | N |
| String | Address line 2. Unlimited length. | N |
| String | Id of the current address from within the address book. Max length:255 chars. | N |
| String | Name of the current address from within the address book. Max length:255 chars. | N |
| String | City name. Max length: 500 chars. | N |
| String | State or province name. Max length:255 chars. | N |
| String | The collection point ID. | N |
| String | Company name. Max length: 250 chars. | N |
| String | 2-char ISO country code | N |
| String | 2-char ISO country code | N |
| String | Country name. Max length: 255 chars. | N |
| String | Email address. Max length: 500 chars. | N |
| String | Fax number. Max length: 250 chars. | N |
| String | First name. Max length:40 chars. No length validation. The rest will be truncated. | N |
| String | First name in local culture, for example, Kana Japanese dialect. Max length:40 chars. | N |
| String | Last name. Max length:40 chars. No length validation. The rest will be truncated. | N |
| String | Last name in local culture. Max length:40 chars. | N |
| String | Middle name. Max length:40 chars. No length validation. The rest will be truncated. | N |
| String | Phone #1. Max length: 250 chars. | N |
| String | Phone #2. Max length: 250 chars. | N |
| String | Salutation or title (e.g. Dr., Mr., etc.). Max length: 500 chars. | N |
| String | State or province ISO code such as AZ for Arizona (if applicable). 2 chars. | N |
| String | Zip or postal code. Max length: 250 chars. | N |
CustomProductAttribute
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Custom product attribute name that is used for product personalization by the end customer (e.g. engraving) | |
| String | Custom product attribute value that is used for product personalization by the end customer (e.g. engraving). |
DeliveryAddress
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Address line 1. | |
| String | Address line 2. | |
| String | City name. | |
| String | 2-char ISO country code | |
| String | Zip or postal code. | |
| String | Province code. |
DeliveryAdviceInformation
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Commercial invoice number of the parcel if it exists on the parcel level, otherwise order commercial invoice number. Can be null if a commercial invoice does not exist for the order. | |
| String |
| |
| String | Code used to identify the Parcel on the Merchant’s site | |
| String | Value of all products in the parcel |
Discount
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | One of the following possible values of | N |
| String | Merchant Coupon Code used for this discount (applicable to coupon-based discounts only) | N |
| String | Discount textual description | N |
| String | Discount code used to identify the discount on the Merchant’s site. This property may be optionally specified in the | N |
| Decimal | One of the following possible enum values of | |
| Decimal | Discount value as displayed to the customer, after applying country coefficient, FX conversion and | |
| Decimal | VAT rate that would be applied to this discount if the order was placed by the local customer. This value must be specified if | N |
| String | Code used on the Merchant’s site to identify the Loyalty Voucher that this discount is based on | N |
| String | Discount name | |
| Decimal | Discount value in original Merchant currency including the local VAT, before applying any price modifications. This property always denotes the discount value in the default Merchant’s country, regardless of | |
| String | Identifier of the product cart item related to this discount on the Merchant’s site. This property may be optionally specified in the | N |
| Decimal | The VAT rate applied to this discount |
DiscountType Options
One of the following possible values of DiscountTypeOptions
enumeration denoting a type of discount:
DiscountType Option Value | Name | Description |
---|---|---|
1 | Cart discount | Discount related to volume, amount, coupon or another promotion value. |
2 | Shipping discount | Discount aimed to sponsor international shipping. |
3 | Loyalty points discount | Discount applied against the Merchant’s loyalty points to be spent for this purchase. |
4 | Duties discount | Discount aimed to sponsor taxes & duties pre-paid by the end customer in Global‑e checkout. |
5 | Checkout Loyalty Points Discount | Discount applied against the Merchant’s loyalty points in Global‑e checkout. |
6 | Payment Charge | Discount aimed to sponsor “Cash on Delivery” fee. |
CalculationMode Options
One of the following possible values of CalculationModeOptions
enumeration denoting the calculation mode of a discount to be implemented by GEM:
CalculationMode Option Value | Name | Description |
---|---|---|
1 (default) | Percentage discount | The discount value specified in Note: The discount value provided is not a percentage. It represents the discount amount in your domestic currency. The ratio of the discount amount to the domestic price is calculated in the shopper's currency. This same ratio is then applied and deducted in the shopper's currency. |
2 | Fixed in original currency | The discount value specified in |
3 | Fixed in customer currency | The discount value specified in |
Discounts
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Merchant Coupon Code used for this discount (applicable to coupon-based discounts only). Max length: 100 chars. | N |
| String | Discount textual description. Length: Unlimited. | N |
| Decimal | One of the following possible values of
| N |
| Decimal | Discount value in end customer’s currency (specified in | N |
| String | Discount name. Length: Unlimited. | N |
| Decimal | Discount value in the currency defined in the | Y |
| Decimal | The VAT rate applied to this discount | Y |
discountsList
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Merchant | N |
| String | Discount textual description. Length: unlimited. | N |
| String | Discount code used to identify the discount on the Merchant’s site. This property may be optionally specified in the | N |
| Decimal | For further details about discounts, see Discounts. | |
| Dtring | Discount name. Length: unlimited. | Y |
| Currency | Discount value in original Merchant currency including the local VAT, before applying any price modifications. This property always denotes the discount value in the default Merchant’s country, regardless of Max length: 18,4. | Y |
| String | Identifier of the product cart item related to this discount on the Merchant’s site. This property may be optionally specified in the Max length: 50 chars. | N |
DTBreakdown
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | Duties that are applied. | |
| Decimal | Other DT fees that are applied. | N |
| Decimal | Sales taxes that are applied. |
DutiesAndTaxesResponse
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | Value of the duties according to the cart details including the respective shipping option price | |
| Decimal | Value of the taxes (VAT/sales tax/GST) according to the cart details including the respective shipping option price |
ErrorInfo
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | The error code | |
| String | The error message | |
| String | The error description |
eSyncOrderType
The type of order. Includes the following:
None = 0
Raffle = 1
FlashSale = 2
Collection = 3
FinalCustomerPayments
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | The customs clearance fee. | |
| Decimal | The cost of duties. | |
| Decimal | The shipping price. | |
| Decimal | The tax component of the customer payment. | |
| Decimal | The total customer payment. |
GetOrdersManifestRequest
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | The Merchant hub code that indicates which hub the parcels or orders are being dispatched from. NOTE: | N |
| List<string> | The list of Merchant order ids to manifest | |
| List<string> | The list of order IDs to manifest. | |
| Decimal | The number of outer boxes that are used through the manifest processing for | N |
GiftCardData
The GiftCardData
model is used for most calls where multiple cards are passed. See Base Gift Card Model.
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | Total available amount in customer currency | |
| Decimal | Total available amount in gift card currency | |
| Decimal | Amount to redeem in gift card currency | |
| Decimal | Amount to redeem in gift user currency | |
| Dictionary<string, string> | Key value pairs of each field defined in the configuration | |
| Decimal | id of the card in the DB table on the Global‑e side | |
| String | User currency code (checkout currency) | |
| String | Code of the error | N |
| String | Error message | N |
| String | Gift card currency code | |
| Bool | The refund status. TRUE - Refund was successfully applied to the gift card FALSE - Refund failed or there is no refund on the card | |
| String | The value that is set as a result of card redemption (should be provided by the platform) | |
| Decimal | The amount of refunded money in customer currency | |
| Decimal | The amount of refunded money in gift card currency |
HubDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Address line 1 | |
| String | Address line 2 | |
| String | City name | |
| String | 2-char ISO country code | |
| String | Country name | |
| String | E-mail address | |
| String | Fax | |
| Decimal | Hub identifier on Global‑e system | |
| String | Name of the Hub | |
| String | Phone #1 | |
| String | Phone #2 | |
| String | State or province ISO code such as AZ for Arizona (if applicable) | |
| String | State or province name | |
| String | Zip or postal code |
InitCheckoutResponse
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Cart token for the cart generated on the Global‑e side. | |
| Class CurrencyLocale | Currency price display formatting information according to the received | |
| List of discounts with calculated international prices. | ||
| List of products with calculated international prices. |
InternationalDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | The last 4 digits of the Card number (if applicable). | N |
| String | 3-char ISO currency code. | Y |
| Bool | Indicates if the end customer has selected the “guaranteed duties and taxes” option. | Y |
| String | The card expiration date, in YYYY-MM-DD format (if applicable). | N |
| String | Tracking number used by the selected international shipping API for this order. Max length: 50 chars. | N |
| String | Full tracking URL including Max length: 255 chars. | N |
| String | Waybill number used by the selected international shipping API for this order. | N |
| String | The Waybill URL used by the selected international shipping API for this order. Max length: 255 chars. | |
| String | Code denoting the selected payment API as defined on the Merchant’s site (to be mapped on the Global-e side). If this payment API doesn’t exist on the Merchant’s site, the internal Global-e payment API code will be specified instead. Max length: 50 chars. | Y |
| String | Name of the selected payment API. Max length: 50 chars. | Y |
| String | Code denoting the selected international shipping API as defined on the Merchant’s site (to be mapped on the Global-e side). If this international shipping API doesn’t exist on the Merchant’s site, the internal Global-e shipping API code will be specified instead. Max length: 50 chars. | Y |
| String | Name of the selected international shipping API. Max length: 50 chars. | Y |
| Decimal | Total Duties & Taxes value including Customs Clearance Fees, in the currency denoted by | Y |
| Decimal | The total order price in the currency indicated in | Y |
| Decimal | Total shipping price in the currency denoted by | Y |
| Decimal | Amount of VAT paid by the customer to Global-e | Y |
| String | 3-char ISO code for the currency used for the current order payment. | Y |
| Decimal | The total order price paid by the end--customer in the currency denoted by | Y |
| String | Code denoting the selected shipping status as defined on the Merchant’s site (to be mapped on the Global-e side). If this shipping status doesn’t exist on the Merchant’s site, the internal Global-e shipping status code will be specified instead. Max length: 100 chars. | N |
| String | Name of the shipping status. Max length: 50 chars. | N |
KeyValuePair
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Entity key (for example a URL parameter) used on the Merchant’s site (to be mapped on the Global‑e side) | |
| String | Entity value for the respective Key |
LocationCulture
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | City code (unique in the respective Region) | |
| String | 2-char ISO country code | |
| Class Culture | Culture definition for this location | |
| String | Region code (unique in the respective |
LoyaltyVoucher
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Loyalty Voucher’s textual description | N |
| Decimal | Value of the discount based on the Loyalty Voucher. This value should be specified in the end customer’s currency, after applying country coefficient, FX conversion and | |
| Bool | Indicates if the Loyalty Voucher is already applied by the end customer to the current cart | |
| Decimal | The VAT rate to be applied to the discount based on this Loyalty Voucher if the order was placed by the local customer. This value must be specified if | N |
| String | Loyalty Voucher’s name | |
| Decimal | The discount value to which the end customer is entitled if this Loyalty Voucher is applied to the cart. This value should be specified in the original Merchant currency including the local VAT, before applying any price modifications. This property always denotes the discount value in the default Merchant’s country, regardless of | |
| Decimal | The VAT rate applied to the discount based on this Loyalty Voucher | |
| String | Code used to identify the Loyalty Voucher on the Merchant’s site |
MarketplaceData
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | Marketplace ID. | |
| String | Marketplace order ID. |
Merchant.Brand
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Brand code | |
| String | Brand name |
Merchant.CartAction
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Cart hash originally specified in the | N |
| String | Identifier of the cart on the Merchant’s site originally specified in the | N |
| String | Cart token for the cart generated on the Global‑e side by the | N |
| String | A JSON-serialized array of Loyalty Voucher codes to be applied to the cart. This list is mandatory only in the | N |
| String | Unique identifier of the Merchant on Global-e. This property is mandatory only for server-side calls. | N |
| String | Internal User identifier on the Merchant’s site originally specified in the shipping | N |
Merchant.CartProductAttribute
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Custom product attribute name that is used to describe the personalized product. | |
| String | Custom product attribute value that is used to describe the personalized product. |
Merchant.CartValidationData [Inherits all fields from Merchant.OrderV2 - 3.123]
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | JWT | |
| String | Global-e cart token | |
| String | ISO culture code. Denotes the preferred culture for the checkout page. If not specified, the Merchant’s default culture will be used by default | |
| String | JWT | |
| Contains Sub carts validation data related to Mixed carts. This list is defined only in case the cart is Mixed. |
Merchant.CartVoucherValidation
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Cart hash originally specified in | |
| String | Identifier of the cart on the Merchant’s site originally specified in | |
| String | The value returned from the previous call to | |
| String | 2-char ISO country code | |
| String | 3-char ISO currency code. | |
| Cart discounts for voucher validation. | ||
| String | The Merchant free shipping coupon code applied by the end customer. | |
| Bool | Indicates if the Merchant offers free international shipping to the end customer. | |
| String | Unique identifier of the Merchant on Global-e. | |
| Cart products for voucher validation. | ||
| String | Internal User identifier on the Merchant’s site in case it was specified in the | N |
| String | The voucher code specified on the Merchant site. | |
| Decimal | Enumeration of 1 - | |
| String | Code used on the Merchant’s side to identify the web store where the current cart is originating from. This code should be used in case of a multi-store setup on the Merchant’s site. | |
| String | Code used on the Merchant’s side to identify the web store instance where the current cart is originating from. This code should be used in case of multi-store domains set up on the Merchant’s site. |
Merchant.Category
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Merchant category code | |
| String | Merchant category name |
Merchant.Customer
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Bool | Indicates if end customer details are “swapped” with a paying (Global‑e) customer’s details when submitting the order to the Merchant. By default, TRUE - The primary customer is the same as the end customer who has placed the order FALSE - The primary customer denotes the paying (Global‑e) customer and the secondary customer denotes the end customer who has placed the order with Global‑e checkout | |
| Bool | Indicates if e-mail confirmation of the respective order’s status change needs to be sent to the paying customer (Global‑e acts as a paying customer). |
Merchant.CustomerDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Address line 1 | N |
| String | Address line 2 | N |
| String | Id of the current address from within the address book | N |
| String | Name of the current address from within the address book | N |
| String | City name | N |
| String | Company name | N |
| String | 2-char ISO country code | N |
| String | Country name | N |
| String | Email address | N |
| String | Fax | N |
| String | First name | N |
| String | First name in local culture | N |
| String | Last name | N |
| String | Last name in local culture | N |
| String | Middle name | N |
| String | Phone #1 | N |
| String | Phone #2 | N |
| String | Salutation or title (e.g. Dr., Mr., etc.) | N |
| Bool | Indicates that the current address should be saved in the Merchant platform | N |
| String | State or province ISO code such as AZ for Arizona (if applicable) | N |
| String | State or province name | N |
| String | Zip or postal code | N |
Merchant.Discount
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Merchant | N |
| String | Discount textual description | N |
| String | Discount code originally specified in the | N |
| Enum | The enum DiscountSource has the following possible values:
| Y |
| Decimal | Discount type (“Cart”, “Shipping”, etc.), as defined in the | |
| Decimal | Discount value in end customer’s currency (specified in | N |
| Decimal | The VAT rate that would be applied to this discount if the order was placed by the local customer. This value must be specified if | N |
| String | Loyalty Voucher code originally specified in | N |
| String | Discount name | |
| Decimal | Discount value in the currency defined in the | |
| String | Identifier of the product cart item related to this discount on the Merchant’s site originally specified in the | N |
| Decimal | The VAT rate applied to this discount |
Merchant.DiscountVoucherValidation
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Merchant | N |
| String | Discount textual description | N |
| String | Discount code originally specified in the | N |
| Enum | The enum
| Y |
| Decimal | Discount type (“Cart”, “Shipping”, etc.), as defined in the | |
| Decimal | Discount value in end customer’s currency (specified in | N |
| Decimal | The VAT rate that would be applied to this discount if the order was placed by the local customer. This value must be specified if | N |
| String | Loyalty Voucher code originally specified in | N |
c | String | Discount name | |
| Decimal | Discount value in the currency defined in the | |
| String | Identifier of the product cart item related to this discount on the Merchant’s site originally specified in the | N |
| Decimal | The VAT rate applied to this discount |
Merchant.ExporterDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Global‑e Exporter entity registration EORI number | N |
| String | Global‑e Exporter entity IOSS number (for shipments to the EU) | N |
| String | Global‑e Exporter entity registration VAT number | N |
Merchant.ImporterDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Address line 1 | N |
| String | Address line 2 | N |
| String | City name | N |
| String | Country name | N |
| String | 2-char ISO country code | N |
| String | First and Last name | |
| String | State or province ISO code such as AZ for Arizona (if applicable) | N |
| String | State or province name | N |
| String | Zip or postal code | N |
Merchant.ImporterAddress
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Class Merchant.ImporterAddress | Full address of the importer as the Private/Business Importer (customer) or the Global‑e Importer entity, if relevant. | N |
| String | Either the Customer Company name, if provided in the cart/checkout, or the Global‑e importer entity name for the relevant markets (eg. Switzerland) | N |
| String | The Customer tax number is provided at checkout, as required for clearance into certain markets (e.g. Brazil, Turkey). | N |
| Decimal | Importer type, depending on the order type and destination: - 0: Private importer – standard B2C shipment - 1: Global‑e Importer – specific importer mentions required | |
| String | Either. the Customer VAT Registration Number, if provided in the cart/checkout, or the Global‑e importer entity registration number for relevant markets (eg. Switzerland) | N |
Merchant.InternationalDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | The last 4 digits of the Card number (if applicable). | N |
| Decimal | The additional charge is paid by the end customer when the “Cash on Delivery” payment method has been selected. | N |
| Decimal | The consignment fee is paid by the end customer in the currency denoted by | N |
| String | 3-char ISO code for the currency selected by the end customer for the order payment. | |
| Class DTBreakdown | Contains the duties and taxes parts the customer paid for the order in the currency denoted by | N |
| Decimal | The minimum number of days for delivery to the end customer for the selected shipping method. | N |
| Decimal | The maximum number of days for delivery to the end customer for the selected shipping method. | N |
| Decimal | The price paid by the customer in local currency. Total Shipping price reducing Order Discounts International price. | |
| Bool | Indicates if the end customer has selected the “guaranteed duties and taxes” option. | |
| string | Card expiration date in YYYY-MM-DD format (if applicable). | N |
| Class DTBreakdown | Contains the duties and taxes parts the Merchant subsidized for the order in the currency denoted by | N |
| String | Tracking number used by the selected international shipping method for this order. | N |
| String | Full tracking URL including | N |
| String | Waybill number used by the selected international shipping method for this order. | N |
| List<Merchant.ParcelTracking> | List of | |
| String | Code denoting the selected payment method as defined on the Merchant’s site (to be mapped on the Global‑e side). If this payment method doesn’t exist on the Merchant’s site, the internal Global‑e payment method code will be specified instead. | |
| String | Name of the selected payment method. | |
| Decimal | Remote area surcharge paid by the end customer in the currency denoted by | N |
| Decimal | Cost of the “Same Day Dispatch” option (if selected by the end customer on Global‑e checkout), in the currency denoted by | N |
| String | Code denoting the selected international shipping method as defined on the Merchant’s site (to be mapped on the Global‑e side). If this international shipping method doesn’t exist on the Merchant’s site, the internal Global‑e shipping method code will be specified instead. | |
| String | Name of the selected international shipping method. | |
| String | Code denoting the selected shipping status as defined on the Merchant’s site (to be mapped on the Global‑e side). If this shipping status doesn’t exist on the Merchant’s site, the internal Global‑e shipping status code will be specified instead. | N |
| String | Name of the shipping status. | N |
| String | Code denoting the selected international shipping method type as defined on the Merchant’s site (to be mapped on the Global‑e side). If this international shipping method type does not exist on the Merchant’s site, the internal Global‑e shipping method type code will be specified instead. | |
| String | Name of the selected international shipping method type. | |
| Decimal | The shipping VAT rate for the customer. This rate is applied to the shipping cost. | |
| Decimal | Oversized items charge paid by the end customer in the currency denoted by | N |
| Decimal | Total Customs Clearance Fees value in the currency denoted by | N |
| Decimal | Total Duties & Taxes value including Customs Clearance Fees, in the currency denoted by | |
| Decimal | Total order price in the currency denoted by | |
| Decimal | Total shipping price in the currency denoted by | |
| Decimal | Amount of VAT paid by the customer to Global‑e | |
| String | 3-char ISO code for the currency actually used for the current order payment. | |
| Decimal | Total order price actually paid by the end customer in the currency denoted by | |
| Decimal | Sales tax value for the USA in the currency denoted by |
Merchant.Order
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| List<orderDocoment> | The required additional documents for shipping. When the information is provided, the Merchant must wait for the documents to be provided before starting fulfilment. | |
| Bool | Indicates if the end customer has opted on the Global‑e checkout page to receive emails from the Merchant. TRUE - Customer opted to receive emails FALSE - Customer did not opt to receive emails | |
| String | Cart hash originally specified in the | N |
| String | Identifier of the cart on the Merchant’s site originally specified in | N |
| Decimal | Cash On Delivery fee amount in Merchant’s currency. | |
CCFPrice | Decimal | Customs Clearance Fees (CCF), in the Merchant currency. | |
| Bool | Indicates if the end customer’s cart must be cleared before this method finishes execution on the Merchant’s site. TRUE - The end customer’s cart must be cleared FALSE - The end customer's cart does not have to be cleare | |
| String | 3-char ISO currency code for the order being posted. By default, this is set to the original Merchant’s currency. | |
| String | Customer currency name. Returned by | N |
| Class Merchant.Customer | The paying customer’s preferences (Global-e acts as a paying customer). | |
| String | Holds the gift message. In the offline order flow, holds the product comment. | |
| String | Comments text entered by the end customer in Global‑e checkout. | N |
| Class DTBreakdown | Contains the duties and tax parts the customer paid for the order. | N |
| String | Order creation date and time. Returned by | N |
| Decimal | The shipping price paid by the customer converted to the Merchant’s currency. Total Shipping price reducing Order Discounts ( | |
| List<Merchant.Discount> | The list of discounts being applied to the order, according to the original list of discounts received in | N |
| Bool | Indicates if the end customer hasn’t been charged VAT in Global‑e checkout, as specified in the TRUE - VAT is not charged TRUE - VAT is charged | N |
| Decimal | The Tax reference number of the GE Entity at the destination country. Should only be provided when the order is tax-collected. Otherwise, the field should be Null. The value should be Null if the order destination is for an EU country. | |
| Bool | Indicates whether the Merchant can use the destination Registration number. TRUE - Merchant can use destination Registration number ( FALSE - Merchant cannot use destination Registration number . | |
| String | Merchant’s free shipping | N |
| Details referring to the end customer’s order placed on the Global‑e side. These details apply only to the Merchants dealing with international customers’ support themselves. | N | |
| Bool | Indicates if the order has a Company name and VAT registration number. TRUE - Order contains a company name and VAT registration number FALSE - Order does not contain a company name and VAT registration number | |
| Bool | Indicates if the Merchant offers free international shipping to the end customer, as specified in the TRUE - Shipping is free. FALSE - Shipping is not free. | N |
| Bool | Indicates if the the customer is a customer support agent and an “Offline order” took place TRUE - The customer is a customer support agent and an “Offline order” took place FALSE - The customer is a regular customer | |
| Bool | Indicates if the order is a replacement. TRUE - The order is a replacement FALSE - The order is not a replacement | |
| Bool | Indicates if the order should be handled as a split order (i.e. without consolidation). TRUE - Order will be split FALSE - Order is not to be split | N |
| Bool | Indicates if the order has a tax exemption. TRUE - Order has a tax exemption FALSE - Order does not have a tax exemption | |
| String | Loyalty code applicable to the Merchant’s site entered by the end customer in Global‑e checkout. | N |
| Decimal | The number of loyalty points to be earned for this purchase by the end customer on the Merchant’s site, as specified in the | N |
| Decimal | The number of loyalty points spent for this purchase. The existing loyalty points handling procedure must be applied to the end customer’s user account. Therefore, the “Loyalty points” type discount must not be applied to the order directly but can be used for display purposes elsewhere in the system (i.e. on the end user’s My Account page). | N |
| List<Merchant.Discount> | The list of markups being applied to the order, according to the Merchant shipping configuration on Global‑e. Effectively Markup is a “negative Discount”. The main use case for markups is when the end customer is charged in Global‑e checkout, a flat shipping rate, which is higher than the shipping rate, calculated for the respective order. In this case, Global‑e pays the difference to the Merchant in the form of Markups applied to the order. Unlike Discounts, Markups may be only passed to the Merchant’s back-end ERP system for reconciliation purposes, and may not be displayed to the end customer. | N |
| Class DTBreakdown | Contains the duties and tax parts that the Merchant subsidized for the order. | N |
| String | Unique identifier of the Merchant on Global-e. | |
| String | Order unique identifier on the Merchant’s site returned from a previous call to the | N |
| String | Holds the product’s SKU | |
| Decimal | One of the values of | |
| List<OrderDocument> | Always contains a single document - it can be either a VAT Invoice or a Customer Receipt, depends if it is within the EU or not. | |
| String | Global‑e order unique identifier. | |
| List<OrderPaymentMethod> | List of payment methods the customer use (Credit card, Gift Cards) | |
| Class OrderStatusReason | Reason for the order status, why it was cancelled. | |
| Class Merchant.OriginalOrder | Details that refer to the original order if the current order is a replacement. | N |
| String | Currency of the one-time voucher code used to place the order. | N |
| Decimal | The amount taken off the voucher when applicable. | N |
| String | One-time voucher code used to place the order | N |
| List<Merchant.Parcel> | The list of parcels created for the order. Returned by | N |
| Class Merchant.PaymentDetails | The paying customer’s payment details. | |
| Bool | Indicates if the prepayment option for duties and taxes was offered to the customer. TRUE - Prepayment option offered. FALSE - Prepayment option not offered. | |
| Decimal |
| |
| Class Merchant.CustomerDetails | The primary customer’s billing details. If | |
| Class Merchant.CustomerDetails | Primary customer’s shipping details. If | |
| List<Merchant.Product> | The list of products being purchased. | |
| Decimal | The average conversion rate applied to the prices paid by the end customer when calculating the prices paid by Global‑e to the Merchant in the original Merchant’s currency. This rate includes “FX conversion” and “marketing rounding” factors. | |
| Bool | Indicates if the end customer has requested “Same Day Dispatch” on Global‑e checkout. TRUE - Customer requested "Same Day Dispatch" FALSE - Customer did not request "Same Day Dispatch" | N |
| Decimal | Cost of the “Same Day Dispatch” option selected by the end customer on Global‑e checkout, in the original Merchant’s currency. | N |
| Class Merchant.CustomerDetails | Secondary customer’s billing details. If | |
| Class Merchant.CustomerDetails | Secondary customer’s shipping details. If | |
| String | Code denoting the local shipping method selected from the list of available shipping options provided in the | N |
| String | Code denoting the Merchant’s store specified by the customer for “ship to shop” shipping destination (to be mapped on the Global‑e side). | N |
| String | Code denoting the order status on the Merchant’s site (to be mapped on the Global‑e side). | |
| List<Merchant.Order> | Contains Sub orders related to Mixed order. This list is defined only in case the order is Mixed. | |
| Decimal | Total Duties & Taxes value including Customs Clearance Fees, in the Merchant currency. This amount is the total amount, regardless of whether the customer or the Merchant paid it. | |
| Decimal | The total amount of duties paid by the customer in the Merchant’s currency. | |
| String | Internal User identifier on the Merchant’s site originally specified in the | N |
| Decimal | Sales tax value for USA in the Merchant currency. This value is included in | |
| String | Code used on the Merchant’s side to identify the web store, as specified in the | N |
OrderCreationSource
One of the following possible values of OrderCreationSource
enumeration denoting a type of discount:
OrderCreationSource Value | Name | Description |
---|---|---|
0 | GECheckout | The default value for orders created in a normal flow via Global‑e Checkout |
1 | Marketplace | The value for orders that are created at a marketplace and sent to Global-e via your brand |
Merchant.OrderRefund
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| List<Merchant.RefundComponent> | The list of | N |
| String | Unique identifier of the Merchant on Global-e. | |
| String | Order unique identifier on the Merchant’s site returned from a previous call to the | N |
| String | The Merchant’s Returned Merchandize Authorization Number | N |
| String | Global‑e order unique identifier. | |
| Decimal | The refund amount in the original Merchant currency including the local Merchant’s VAT (currency is specified in | |
| List<Merchant.RefundProduct> | List of | N |
| String | Comments for the order refund | N |
| Reason for the order refund | N | |
| String | The RMA number taken from the related Return. | N |
| Decimal | The “Service gesture” amount in the customer’s currency is included in the | N |
| Decimal | The total refund amount in the end customer’s currency used for this order’s payment (currency is specified in InternationalDetails. | |
| String | Code used on the Merchant’s side to identify the web store, as specified in the | N |
Merchant.OrderRefundReason
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Order refund reason name. | |
| string | Code denoting the order refund reason on the Merchant’s site (to be mapped on the Global‑e side). If not mapped, Global‑e internal code will be specified instead. |
Merchant.OrderTracking
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Last known location of the shipment. | |
| String | Date and time of the shipment status update. The date is in the UTC time zone specified in RFC 2822 format (i.e. Fri, 8 Aug 2014 17:13:07 +0000). | |
| String | Code denoting the selected international shipping method as defined on the Merchant’s site (to be mapped on the Global‑e side). If this international shipping method does not exist on the Merchant’s site, the internal Global‑e shipping method code will be specified instead. | |
| String | Name of the selected international shipping method. | |
| String | Code denoting the selected shipping status as defined on the Merchant’s site (to be mapped on the Global‑e side). If this shipping status does not exist on the Merchant’s site, the internal Global‑e shipping status code will be specified instead. | |
| String | Name of the shipping status. |
Merchant.OrderV2 [inherits all fields from Merchant.Order - 3.64]
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Name of the currency of the order | |
| DateTime | Creation date | |
| List<Parcel> | List of the parcels associated with the order |
Merchant.OriginalOrder
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String |
| N |
| String |
| N |
| String | Global‑e order unique identifier for the original order. |
Merchant.Parcel
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Parcel code. | |
| Decimal | Parcel status id. | |
| String | Parcel status name. | |
| String | Direct tracking URL. | |
| List<Merchant.ParcelProduct> | List of products included in the parcel. |
Merchant.ParcelProduct
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Cart item id of the product. | |
| Decimal | Product quantity included in the parcel. | |
| String | Product SKU. |
Merchant.ParcelTracking
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Parcel code. | |
| String | The tracking number is used by the selected international shipping method for this parcel. | |
| String | Full tracking URL including |
Merchant.PaymentDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Address line 1 | N |
| String | Address line 2 | N |
| String | Card number | |
| String | City name | N |
| String | 2-char ISO country code | |
| String | Country name | |
| String | Card CVV number | |
| String | E-mail address | N |
| String | Card expiration date (in YYYY-MM-DD format) | |
| String | Fax | N |
| String | Card owner’s first name | Optional if |
| String | Card owner’s last name | Optional if |
| String | Card owner’s full name (the Merchant may choose to consider either full name or first name with the last name, according to the existing payment method input validation requirements). | N |
| String | Payment method code used to identify the payment method on the Merchant’s site (to be mapped on the Global‑e side). | |
| String | Payment method name | |
| String | Payment method type’s code used to identify the payment method type (such as Credit Card or Check) on the Merchant’s site (to be mapped on the Global‑e side). | |
| String | Phone #1 | N |
| String | Phone #2 | N |
| String | State or province ISO code such as AZ for Arizona (if applicable) | N |
| String | State or province name | N |
| String | Zip or postal code | N |
Merchant.Product
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Custom attributes describe products that customers can personalize according to what the site offers. Each Attribute holds a key to specify attribute name and Value properties. | N | |
| String | Estimated date for the backordered item to be in stock | N |
| Class Merchant.Brand | Product’s brand | N |
| String | Identifier of the cart item on the Merchant’s site originally specified in the | N |
| String | Identifier of the child cart item “option” on the Merchant’s site originally specified in the | N |
| List<Merchant.Category> | Product categories | N |
| Decimal | The customer VAT rate applied to this product | |
| Decimal | The product value is in Merchant currency after deducting all product and cart level discounts from the price. Product level discounts will be fully deducted from the respective product’s price and cart discounts will be prorated over all products according to the remaining value. This value can be used as the pre-calculated value for the returned product’s refund. | |
| Decimal | Product price in Merchant currency reflects the price after Reverse D&T calculation. | |
| Class DTBreakdown | Contains the duties and taxes per item in Merchant currency. | N |
| String | Product’s HS code | N |
| String | Text originally specified in the | N |
| String | Code originally specified in | N |
| Decimal | The product value in customer currency after deducting all product and cart level discounts from the price. Product level discounts will be fully deducted from the respective product’s price and cart discounts will be prorated over all products according to the remaining value. This value can be used as the pre-calculated value for the returned product’s refund. | |
| Decimal | Product price in customer currency reflects the price after Reverse D&T calculation | |
| Decimal | Product Price in Merchant currency | |
| Class DTBreakdown | Contains the duties and taxes per item in customer currency. | N |
| Decimal | Single product list price in end customer’s currency (specified in the | N |
| Decimal | Single product final sale price in end customer currency (specified in InternationalDetails.CurrencyCode property for the respective | N |
| Bool | Identifies if the product was ordered as a backed ordered item TRUE - Product is back-ordered. FALSE - Product is not back-ordered. | N |
| Decimal | Line item (product in ordered quantity) price in end customer’s currency (specified in the | N |
| Decimal | Line item (product in ordered quantity) price in the currency defined in the | N |
| Decimal | Single product List price in the currency defined in the | |
| String | Name of the product. Returned by | N |
| String | Identifier of the current item’s parent cart item on the Merchant’s site originally specified in the | N |
P | Decimal | Single product final sale price in the currency defined in the | |
| Decimal | Single product price in the currency defined in the | N |
| Product attributes. Returned by | N | |
| Decimal | Product quantity in the order that is currently being submitted to the Merchant. | |
| Decimal | The conversion rate applied to this product price paid by the end customer when calculating the prices paid by Global‑e to the Merchant in the original Merchant’s currency. This rate includes “FX conversion” and “marketing rounding” factors. | |
| String | SKU code used to identify the product on the Merchant’s site (to be mapped on the Global‑e side). | |
| Decimal | The VAT rate applied to this product |
Merchant.ProductAttribute
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Customized product attribute name, used to describe the personalized product. | |
| String | Customized product attribute, used to describe the personalized product. |
Merchant.ProductVoucherValidation
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Identifier of the cart item on the Merchant’s site originally specified in the | |
| String | Identifier of the child cart item “option” on the Merchant’s site originally specified in the Product.CartItemOptionId property of the respective product in the | |
| List<String> | List of categories mapped for current cart product. | |
| String | Code applicable to the product on the Merchant’s site. This code may be optionally used by the Merchant to trigger a certain business logic when this product is included in the order posted back to the Merchant’s site with the | |
| String | Identifier of the current item’s parent cart item on the Merchant’s site originally specified in the | |
| Decimal | Product price. | |
| Decimal | Product ordered quantity. | |
| String | SKU code used to identify the product on the Merchant’s site (to be mapped on the Global‑e side). | |
| Decimal | The VAT rate applied to this product. |
Merchant.RefundComponent
Parameter Name | Type | Description |
---|---|---|
| Decimal | The refund amount in customer currency. |
| String | Products, Shipping, Duties, |
| Bool | Indicates if the component is charged to the Merchant or to Global-e. TRUE - Component is charged to the Merchant (default) FALSE - Component is charged to Global‑e If the same component is split between charged to the Merchant and charged to Global‑e, it should appear twice, each time with a different value in |
| Decimal | The refund amount in Merchant currency. |
Merchant.RefundProduct
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Identifier of the line item on the Merchant’s site. This property is mandatory and should be equal to the respective Product’s | Y |
| Decimal | The refund amount in the original Merchant currency including the local Merchant’s VAT for this product line item, before applying any price modifications (i.e. part of or the full value paid by Global-e to the Merchant, as was specified in | |
| String | Product SKU or Product Variant ID according to merchant configuration. Can be used as a Product Identifier instead of | N |
| Decimal | The refund amount for this product line item in customer currency used for the payment of this order | |
| String | Comments for this product’s refund | N |
| Decimal | Product quantity (i.e. a part of the originally ordered quantity) that the refund refers to | |
| Reason for this product’s refund | N | |
| String | This field is obsolete. Use | N |
Merchant.RemoveRestrictedProductsRequest
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Identifier of the cart on the Merchant’s site originally specified in | |
| String | The value returned from the previous call to | |
| String | 2-char ISO country code | |
| String | 3-char ISO currency code. | |
| String | Unique identifier of the Merchant on Global-e. | |
| List<String> | List of SKU codes for products removal from the cart. | |
| String | Internal User identifier on the Merchant’s site in case it was specified in the | |
| String | Code used on the Merchant’s side to identify the web store where the current cart is originating from. This code should be used in case of a multi-store setup on the Merchant’s site. | |
| String | Code used on the Merchant’s side to identify the web store instance where the current cart is originating from. This code should be used in case of multi-store domains set up on the Merchant’s site. |
Merchant.RemoveRestrictedProductsResponse
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Code of the error if it happened | N |
| String | Description of the error if it happened | N |
| Bool | Indicates if the result is success. TRUE - Restricted product removal successful. FALSE - Restricted product removal not successful. | N |
Merchant.ResponseInfo
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Optional response description. In case of an error, this property indicates the error message description. | N |
| String | Error code to be returned when an error occurs. | N |
| String | Order unique identifier on the Merchant’s site | Optional if there was an error, a failure, or if the action is not related to a specific order |
| String | Optional response message. In case of an error, this property indicates the error message text. | N |
| String | Order identifier on the Merchant’s site used for display and reporting purposes only. Unlike the | N |
| String | The total payment amount in | N |
| String | 3-char ISO currency code for the order (if payment was processed in the respective API method call). | N |
| String | Code denoting the order status on the Merchant’s site (to be mapped on the Global‑e side). | Optional if there was an error or failure |
| Bool | Indicates if the call has succeeded. TRUE - Call succeeded. FALSE - Denotes an error or failure. |
Merchant.StockValidationResponse
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| The list of products that don’t have full stock availability for the | N | |
| Dictionary<string, string> | Dictionary with custom resources for error and oos popup. Keys for the dictionary: | N |
| String | The error message returned from the Merchant | N |
| String | The stock reservation code returned from the Merchant if the stock has been actually reserved as a result of the | N |
| Dictionary<String, String> | Dictionary with placeholders which need to be replaced in text resources for error and oos popup which was passed in | N |
Merchant.StockValidationRowResponse
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Identifier of the cart item on the Merchant’s site originally specified in the | |
| String | Available product quantity |
Merchant.TrackingDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | The shipping method name | |
| String | The tracking number as the shipper has specified | |
| String | Full tracking URL including the |
Merchant.VoucherValidationResponse
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String |
| |
| Bool | Indicates if the voucher is valid. TRUE - Voucher is valid. FALSE - Voucher is not valid. | |
| String | Error message in case voucher is not valid | |
| List of validation restrictions applied to vouchers | ||
| Decimal | Enumeration of 1 - DiscountVoucher |
Merchant.VoucherValidationRestriction
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Country code value. | |
| Decimal | Enumeration of the voucher value restriction type: 0 - Country |
MerchantCartDiscountResponse
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Identifier of the cart item on the Merchant’s site originally specified in | |
| Decimal | Product list price in end customer currency (before any discounts), after applying country coefficient, FX conversion, rounding rule (if applicable) and |
MerchantCartProductResponse
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Identifier of the cart item on the Merchant’s site originally specified in | N |
| Decimal | Product list price in end customer currency (before any discounts), after applying country coefficient, FX conversion, rounding rule (if applicable) and | |
| String | SKU code used to identify the product on the Merchant’s site (to be mapped on the Global‑e side). | |
| Decimal | Product sale price in end customer currency, after applying country coefficient, FX conversion, rounding rule (if applicable) and |
MerchantReturn
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Who created the return | |
| String | Merchant’s unique ID | |
| String | Merchant Order Id | |
| String | Order Id | |
| List<MerchantReturnProduct> | Products returned | |
| String | Return tracking number | |
| String | Return Merchandise Authorization number | |
| String | Name of shipper | |
| String | Tracking URL |
MerchantReturnProduct
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | The ID of the cart item | |
| String | Merchant code for return reason | |
| String | Merchant name for return reason | |
| String | Name of product | |
| String | Return quantity | |
| String | Reason for return | |
| String | Stock keeping unit |
OrderCreationSource
Source where order was created. Can be one of the following:
GECheckout = 0
Marketplace = 1
ExternalApp = 2
ShopifyAPI = 3
OrderDocument
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| DateTime | The date and time the document was created. | N |
| String | Base64 encoded byte array representing the document file content. | |
| String | Document extension (PDF, ZPL, EPL). | |
| String | The reference provided by the government authorities to this document (such as MRN or ITN number). | N |
| String | Document type code, this value can be:
| |
| String | Document type name, e.g. | |
| String | Description of the error for this entity (order/parcel) if it happened. | N |
| String | The parcel code related to the document. | N |
| String | The name of the shipping service for this document (relevant for | N |
| String | URL of the document. |
OrderDocumentsResponse
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| List of | N | |
| List<OrderDocument> | List of | N |
| String | Description of the error to get documents | N |
| Bool | Indicates if API call was successful or not. TRUE- API call was successful FALSE – API call was not successful | |
| List<Merchant.ParcelTracking> | List of the | N |
| List<OrderDocument> | List of | N |
| Class Merchant.TrackingDetails | Order tracking information. | N |
OrderManifestDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Unique order identifier on the Merchant’s site NOTE Either | Mandatory if the |
| String | Unique Global‑e order identifier NOTE Either | Mandatory if the |
OrderPaymentMethod
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Gift card fields | |
| Bool | Indicates if the order payment method is a gift card. TRUE if using a gift card for payment FALSE if not using a gift card | |
| Decimal | Amount that paid in customer’s currency | |
| Decimal | Amount paid in Merchant’s currency | |
| Decimal | The ID for the payment method | |
| String | Name of the payment method |
OrderRefundDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | The return shipping cost. Populated by the Merchant. | |
| Decimal | Represents a prepaid fee that the customer is required to pay in case of refunds. This fee is deducted from the total refund amount due to the customer. The value of this field is specified in the currency of the customer. | N |
| Decimal | The “ | N |
| Bool | The flag indicates that the full refund of the order should be performed. TRUE provide full refund FALSE do not provide full refund | N |
| String | Global‑e order unique identifier (previously submitted to the Merchant’s | |
| Decimal | The return shipping cost in the customer’s currency. | |
| Decimal | Represents a prepaid fee that the customer is required to pay in case of refunds. This field is populated in the original currency of the Merchant. The prepaid fee is converted to the currency of the customer and then deducted from the total refund amount due to the customer. Currency conversion rates are calculated based on the Spot rate on the day of the order creation. Use this field only when | N |
| Decimal | The refund amount in the original Merchant currency including the local Merchant VAT. | N |
| Bool | The flag indicates that the refund for the products should also include the associated duties and taxes. If TRUE - Refund includes taxes. FALSE - Refund will not include taxes. | N |
| String | Merchant's comments for the order refund | N |
| Class OrderRefundReason | Reason for the order refund | N |
| Decimal | “Service gesture” amount in the customer’s currency included in | N |
| Decimal | The “ | N |
| Bool | The flag indicates that the full shipping cost should be refunded. Either the TRUE - Shipping cost is refunded. FALSE - Shipping cost is not refunded. | N |
| Decimal | The total refund amount in the end customer’s currency and used for this order’s payment. If this attribute is not specified, | N |
OrderRefundReason
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Order refund reason name | |
| String | Code denoting the order refund reason on the Merchant’s site (to be mapped on the Global‑e side) |
OrderReplacementData
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | The original Order Id | |
| List< ReplacedProduct> | A list of replaced products |
OrdersDetailsFilter
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| List<String> | List of order ids to manifest |
OrderStatus
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Order status name | |
| String | Code denoting the order status on the Merchant’s site (to be mapped on the Global‑e side) |
OrderStatusDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Merchant's Order confirmation number | N |
| String | Merchant’s internal Delivery Reference Number for this order | N |
| String | Merchant's comments for the order | N |
| String | Global‑e order unique identifier (previously submitted to the Merchant’s | |
| Class OrderStatus | The order status | |
| Class OrderStatusReason | Reason for the order status | N |
| String | Reference number valid for the tracking service used by the Merchant for this order | N |
| String | Name of the tracking service used by the Merchant for this order | N |
| String | URL of the tracking service site used by the Merchant for this order | N |
| String | Full tracking URL on the tracking service site used by the Merchant (if specified overrides all other “Tracking…” properties) | N |
OrderStatusReason
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Order status reason name | |
| String | Code denoting the order status reason on the Merchant’s site (to be mapped on the Global‑e side) |
Parcel
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | Parcel height in centimeters/inches as measured by the Merchant. | N |
| Decimal | Parcel length in centimeters/inches as measured by the Merchant. | N |
| String | Code used to identify the Parcel on the Merchant’s site | |
| List<Product> | List of products contained in the parcel (for each Product object the following fields are relevant when used in the Parcel class: | N |
| Class TrackingDetails | Tracking information about the order/parcel. | N |
| Decimal | Parcel weight in grams as measured by the Merchant. | N |
| Decimal | Parcel width in grams as measured by the Merchant. | N |
ParcelError extends ErrorBase<T>
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Specifies inner error text in a case when third-party errors have occurred | |
| String | Parcel Code provided in the VoidParcelRequest |
ParcelStatus
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | The status code of the parcel, on the merchant side | Y |
| String | NOT IN USE – Reserved for future use | N |
PaymentDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Address line 1. Length: Unlimited. | N |
| String | Address line 2. Length: Unlimited. | N |
| Varbinary | Card number | Y |
| String | City name. Max length: 500 chars. | N |
| String | 2-char ISO country code | Y |
| String | Country name. Max length: 255 chars. | Y |
| Varbinary | Card CVV number | Y |
| String | E-mail address. Max length: 500 chars. | N |
| String | Card expiration date (in YYYY-MM-DD format) | Y |
| String | Fax number. Max length: 250 chars. | N |
| String | Card owner’s first name. Max length:40 chars. No length validation. The rest will be truncated. | |
| String | Card owner’s last name. Max length:40 chars. No length validation. The rest will be truncated. | |
| String | Card owner’s full name (the Merchant considers either full name or first name with the last name, according to the existing payment API input validation requirements). | N |
| String | The payment API code is used to identify the payment API on the Merchant’s site (to be mapped on the Global-e side). Max length: 50 chars. | Y |
| String | Payment API name. Max length: 50 chars. | Y |
| String | Payment API type’s code is used to identify the payment API type (such as Credit Card or Check) on the Merchant’s site (to be mapped on the Global-e side). | Y |
| String | Phone #1. Max length: 250 chars. | N |
| String | Phone #2. Max length: 250 chars. | N |
| String | State or province name. Max length: 500 chars. | N |
| String | Zip or postal code. Max length: 250 chars. | N |
PaymentSecureGatewayTypes
The secure payment gateway type. Has the following possible values:
AdyenAPI = 2
OptimalAPI = 4
CouponPaymentGateway = 7
SplitItGateway = 8
FirstDataAPI = 9
SafeChargeAPI = 10
WorldPayAPI = 11
WalletGateway = 12
DLocalAPI = 14
PreEnroll3DSInfo
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | Attempts interval to call the | |
| String | A parameter that is to be sent with the | |
| Specifies the gateway API type | ||
| String | Another parameter that to be sent with the | |
| Decimal | Maximum attempts to call the | |
| String | The Global-e order identifier. | |
| String | The data that should be passed with the request to | |
| String | The URL that should be called by the client with the POST request to finalize the | |
| String | The domain of the payment gateway. For security, you can verify the sender's identity using the | |
| String | The URL to the |
PriceItemInfo
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | Price of the item | |
| String | Unique identifier for the price item in the list (e.g. shipping option) |
PrimaryBilling
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Address line 1. Unlimited length. | N |
| String | Address line 2. Unlimited length. | N |
| String | City name. Max length: 500 chars. | N |
| String | The collection point ID | |
| String | Company name. Max length: 250 chars. | N |
| String | 2-char ISO country code | N |
| String | Country name. Max length: 255 chars. | N |
| String | Email address. Max length: 500 chars. | N |
| String | Fax number. Max length: 250 chars. | N |
| String | First name. Max length:40 chars. No length validation. The rest will be truncated. | N |
| String | Last name. Max length:40 chars. No length validation. The rest will be truncated. | N |
| String | Middle name. Max length:40 chars. No length validation. The rest will be truncated. | N |
| String | Phone #1. Max length: 250 chars. | N |
| String | Phone #2. Max length: 250 chars. | N |
| String | Salutation or title (e.g. Dr., Mr., etc.). Max length: 500 chars. | N |
| String | State or province ISO code such as AZ for Arizona (if applicable). 2 chars. | N |
| String | State or province name. Max length: 500 chars. | N |
| String | Zip or postal code. Max length: 250 chars. | N |
PrimaryShipping
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Address line 1. Unlimited length. | N |
| String | Address line 2. Unlimited length. | N |
| String | City name. Max length: 500 chars. | N |
| String | Collection point ID | N |
| String | Company name. Max length: 250 chars. | N |
| String | 2-char ISO country code | N |
| String | Country name. Max length: 255 chars. | N |
| String | Email address. Max length: 500 chars. | N |
| String | Fax number. Max length: 250 chars. | N |
| String | First name. Max length:40 chars. No length validation. The rest will be truncated. | N |
| String | Last name. Max length:40 chars. No length validation. The rest will be truncated. | N |
| String | Middle name. Max length:40 chars. No length validation. The rest will be truncated. | N |
| String | Phone #1. Max length: 250 chars. | N |
| String | Phone #2. Max length: 250 chars. | N |
| String | Salutation or title (e.g. Dr., Mr., etc.). Max length: 500 chars. | N |
| String | State or province ISO code such as AZ for Arizona (if applicable). 2chars. | N |
| String | State or province name. Max length: 500 chars. | N |
| String | Zip or postal code. Max length: 250 chars. | N |
Product
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| List<Attribute> | The product’s custom attributes (such as Color, Size, etc.) | N |
| List<Attribute> | The product’s custom attributes (such as Color, Size, etc.) in English | N |
| String | Estimated date for the backordered item to be in stock | N |
| Class Brand | The product’s brand | N |
| String | Identifier of the cart item on the Merchant’s site. This property may be optionally specified in the | N |
| String | Identifier of the child cart item “option” on the Merchant’s site. This value must be specified if the current cart item is related to a parent item ( | N |
| List<Category> | The product’s categories | N |
| Decimal | The quantity actually set for delivery for the product (to be used in the Order methods described below, as needed) | N |
| String | Description of the Product | |
| String | Description of the Product in English | |
| String | The product’s generic HS Code (not country-specific). If specified this property may assist in mapping the product for duties and taxes calculation purposes. | N |
| String | Optional “gift message” text defined by the end customer to be printed on the product. | N |
| String | Code applicable to the product on the Merchant’s site. This code may be optionally used by the Merchant to trigger a certain business logic when this product is included in the order posted back to the Merchant’s site with the | N |
| Decimal | The product’s height in the Merchant’s default unit of length measure (will be converted to CM). | N |
| String | The Merchant hub code indicates from which hub the product was sent. Note that the HubCode should be mapped to a Global-e hubId on the Global-e side. | N |
| Decimal | The product’s image height in pixels | N |
| String | The product’s image URL | N |
| Decimal | The product’s image width in pixels | |
| Bool | Boolean specifying if the product was ordered as a backed ordered item. TRUE - The item is back ordered FALSE - The item is not back ordered. Default FALSE. | N |
| Bool | Indicates if product is available for international shipping. TRUE - The product is not available for international shipping FALSE - The product is available for international shipping | N |
| Bool | Indicates if the product represents a set of products. TRUE - The product represents a set of other products. If a bundled product has non-zero prices specified (i.e. FALSE - The product does not represent a set of other products. | N |
| Bool | Indicates if the product’s price is fixed by the Merchant, in the default currency for the country. TRUE - The product’s price is fixed. In this case, all price modifications are disabled for this product. Setting fixed prices is only allowed for the Countries where the FALSE - The product's price is not fixed. | N |
| Bool | Indicates if the product represents a virtual product that does not have weight or volume and doesn’t affect shipping calculation in Global‑e checkout TRUE - The product represents a virtual product FALSE - The product does not represent a virtual product | N |
| String | The product’s keywords | N |
| Decimal | The product’s length in the Merchant’s default unit of length measure (will be converted to CM). | N |
| Decimal | Line item (product in ordered quantity) sale price in the original Merchant’s currency including the local VAT, before applying any price modifications. This property always denotes the price in the default Merchant’s country, regardless of | N |
| Decimal | Line item (product in ordered quantity) sale price as displayed to the customer, after applying country coefficient, FX conversion and | N |
| Decimal | Product list price (before discounts) as displayed to the customer, after applying country coefficient, FX conversion, rounding rule (if applicable) and | Optional in |
| Class VATRateType | VAT rate type or class that would be applied to this product if the order was placed by the local customer. This value must be specified if | N |
| Class ProductMetaData | Used to hold additional product data such as customer-defined product attributes. | N |
| String | Name of the Product | |
| String | Name of the Product in English | |
| Decimal | The product’s net volume in the Merchant’s default unit of volume measure (will be converted to cubic CM). If specified, this property indicates the net volume of the product, excluding any packaging. | N |
| Decimal | The product’s net weight in the Merchant’s default unit of weight measure (will be converted to grams). If specified, this property indicates the net weight of the product, excluding any packaging. | N |
| Decimal | Ordered quantity for the product (to be used in Checkout / Order methods described below, as needed) | N |
| Decimal | Product list price (before any discounts) in the original Merchant’s currency including the local VAT, before applying any price modifications. This property always denotes the product’s price in the default Merchant’s country, regardless of | Optional in |
| Decimal | Product sale price in the original Merchant’s currency including the local VAT, before applying any price modifications. This property always denotes the product’s price in the default Merchant’s country, regardless of | Optional in SaveProductsList, |
| String | 2-char ISO country code of the product’s country of Origin. The Merchant’s country will be assumed if not specified. | N |
| String | Identifier of the current item’s parent cart item on the Merchant’s site. This value must be specified if the current cart item is related to a parent item ( | N |
| Decimal | Rate applicable to this Product’s | N |
| String | The product class code is used by the Merchant to classify products to use different country coefficient rates. | N |
| String | SKU code used to identify the product on the Merchant’s site (to be mapped on the Global‑e side) | |
| String | Secondary code that may be used to refer to the product on the Merchant’s site. This code may be used in addition to the | N |
| String | Product’s group code on the Merchant’s site (to be mapped on the Global‑e side). Usually, this value is a part of the product SKU code denoting a group of similar products (such as "the same product in different s"). | N |
| String | Secondary code that may refer to the group of products on the Merchant’s site. This code may be used in addition to the | N |
| Decimal | Product sale price as displayed to the customer, after applying country coefficient, FX conversion, rounding rule (if applicable) and | Optional in SaveProductsList, |
| Decimal | Product sale price as displayed to the customer, after applying country coefficient, FX conversion and | N |
| String | Reason for the sale price. This property may optionally contain the text definition of the promo that has resulted in the price deduction for this product (such as “10% discount on all shoes”). | N |
| String | The product’s information page URL | N |
| Class VATCategory | The product’s VAT category. A product may be assigned to a single VAT category on the Merchant’s site. If available, the respective product’s HS Code should be used as the VAT category for a product. | N |
| Class VATRateType | Product’s VAT rate type or class | N |
| Decimal | The product’s volume in the Merchant’s default unit of volume measure (will be converted to cubic CM). | Optional, can be used as an alternative for specifying all Height, Width and Length dimensions |
| Decimal | The product’s weight is in the Merchant’s default unit of weight measure (will be converted to grams). The Merchant’s default product weight will be used if not specified. | N |
| Decimal | The product’s width in the Merchant’s default unit of length measure (will be converted to CM). | N |
ProductCountry
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | 2-char ISO code of the shipping country | |
| String | Textual definition of the forbiddance (will be empty if | |
| Bool | Indicates if Global-e supports shipping the product to this country. TRUE - Global-e does not support shipping the product to this country. Adding this product to the cart must be disabled completely. FALSE - The product can be shipped to this country. | |
| Bool | Indicates if this product has import restrictions for this shipping country. TRUE - Product has import restrictions for this shipping country. If at least one restricted product is included in the Cart, the end customer will not be able to place the order with Global-e until the product is either removed from the Cart or a shipping country with no restrictions for this product is selected. FALSE - Product does not have import restrictions. | |
| Bool | Indicates if product restrictions and other data contained in this object have been verified by Global‑e (i.e. some algorithmic approximations may be used by the system until manually resolved by Global‑e personnel). TRUE - Product restrictions/data have been verified. FALSE - Restrictions not verified. | |
| String | SKU code used to identify the product on the Merchant’s site (to be mapped on the Global‑e side) | |
| String | Textual definition of the restriction (will be empty if | |
| Decimal | Time-to-live interval (in seconds) before this object must be refreshed from the Global-e server. This property overwrites the “max-age” header returned by any method call which returns the | |
| Bool | Indicates whether the product was uploaded via catalogue or not. TRUE - Product was uploaded via catalogue. FALSE - Product was not uploaded via catalogue. | |
| Class VATRateType | Product’s VAT rate type or class to be used for this product in this shipping country. If not specified, the respective VATCategoryCountry’s | N |
ProductMetaData
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| List<CustomProductAttribute> | Customer-defined product attributes that allow the personalisation of the product if supported by the merchant’s site (e.g. engraving) | N |
Products
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Class Attributes | The attributes of the product. Includes the following fields:
| |
| Class BillingDetails | Provides billing details for the products. | |
| Class Brand | The product’s brand. Includes the following fields:
| N |
| String | identifier of the cart item on the Merchant’s site. This property may be optionally specified in the SendCart API only so that the same value can be posted back when creating the order on the Merchant’s site with the SendOrderToMerchant API. Max length: 50 chars. | N |
| String | Identifier of the child cart item “option” on the Merchant’s site. This value must be specified if the current cart item is related to a parent item (CartItemId must not be specified for this item because this attribute applies only to the “parent” item itself). For example, this item might indicate a package for the parent item in the same cart. This property may be optionally specified in the SendCart API only so that the same value can be posted back when creating the order on the Merchant’s site with the SendOrderToMerchant API. Max length: 50 chars. | N |
| Class Category | The category of the product. Includes the following:
| |
| Decimal | The quantity set for delivery for the product (to be used in the Order APIs described below, as needed). | N |
| String | Description of the Product. Length: Unlimited. | Y |
| Class DiscountsList | List of possible discounts for products. | |
| String | The product’s generic HS Code (not country-specific). If specified this property may assist in mapping the product for duties and tax calculation purposes. Max length: 50 chars. | N |
| Decimal | The product’s height in the Merchant’s default unit of length measure (will be converted to CM). | N |
| Decimal | The product’s image height in pixels | N |
| String | The product’s image URL A JPG formatted image. Max length: 255 chars. | N |
| Decimal | The product’s image width in pixels | N |
| Bool | Indicates if product is available/blocked for international shipping. TRUE - Product is blocked for international shipping. FALSE - Product is available for international shipping. | N |
| Bool | Indicates if the product’s price is fixed by the Merchant. TRUE - Product’s price is fixed by the Merchant, in the default currency for the country. In this case, all price modifications are disabled for this product. Setting fixed prices is only allowed for the Countries where the FALSE - Product price is not fixed. | N |
| String | The product’s keywords. Length: Unlimited. | N |
| Decimal | The product’s length in the Merchant’s default unit of length measure (will be converted to CM). | N |
| Decimal | Product list price (before discounts) as displayed to the customer, after applying country coefficient, FX conversion, rounding rule (if applicable), and | N |
| Class VATRateType | If This value must be specified if the order was placed by a local customer. Includes the following fields:
| N |
| String | Name of the Product. Min length: 1 char. No length limit. | Y |
| Decimal | Ordered quantity for the product (to be used in Checkout / Order APIs described below, as needed) | N |
| Decimal | Product list price (before any discounts) in the original Merchant’s currency including the local VAT, before applying any price modifications. This property always denotes the product’s price in the default Merchant’s country, regardless of | N |
| Decimal | Product sale price in the original Merchant’s currency including the local VAT, before applying any price modifications. This property always denotes the product’s price in the default Merchant’s country, regardless of | N |
| String | 2-char ISO country code of the product’s country of Origin. The Merchant’s country will be assumed if not specified. | N |
| String | Identifier of the current item’s parent cart item on the Merchant’s site. This value must be specified if the current cart item is related to a parent item (CartItemId must not be specified for this item because this attribute applies only to the “parent” item itself). For example, this item might indicate a custom option (such as a product package) for the parent item in the same cart. This property may be optionally specified in the SendCart API only so that the same value can be posted back when creating the order on the Merchant’s site with the SendOrderToMerchant API. Max length: 50 chars. | N |
| String | SKU code used to identify the product on the Merchant site (to be mapped on the Global-e side). Max length: 100 chars. | Y |
| String | The product’s group code is on the merchant’s site (to be mapped on the global-e side). Usually, this value is a part of the product SKU code denoting a group of similar products (such as "the same product in different colors"). Max length: 300 chars. | N |
| Decimal | Product sale price as displayed to the customer, after applying country coefficient, FX conversion, and IncludeVAT handling, before rounding rules have been applied. If not specified, will be deemed equal to SalePrice. | N |
| Decimal | Product sale price as displayed to the customer, after applying country coefficient, FX conversion, rounding rule (if applicable), and IncludeVAT. | N |
| Class Shipping Details | Shipping details for the product. | |
| String | The product’s information page URL. Max length: 255 chars. | N |
| Bool | Identifies if the TRUE - Must specify FALSE - Do not need to set | |
| Decimal | The product’s volume in the Merchant’s default unit of volume measure (will be converted to cubic CM). | N |
| Decimal | The product’s weight is in the Merchant’s default unit of weight measure (will be converted to grams). The merchant’s default product weight will be used if not specified | N |
| Decimal | The product’s width is measured in the merchant’s default unit of length (will be converted to CM). | N |
| String | Product’s VAT rate type or class. Max length: 100 chars. | N |
RedeemGiftCardRequest
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| List<GiftCardData> | List with gift cards data objects | |
| String | Identifier of the cart on the Merchant’s site originally specified in the | |
| String | Unique Merchant identifier | |
| String | Global‑e Order ID | |
| String | Code of country selected on checkout |
RedeemGiftCardResponse
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| List<GiftCardData> | List with gift cards data objects data | |
| String | Code of the error | |
| String | Error message |
RefundGiftCardRequest
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| List<GiftCardData> | List with gift cards data objects | |
| Decimal | Rate of conversion from gift card currency to customer currency | |
| String | Merchant unique identifier | |
| String | Global‑e Order ID | |
| Decimal | The total value to refund for all gift cards in customer currency | |
| Decimal | The total value to refund for all gift cards in gift card currency |
RefundGiftCardRequest
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| List<GiftCardData> | List with gift cards data objects | |
| Decimal | Rate of conversion from gift card currency to customer currency | |
| String | Merchant unique identifier | |
| String | Global‑e Order ID | |
| Decimal | The total value to refund for all gift cards in customer currency | |
| Decimal | The total value to refund for all gift cards in gift card currency |
RefundGiftCardResponse
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| List<GiftCardData> | List with gift cards data objects data | |
| String | Code of the error | |
| String | Error message | |
| Bool | Indicates if the amounts of redeemed cards was successfully returned TRUE - Successfully refunded. FALSE - Refund not successful. |
RefundProduct
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Identifier of the line item on the Merchant’s site. This property is mandatory and should be equal to the respective Product’s | |
| Decimal | The refund amount in the original Merchant’s currency including the local Merchant’s VAT for this product line item, before applying any price modifications (i.e. part of or the full value paid by Global-e to the Merchant, as was specified in | N |
| String | Product SKU or Product Variant ID according to Merchant configuration. Can be used as Product Identifier instead of | N |
| Decimal | The refund amount for this product line item in customer currency and used for this order payment. If this attribute is not specified, | N |
| String | Merchant's comments for this product’s refund | N |
| Decimal | Product quantity (i.e. a part of the originally ordered quantity) that the refund refers to. | N |
| Class OrderRefundReason | Reason for this product’s refund | N |
| String | The field is obsolete, please use | N |
Region
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Region code for this state or province (unique in the respective Country) | |
| String | 2-char ISO country code to which this region belongs | |
| String | Region name |
ReplacedProduct
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Cart item ID | |
| Decimal | Item quantity |
ResponseInfo
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Bool | Indicates if the call was successful. Success property value may be only TRUE. Otherwise, ErrorInfo will be returned instead. TRUE - Call was successful FALSE - Call failed For more information see ErrorInfo. | |
| String | Text that optionally describes the reason for Success status. |
RoundingException
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | A decimal value to avoid rounding for. Rounding exceptions always behave like “Relative Decimal” |
RoundingRange
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | A decimal value of the range start, exclusive of the | |
| Decimal | A decimal value used to calculate the target rounded value, for the numbers less than the | |
| Decimal | One of the possible values of | |
| List<RoundingException> | List of decimal values used to calculate the exceptions for rounding, i.e. values not to apply rounding for. | |
| Decimal | A decimal value required for the “nearest target” and “relative whole target” behavior. | |
| Decimal | A decimal value used to split the range so that the values less than the threshold would be rounded to the Lower target, and values greater than or equal to the threshold would be rounded to the Upper target. For the "Absolute target," the threshold range is an absolute value. Other Ranges are Relative values. See the absolute target in Rounding Range for more information. | |
| Decimal | A decimal value of the range end, inclusive. | |
| Decimal | A decimal value used to calculate the target rounded value, for the numbers greater than or equal to the Threshold, according to the defined Range behavior. If the |
Table 1: RoundingException
List of decimal values used to calculate the exceptions for rounding, i.e. values not to apply rounding for.
RangeBehaviors enumeration:
RangeBehavior Option Value | Name | Description |
---|---|---|
1 | Absolute target | In this behavior all the values within the specified range ( Getting rounding result (R) for the source number (S) must be implemented as follows: If (S = Exceptionn) then R = Exceptionn If (S < Threshold) then R = LowerTarget If (S >= Threshold) then R = UpperTarget |
2 | Relative Decimal target | In this behavior all the values within the specified range ( For source number (S): B = whole part of S LowerTarget (absolute): LA = B – 1 + LowerTarget UpperTarget (absolute): UA = B + UpperTarget Threshold (absolute): TA = B + Threshold Exceptionn (absolute): EAn = B + Exceptionn If (S = EAn) then Result (R) = EAn If (S < TA) then R = LA If (S >= TA) then R = UA |
3 | Relative Whole target | In this behavior LL the values within the specified range ( Getting rounding result (R) for the source number (S) must be implemented as follows: For source number (S): B = S rounded down to the closest multiple of V For example if (S = 56789 and V = 1000) then B = 56000 LowerTarget (absolute): LA = B – V + LowerTarget UpperTarget (absolute): UA = B + UpperTarget Threshold (absolute): TA = B + Threshold Exceptionn (absolute): EAn = B + Exceptionn If (S = EAn) then Result (R) = EAn If (S < TA) then R = LA If (S >= TA) then R = UA |
4 | Nearest target | In this behavior, Getting rounding result (R) for the source number (S) must be implemented as follows: For source number (S): B = S rounded down to the closest multiple of V For example, if (S = 123 and V = 5) then B = 120 LowerTarget (absolute): LA = B – 1 + LowerTarget UpperTarget (absolute): UA = B – 1 + V + UpperTarget Threshold (absolute): TA = B + Threshold Exceptionn (absolute): EAn = B + Exceptionn If (S = EAn) then Result (R) = EAn If (S < TA) then R = LA If (S >= TA) then R = UA |
Important:
If the result of rounding is a negative number, it must be set to zero, for any rounding behavior defined in the table above.
If either LowerTarget
or UpperTarget
value violates MaxDecimalPlaces
setting for the respective currency, this value must be truncated accordingly. For example, if UpperTarget
is set to 0.999 for USD, it must be truncated to 0.99 before using in any further calculations.
Table 2: Rounding Rules Samples
The following samples indicate how rounding X to Y (X → Y) is implemented using the respective settings.
0.25 → 0 3 → 0 1.5 → 1.5 2 → 2 | 22.47 → 21.95 22.48 → 22.99 22.50 → 22.50 33.75 → 33.75 | 2047 → 1995 2048 → 2100 | 122.26 → 124.99 122.25 → 119.99 127.26 → 129.99 121.50 → 121.50 127.50 → 127.50 123 → 123 128 → 128 | 2047 → 1999 2048 → 2100 | |
---|---|---|---|---|---|
From | 0 | 1 | 1000 | 100 | 1000 |
To | 3 | 250 | 10000 | 1000 | 10000 |
Threshold | 3.01 | 0.48 | 48 | 2.26 | 48 |
LowerTarget | 0 | 0.95 | 95 | 0.99 | 0 |
UpperTarget | 0 | 0.99 | 100 | 0.99 | 1 |
RangeBehavior | 1 Absolute | 2 Relative Decimal | 3 Relative Whole | 4 Nearest | 4 Nearest |
TargetBehaviorHelperValue | 100 | 5 | 100 | ||
RoundingExceptions | 1.5 | 0.50 | 1.50 | ||
2 | 0.75 | 2.50 | |||
3 |
RoundingRule
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | 2-char ISO country code | |
| String | 3-char ISO currency code | |
| List<RoundingRange> | List of decimal ranges and their respective rounding behavior. See RoundingRange. | |
| Decimal | Rule identifier denoting the respective Rounding Rule on the Global‑e side. This value must be further specified when calling |
SecondaryBilling
Parameter Name | Type | >Description | Mandatory (Y/N) |
---|---|---|---|
| String | Address line 1. Unlimited length. | N |
| String | Address line 2. Unlimited length. | N |
| String | City name. Max length: 500 chars. | N |
| String | The collection point ID. | |
| String | Company name. Max length: 250 chars. | N |
| String | 2-char ISO country code | N |
| String | Country name. Max length: 255 chars. | N |
| String | Email address. Max length: 500 chars. | N |
| String | Fax number. Max length: 250 chars. | N |
| String | First name. Max length:40 chars. No length validation. The rest will be truncated. | N |
| String | Last name. Max length:40 chars. No length validation. The rest will be truncated. | N |
| String | Middle name. Max length:40 chars. No length validation. The rest will be truncated. | N |
| String | Phone #1. Max length: 250 chars. | N |
| String | Phone #2. Max length: 250 chars. | N |
| String | Salutation or title (e.g. Dr., Mr., etc.). Max length: 500 chars. | N |
| String | State or province name. Max length: 500 chars. | N |
| String | State or province ISO code such as AZ for Arizona (if applicable). 2 chars. | N |
| String | Zip or postal code. Max length: 250 chars. | N |
SecondaryShipping
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Address line 1. Unlimited length. | N |
| String | Address line 2. Unlimited length. | N |
| String | City name. Max length: 500 chars. | N |
| String | N | |
Company | String | Company name. Max length: 250 chars. | N |
CountryCode | String | 2-char ISO country code | N |
CountryName | String | Country name. Max length: 255 chars. | N |
| String | Email address. Max length: 500 chars. | N |
| String | Fax number. Max length: 250 chars. | N |
| String | First name. Max length:40 chars. No length validation. The rest will be truncated. | N |
| String | Last name. Max length:40 chars. No length validation. The rest will be truncated. | N |
| String | Middle name. Max length:40 chars. No length validation. | N |
| String | Phone #1. Max length: 250 chars. | N |
| String | Phone #2. Max length: 250 chars. | N |
| String | Salutation or title (e.g. Dr., Mr., etc.). Max length: 500 chars. | N |
| String | State or province name. Max length: 500 chars. | N |
| String | State or province ISO code such as AZ for Arizona (if applicable). 2 chars. | N |
| String | Zip or postal code. Max length: 250 chars. | N |
SendAdditionalRequiredDocumentsToMerchantRequest
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
AdditionalRequiredDocuments | List <OrderDocument> | Additional documents which are required to ship the order | |
CountryCode | string | 2-char ISO country code | |
CountryCode | string | Order unique identifier on the Merchant’s site returned from a previous call to the | |
OrderId | string | Global‑e’s order id |
SendCartData
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Bool | Indicates if the end customer’s consent to receive emails from Merchants should be pre-selected in Global‑e checkout. TRUE - Preselect consent to receive emails. FALSE - Do not preselect consent. | N |
| Class CartCurrencyData | Details about the cart currency | |
| String | A string that represents the Merchant order id if it is known already at the point when the user is still in the cart page on the Merchant’s store. | N |
| Class CartPriceModificationData | Data regarding cart price modifications | |
| String | The value returned from the previous call to | |
| String | The end customer’s IP address. | N |
| String | 2-char ISO country code of the shipping country either pre-defined using geo-location or actively selected by the end customer. This may be different from the | |
| Class Culture | Cart culture data | N |
| List<Discount> | List of Discounts to be applied to the cart. Discounts of any type (“cart”, “shipping”, etc.) may be specified. | |
| Class CartFreeShippingData | Holds information required carts that were awarded free international shipping according to the Merchant platform (as opposed to the flat shipping pricing system on the global-e system). | |
| Decimal | Identifier of the Global‑e’s Local Hub previously returned by the | |
| Bool | Indicates whether the person placing the order is a customer support agent or a regular customer. TRUE – The customer is a customer support agent and an “Offline order” takes place, FALSE - (default value) – The customer is a regular customer. | N |
| List <ShippingOption> | List of JSON-serialized Shipping Options available for local shipping of the order from the Merchant to Global‑e’s Local Hub previously returned by the | |
| Class CartLoyaltyData | Holds information for Merchant-side loyalty points to be applied. | |
| Class LoyaltyPoints | Holds information on the registered user to apply loyalty points on the checkout page. | N |
| String | Hash optionally generated by the Merchant, to be returned to the Merchant with the order API call. This hash may be used for additional cart and order validation purposes on the Merchant’s side. | |
| String | Cart or session identifier used for the cart on the Merchant’s site, to be returned to the Merchant with the order API call. | |
| String | Unique identifier of Merchant internal order ID. | |
| String | Unique identifier of Merchant order ID. | |
| List<Decimal> | List of available payment instalment amounts. | |
| Class | Cart price modification data | Optional for Merchants not supporting browsing integration |
| List<Product> | List of Product objects. | |
| String | Currency data used by Global‑e to verify the currency rate. Return the value received in the used currency rate. | |
| String | List of JSON-serialized | |
| Class CartUserDetails | All available details of the user including all relevant addresses. | |
| Class CartVATRegistrationData | Holds information required for VAT exemption within the EU. | |
| Class CartVoucherData | Holds information for Merchant-side vouchers to be applied (includes loyalty vouchers and one-time vouchers). | |
| String | Code used on the Merchant’s side to identify the web store where the current cart is originating from. This code should be used in case of a multi-store setup on the Merchant’s site. | N |
| String | Code used on the Merchant’s side to identify the web store instance where the current cart is originating from. This code should be used in case of multi-store domains set up on the Merchant’s site. | N |
SendFinalCartData extends SendCartData
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Class UserDetails | Billing details entered by the customer in the checkout form | |
| String | Checkout URL; it redirects you to the checkout or confirmation page (different URL for each Merchant) | |
| Class FinalCustomerPayments | The values of total duties, total taxes, total additional fees (like Custom Clearance Fee), shipping price, and total that was shown to the customer on the checkout page | |
| List<Merchant.CheckoutInfoGiftCard> | The collection of | |
| Bool | Indicates if the user selected an option to dispatch the order on the same day TRUE - Selected to dispatch order on the same day FALSE - Did not select to dispatch order on the same day | |
| Bool | Indicates if the end customer has selected or has been forced to prepay duties & taxes TRUE - Selected to prepay taxes FALSE - Did not select to prepay taxes | |
| Class MarketplaceData | Marketplace information received by the API | |
| Class OrderCreationSource | Source for the order creation process | |
| Class CreateSyncOrderData | Information about the order | |
| Class OrderReplacementData | Order replacement information received by the API | |
| Class UserDetails | Shipping details entered by the customer in the checkout form. If | |
| String | The ID of the shipping option selected by the customer |
SendOrderRequestInfo
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | The format of the data the application can accept to display on the WebPage. Use “text/html”. | |
| Class UserDetails | Billing details entered by the customer in the checkout form. | |
| Class CheckoutCardDetails | Payment card details specified on the Merchant checkout page (for PCI-compliant Merchants). | |
| String | Cart token returned by the InitCheckout call. | |
| String | Client's IP. m. | |
| Bool | Indicates whether to perform the address verification. This is optional; if not provided then the address verification is done by default. TRUE - Perform address verification. FALSE - Do not perform address verification | |
| Bool | Indicates if the user selected an option to dispatch the order in the same day. TRUE - Same day dispatch selected. FALSE - Same day dispatch not selected. | |
| Bool | Indicates if the end customer has selected or has been forced to prepay duties & taxes. | |
| String | Callback URL provided by the Merchant when using an alternative payment method. In this case, a redirect flow is required, for example, to PayPal. Merchants can use different URLs depending on their needs. For instance, a Merchant can have a callback URL for mobile devices and another for desktop browsers. If the | |
| Decimal | Global-e identifier of the payment method selected in the Merchant’s checkout. This identifier is mandatory for alternative payment methods. If not specified, the system assumes that the payment was made with a credit/debit card, and the card brand is identified on the Global-e side, according to the card number. | |
| Class UserDetails | Shipping details entered by the customer in the checkout form. If | |
| Decimal | ID of the shipping option selected by the customer. | |
| String | The value that identifies the user’s application used for the checkout. For example, “MyShopApplication (android)”. |
SendOrderResponseInfo
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Class Merchant.Order | Pending payment Global‑e order that was created following the | |
| String | URL where the end customer should be redirected to complete the purchase with the selected alternative (non-card) payment method, or card payment action URL in Global-e secured environment for card payment methods |
ShippingDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Address line 1. Unlimited length. | N |
| String | Address line 2. Unlimited length. | N |
| String | City name. Max length: 500 chars. | N |
| String | 2-char ISO country code | N |
| String | Country name. Max length: 255 chars. | N |
| String | E-mail address. Max length: 500 chars. | N |
| String | Fax number. Max length: 250 chars. | N |
| String | First name. Max length: 40 chars. No length validation. The rest will be truncated. | N |
| String | Last name. Max length:40 chars. No length validation. The rest will be truncated. | N |
| String | Middle name. Max length:40 chars. No length validation. The rest will be truncated. | N |
| String | Phone #1. Max length: 250 chars. | N |
| String | Phone #2. Max length: 250 chars. | N |
| String | Salutation or title (e.g. Dr., Mr., etc.). Max length: 500 chars. | N |
| String | State or province ISO code such as AZ for Arizona (if applicable). 2 chars. | N |
| String | State or province name. Max length: 500 chars. | N |
| Decimal | Internal User identifier on the Merchant site | N |
| String | User’s personal ID document number | N |
| String | User’s personal ID document type (e.g. Passport, ID card, etc.) | N |
| String | Zip or postal code. Max length: 250 chars. | N |
ShippingOption
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Carrier’s short name | |
| String | Carrier’s full name | |
| String | Carrier’s title | |
| String | Shipping method code used to identify the shipping option on the Merchant’s site (to be mapped on the Global‑e side) | |
| String | Shipping method name | |
| String | Shipping method title | |
| String | Shipping method description | |
| Decimal | Shipping price in Merchant’s original currency defined in the |
ShippingOptionPricesResponse
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| List<PriceItemInfo> | List of shipping options with calculated international prices |
ShippingOptionResponse
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Class DutiesAndTaxesResponse | Full duties and taxes information according to the specific shipping option price | |
| String | The ID of the shipping option |
TrackingDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | The tracking number as the shipper has specified |
UpdateOrderDispatchException
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Identifier of the cart item on the Merchant’s site. This property may be optionally specified in the Either | Mandatory only if the |
| Decimal | One of the following possible values of the
| |
| Date | Expected date for backordered/preordered/customized item to be fulfilled (in YYYY-MM-DD format). | N |
| String | Product unique identifier on the Merchant’s site. Either | Mandatory only if the |
| Decimal | Product quantity that the exception refers to. | Mandatory only for Exception Type 3. |
UpdateOrderProductsRequest
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | The type of metadata update. Must be set to Merge. | |
| String | Global-e unique identifier or Merchant unique identifier of the order that requires updating. | |
| List | The list of products that require updating. |
UpdateOrderResponse
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Class DutiesAndTaxesResponse | Full duties and taxes information according to the cart details including the respective shipping option price |
UpdateParcelDispatchRequest
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Global‑e order unique identifier (previously submitted to the Merchant’s | |
| List<OrderProduct> | List of parcels for this order’s shipment to the Global‑e hub |
UpdateRMANumber
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | The Merchant order ID. | |
| String | The Merchant return merchandise authorization number. | |
| String | The order ID. | |
| String | The return merchandise authorization number. |
UserDetails
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Address line 1 | N |
| String | Address line 2 | N |
| String | City name | N |
| String | Company name | N |
| String | 2-char ISO country code | N |
| String | Country name | N |
| String | E-mail address | N |
| String | Fax | N |
| String | First name | N |
| String | First name in local culture Ex: Kana Japanese dialect | N |
| String | Last name | N |
| String | Last name in local culture Ex: Kana Japanese dialect | N |
| String | Middle name | N |
| String | Phone #1 | N |
| String | Phone #2 | N |
| String | Salutation or title (e.g. Dr., Mr., etc.) | N |
| String | State or province ISO code such as AZ for Arizona (if applicable) | N |
| String | State or province name | N |
| String | Internal User identifier on the Merchant site | N |
| String | User’s personal ID document number | N |
| Class UserIdNumberType | User’s personal ID document type (e.g. Passport, ID card, etc.) | N |
| String | Zip or postal code | N |
UserIdNumberType
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Identification document type name | |
| String | Code denoting a user identification document type (e.g. Passport, ID card, etc.) on the Merchant’s site (to be mapped on the Global‑e side) |
ValidateGiftCardRequest
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Dictionary<String, String> | Key value pairs of each field defined in the configuration | |
| String | Identifier of the cart on the Merchant’s site originally specified in the | |
| String | Merchant unique identifier | |
| String | Code of country selected on checkout |
ValidateGiftCardResponse
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Decimal | The available amount of money on a gift card | |
| String | Code of card currency | |
| String | Code of the error | |
| String | Error message | |
| Bool | Identifies if the gift card was bought from Global‑e. TRUE - Gift card was purchased from Global-e. FALSE - Gift card was not purchased from Global-e. | |
| Bool | The flag which approves that user entered the correct card data. TRUE - Card data is valid. FALSE - Card data is not valid. |
VATCategory
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | VAT Category name | |
| String | Code used to identify the VAT category on the Merchant’s site (to be mapped on the Global‑e side) |
VATCategoryCountry
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | 2-char ISO code of the shipping country | |
| String | Code used to identify the VAT category on the Merchant’s site (to be mapped on the Global‑e side) | |
| Class VATRateType | Product VAT rate type or class to be used for the products related to this VAT Category in this shipping country, unless defined on | N |
VATRateType
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | VAT rate type name | N |
| Decimal | VAT rate decimal value | |
| String | VAT rate type (or class) code on the Merchant’s site (to be mapped on the Global-e side) |
VerifyAddressResponseInfo
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| Bool | Indicates if the address is valid. If the address is not valid, the order will not be accepted. TRUE - Address is valid. FALSE - Address is not valid. | |
| List<CheckoutAddress> | List of optional address corrections to provide to the customer |
VoidParcelRequest
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | Merchant’s internal Delivery Reference Number for this order. Either the | Mandatory if |
| String | Order unique identifier on the Merchant’s site. Either the | Mandatory if |
| String | Global‑e order unique identifier. Either the | Mandatory if |
| String | The code used to identify the Parcel in an order on the Merchant’s site |
VoidParselResponse
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
IsSuccess | Bool | Indicates if the parcel was voided successfully. TRUE - Parcel was voided successfully. FALSE Parcel was not voided successfully. | |
| List<ParcelError, class> | A list of the specified errors that occur while the request proceeds |
WebStoreCodes
Parameter Name | Type | Description | Mandatory (Y/N) |
---|---|---|---|
| String | The code of the merchant web store | |
| String | The code of the instance of the web store |