Skip to main content

Documentation Portal

SendCartData

Parameter Name

Type

Description

Mandatory

AllowMailsFromMerchant

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.

No

CartCurrencyData

Object CartCurrencyData

Details about the cart currency

CartId

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.

No

CartPriceModificationData

Object CartPriceModificationData

Data regarding cart price modifications

CartToken

String

The value returned from the previous call to SendCart for the same client (must be stored in the client session or persistent cookie on the Merchant’s side). This parameter is used to support cart updates.

clientIP

String

The end customer’s IP address.

No

CountryCode

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 shippingDetails.CountryCode property denoting the registered user’s country defined below.

Culture

Object Culture

Cart culture data

No

DeliveryType

String

Indicates type of delivery.

Discounts

List of Discount

List of Discounts to be applied to the cart. Discounts of any type (“cart”, “shipping”, etc.) may be specified.

FreeShipping

Object 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).

HubCountryCode

String

The 2-character ISO country code representing the country to which this hub belongs.

HubId

Decimal

Identifier of the Global‑e’s Local Hub previously returned by the ActiveHubDetails method. If not specified, the default Merchant’s Hub will be used instead.

IsMoto

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.

No

LocalShippingOptions

List of 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 ActiveHubDetails method. If the “globaleintegration_standard” shipping method 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 the SendOrderToMerchant API method). Therefore, all other shipping methods available for local shipping may be omitted in LocalShippingOptions.

LoyaltyData

Object CartLoyaltyData

Holds information for Merchant-side loyalty points to be applied.

LoyaltyPoints

Object LoyaltyPoints

Holds information on the registered user to apply loyalty points on the checkout page.

No

MerchantCartHash

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.

MerchantCartToken

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.

MerchantInternalOrderId

String

Unique identifier of Merchant internal order ID.

MerchantOrderId

String

Unique identifier of Merchant order ID.

MerchantPriceForDuties

String

The amended Merchant's price for duties. Can be used to declare a value for a free item for customs purposes.

Note: Either MerchantPriceForDuties or OriginalMerchantPriceForDuties or both can be provided.

Used by SendCartV2 API.

Name

String

Name of the Product.

Min length: 1 char. No length limit.

OriginalMerchantPriceForDuties

String

The original Merchant's price for duties. Can be used to declare a value for a free item for customs purposes.

Note: Either MerchantPriceForDuties or OriginalMerchantPriceForDuties or both can be provided.

Used by SendCartV2 API.

PaymentInstallments

List of Decimal

List of available payment instalment amounts.

PriceModification

Class

Cart price modification data

Optional for Merchants not supporting browsing integration

Products

List of Product

List of Product objects.

rateData

String

Currency data used by Global‑e to verify the currency rate. Return the value received in the used currency rate.

ShipToStoreCode

String

Indicates the ship-to-shop code.

UrlParameters

String

List of JSON-serialized KeyValuePairs that denote parameter values to be specified in the respective Merchant’s RESTFul API action URLs. For example, to instruct Global‑e to include the “en-AU” locale in the SendOrderToMerchant call for this cart, urlParameters should include: KeyValuePair: [{"Key":"locale", "Value":"en-AU"}]. In this example “locale” parameter should be configured for the SendOrderToMerchant URL for this Merchant on the Global‑e side.

UserDetails

Object CartUserDetails

All available details of the user including all relevant addresses.

VATRegistration

Object CartVATRegistrationData

Holds information required for VAT exemption within the EU.

VoucherData

Object CartVoucherData

Holds information for Merchant-side vouchers to be applied (includes loyalty vouchers and one-time vouchers).

WebStoreCode

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.

No

WebStoreInstanceCode

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.

No