Skip to main content
POST
SendCartV2

Body

application/json

Details about the end customer's cart contents from the Merchant's site. Includes user details, product details, discount details, conversion information, vouchers, and any other information required for cart creation

Products
Product · object[]
required

List of Product objects.

AllowMailsFromMerchant
boolean

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.

CartCurrencyData
CartCurrencyData · object

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.

CartPriceModificationData
CartPriceModificationData · object

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.

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
Culture · object

Cart culture data

DeliveryType
string

Indicates type of delivery.

Discounts
Discount · object[]

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

FreeShipping
CartFreeShippingData · object

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
number

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
boolean

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.

LocalShippingOptions
ShippingOption · object[]

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
CartLoyaltyData · object

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

LoyaltyPoints
LoyaltyPoints · object

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

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.

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
number[]

List of available payment instalment amounts.

PriceModification
object

Cart price modification data

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
CartUserDetails · object

All available details of the user including all relevant addresses.

VATRegistration
CartVATRegistrationData · object

Holds information required for VAT exemption within the EU.

VoucherData
CartVoucherData · object

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.

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.

Response

200 - application/json

Response Parameters

cartInfo
CartInfo · object

Contains details about the end customer's cart.