v36

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-017439390.7 KB

Apply predefined automatic coupons based on specific promotional criteria.

post/api/v4.0/integrations/coupons/automatic

Request body

customerIdstring required
emailstring
mobilestring
cartIdstring required
totalPricenumber
totalShippingnumber

Response

Automatic coupon applied successfully

isAppliedboolean
couponNamestring
discountAmountnumber
discountType'shipping' | 'fixed' | 'percentage' | 'product' | 'buyXgetY'