Jump to Content
Magic Checkout
GuidesAPI Reference
Log InMagic Checkout
Log In
GuidesAPI Reference

Introduction

  • What is Magic Checkout?
  • How to get started with Magic
  • How to contact us

Best Practice & Guideline

  • Overview
  • Product Page
  • Cart Page
  • Mini Cart

Testing

  • Overview
  • Test environments
  • Tests Cards

Platform Integrations

  • Platforms Quickstart
  • Magento 1
    • Plugin Installation & Configuration
    • Testing: Orders & Refund
    • Last steps to Go-live
  • Magento 2
    • Plugin Installation
    • Plugin Configuration
    • Testing: Orders & Refunds
    • Last steps to Go-live
  • Prestashop
    • Prestashop - Quickstart
    • Plugin Installation & Configuration
    • Testing: Orders & Refunds
    • Last steps to Go-live
  • Woocommerce
    • Plugin Installation & Configuration
    • Testing: Orders & Refunds
    • Last steps to Go-live

Custom Integrations

  • How does it work?
  • Magic Checkout Button
    • Widget Installation
    • Magic Checkout Events
  • Events Data Model
    • onExpressCheckout
    • onCheckout
    • onShippingAddressChange
    • onShippingMethodChange
    • onCouponCodeAdd
    • onCouponCodeRemove
    • onCustomerUpdate
    • onOrderCreate
    • onOrderComplete
  • Data Model
    • Amount
    • CheckoutItem
    • Address
    • ShippingMethod
    • PickupMethod
    • SelectedShippingMethod
    • Name
    • Variant
    • Shipping
    • Billing
    • OrderAmountDetails
    • CouponItem
    • Customer
    • CustomerInfo
    • CustomerName
    • PhoneNumber
  • Magic Checkout API
  • Error Codes
  • Last steps to Go-live

Analytics

  • Configuring Magic Checkout Analytics

Merchant Support

  • Merchant Portal
    • How to access
    • Resend temporary password
    • Forgot Merchant Portal password after the 1st access
    • Transactions status
    • Manual Refund
  • Getting Paid

Support

  • Privacy and GDPR
Powered by 

onCouponCodeRemove

Suggest Edits

@data

Property

Type

Required

checkoutId

string

mandatory

couponCode

string

mandatory

@response

Property

Type

Required

items

CheckoutItem Array

optional

orderAmount

Amount

mandatory

orderAmountDetails

OrderAmountDetails

optional

shippingMethods

ShippingMethod Array

optional

pickupMethods

PickupMethod Array

optional

shipToStoreMethods

PickupMethod Array

optional

coupons

CouponItem Array

optional

Updated 23 days ago