Skip to main content

Documentation Portal

Merchant.DiscountVoucherValidation

Parameter Name

Type

Description

Mandatory

CouponCode

String

Merchant CouponCode used for this discount (applicable to coupon-based discounts only)

No

Description

String

Discount textual description

No

DiscountCode

String

Discount code originally specified in the Discount.DiscountCode property of the respective discount in SendCart method for the cart converted to this order on Global‑e.

No

DiscountSource

Enum

The enum DiscountSource has the following possible values:

  • 1 = Merchant

  • 2 = FixedShippingPrice

  • 3 = PercentageCartPrice

  • 4 = HiddenForceDDP

  • 5 = Amend

  • 6 = RemoteAreaSurchargeSubsidy

  • 7 = LoyaltyPoints

  • 8 = PaymentCharge

  • 9 = ReplacementOrder

Yes

DiscountType

Decimal

Discount type (“Cart”, “Shipping”, etc.), as defined in the DiscountTypeOptions enumeration described in the Discount class in this document.

InternationalPrice

Decimal

Discount value in end customer’s currency (specified in InternationalDetails.CurrencyCode property for the respective Merchant.Order), after applying country coefficient, FX conversion, and IncludeVAT handling.

No

LocalVATRate

Decimal

The VAT rate that would be applied to this discount if the order was placed by the local customer. This value must be specified if UseCountryVAT for the current Country is TRUE and therefore the VATRate property denotes the VAT for the target country.

No

LoyaltyVoucherCode

String

Loyalty Voucher code originally specified in Discount.LoyaltyVoucherCode property of the respective discount in SendCart method for the cart converted to this order on Global‑e.

No

c

String

Discount name

Price

Decimal

Discount value in the currency defined in the CurrencyCode property of the respective Merchant.Order object for the order being submitted to the Merchant.

ProductCartItemId

String

Identifier of the product cart item related to this discount on the Merchant’s site originally specified in the Discount.ProductCartItemId property of the respective discount in the SendCart method for the cart converted to this order on Global‑e.

No

VATRate

Decimal

The VAT rate applied to this discount