CheckoutCartInfo
Parameter Name | Type | Description | Mandatory |
|---|---|---|---|
| Boolean | 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. | No |
| Object | Billing details of a registered user (if available on the Merchant’s site). If the | No |
| String | The end customer’s IP address | No |
| 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 | No |
| 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. | No |
| 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. | No |
| List of | List of JSON-serialized Discounts to be applied to the cart. Discounts of any type (“cart”, “shipping”, etc.) may be specified. | No |
| Boolean | 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. | No |
| nvarchar | Merchant’s free shipping coupon code applied by the end customer. Max length: 50. | No |
| 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. | No |
| Decimal | Optional for the merchants not supporting browsing integration. The value is returned from CountryCoefficients API. | No |
| Boolean | Indicates if the Merchant offers free international shipping to the end customer. | No |
| String | The loyalty code specified by the end customer (or read from the end customer’s account) on the Merchant’s site. | No |
| Object | LoyaltyPoints contains data about the registered user for applying loyalty points on the Checkout page. | No |
| Decimal | The number of loyalty points to be earned for this purchase by the end customer on the Merchant’s site. | No |
| Decimal | The number of loyalty points to be spent for this purchase by the end customer on the Merchant’s site. | No |
| Decimal | The total number of loyalty points currently available in the end customer’s user account on the Merchant’s site. | No |
| 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. | No |
| 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. | No |
| 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. | No |
| Decimal | Amount of the one-time voucher in | No |
| String | One-time voucher code for the cart (for applicable platforms). | No |
| String | One-time voucher currency used for the amount. | No |
| 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). | No |
| List of | List of Product objects (specified in the request body) | Yes |
| 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 |
| Object | Shipping details of a registered user (if available on the Merchant’s site). If the If If not specified neither in the | No |
| List of | 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 | No |
| List of | 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, | No |
| Object | All available details of the user including all relevant addresses. If | No |
| String | VAT Registration Number of the end customer’s business entity validated with the merchant. | No |
| 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 | No |
| 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 |