Globale-Coupon (VoucherValidation) endpoint. Unmapped codes continue to use the normal coupon-line-item path.
Limitations
- Percentage discounts only. This feature works only with percentage discounts (SFCC percent-off promotions with Global-e
geDiscountType=PERCENTAGE). Other checkout discount types (for example fixed amount / currency-off) are not supported by the Global-e service and must not be used for payment-method provider / checkout discount vouchers.
Behaviour
- Shopper selects an eligible payment method (or enters a mapped voucher) on Global-e checkout → SFCC applies the mapped promotion for that
Globale-Couponrequest only and returns a newCartToken. - Mapped codes do not create an SFCC coupon line item.
- The checkout discount (payment-method provider discount) does not survive a later real SFCC coupon apply/remove. When Global-e checkout reloads after voucher validation, payment-method selection is reset — the shopper must select an eligible payment method again to get the checkout discount.
- Leaving Global-e checkout for the cart (or opening checkout again from the cart without re-entering the voucher / re-selecting the PM) does not keep or revive the checkout discount.
- On order failover (SOTM / basket rebuilt from SendCartV2 payload), if the last SendCartV2 still carried the voucher in
UrlParameters, it can be restored for calculate. - Works on SFRA, SiteGenesis, and headless storefronts, using the scenario that matches each integration:
- SFRA / SiteGenesis — Global-e calls
Globale-Couponin the shopper session (forwardeddwsid); the cartridge applies the mapped promotion directly on the storefront basket and calls SendCartV2. No OCAPI/SCAPI basket or coupon hooks are involved. - Headless (PWA, SFNext, etc.) — Global-e calls with a JWT (
AuthToken) through OCAPI/SCAPI; theint_globale_headlessbasket/coupon hooks apply the promotion and refresh the cart token.
- SFRA / SiteGenesis — Global-e calls
Prerequisites
- Global-e platform — the voucher / payment-method provider discount must also be configured on the Global-e side for the merchant. Contact Global-e Merchant Support to confirm merchant-account configuration (including settings required for checkout discount / voucher refresh behaviour).
- Cartridge path that includes
int_globaleand the storefront cartridge for the integration:int_globale_sfraorint_globale_sitegenesis(shopper-session scenario), orint_globale_headless(JWT OCAPI/SCAPI scenario). Onlyint_globale_headlessregisters the OCAPI basket/coupon hooks (beforePATCH/afterPATCH,coupon.*) that the JWT scenario relies on; SFRA/SiteGenesis do not need them because the shopper-session scenario runs entirely inGlobale-Coupon. - Site preference
geCheckoutDiscountVoucherMappingsconfigured (see below). - An SFCC dynamic customer group whose membership depends on the session attribute in the mapping.
- An SFCC percentage promotion (no coupon required) assigned to that customer group, with Global-e promotion attributes set as usual (
geDiscountType=PERCENTAGE). Other discount types are not supported for this feature — see Limitations. See Promotions. - SFRA / SiteGenesis only — the shopper
dwsidcookie must be present in the SendCartV2UrlParameters(inside theClientCookieentry). Global-e replays it when it callsGlobale-Coupon, letting SFCC re-bind to the shopper session and current basket. Withoutdwsid, voucher apply/remove (and session-bound order create) fail — see Checkout flow → Session identifiers. Headless uses the OCAPI/SCAPI JWT instead and does not needdwsid.
Configuration
1. Site preference — Checkout Discount Voucher Mappings
Merchant Tools → Site Preferences → Custom Site Preference Groups → Global-e Settings → Checkout Discount Voucher Mappings (geCheckoutDiscountVoucherMappings)
JSON array. Empty, null, or invalid JSON means no mapped codes (all vouchers use the normal coupon path).
Example:
2. Customer group and promotion
1
Create a dynamic customer group that includes shoppers when the session attribute from the mapping is set.
2
Create (or reuse) a percentage (percent-off) promotion that qualifies on that group — without requiring an SFCC coupon. Do not use amount, fixed-price, or other non-percentage discount types for this feature.
3
Assign the promotion to an active campaign and set Global-e promotion custom attributes with
geDiscountType = PERCENTAGE.4
Ensure
promotionId in the mapping matches the promotion ID exactly.3. Metadata
Import Global-e metadata that includes:- Site preference
geCheckoutDiscountVoucherMappings - Basket attribute
geCheckoutDiscountVouchers(used by the cartridge; merchants do not set this manually)
Expected checkout behaviour
Notes
- SendCartV2
UrlParametersmay carry checkout discount vouchers for SOTM / fallback basket rebuild when the discount-apply SendCart still had the basket attribute set. Other Global-e requests (OrderClientCreate,OrderCreateV2,KeepAlive,ValidateCart) neither apply nor validate vouchers, so they do not need the voucher session attributes. - Only one checkout discount voucher is active at a time. Applying another mapped voucher replaces the previous one.
- On the Global-e platform, configure the matching payment-method provider / checkout discount as a percentage value only (for example
10%). Non-percentage checkout discounts are not supported by the Global-e service. Confirm related merchant-account settings with Global-e Merchant Support before go-live.

