Skip to main content

Documentation Portal

Merchant.CartVoucherValidation

Parameter Name

Type

Description

Mandatory

CartHash

String

Cart hash originally specified in merchantCartHash argument for SendCart method for the cart converted to this order on Global‑e.

CartId

String

Identifier of the cart on the Merchant’s site originally specified in merchantCartToken argument for SendCart method for the cart converted to this order on Global‑e.

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.

CountryCode

String

2-char ISO country code

CurrencyCode

String

3-char ISO currency code.

Discounts

List of Merchant.DiscountVoucherValidation

Cart discounts for voucher validation.

FreeShippingCouponCode

String

The Merchant free shipping coupon code applied by the end customer.

IsFreeShipping

Bool

Indicates if the Merchant offers free international shipping to the end customer.

MerchantGUID

String

Unique identifier of the Merchant on Global-e.

Products

List of Merchant.ProductVoucherValidation

Cart products for voucher validation.

UserId

String

Internal User identifier on the Merchant’s site in case it was specified in the SendCart call.

No

VoucherCode

String

The voucher code specified on the Merchant site.

VoucherType

Decimal

Enumeration of VoucherTypes:

1 -  DiscountVoucher

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.