removePromocode

fun removePromocode(callback: RemovePromocodeCallback, cartId: String = "current")

Removes a promo code from a cart. After the promo code is removed, the total price of all items in the cart will be recalculated without bonuses and discounts provided by a promo code.

See also

Parameters

cartId

Cart ID. Default value is current.

callback

Status callback.

Sources

Link copied to clipboard