24/7 Support: 800.608.6482

Navigation


Runtime_BasketItem_Delete

This function deletes an item in a basket.

Item must be specified using one of Group_ID or Line_ID, but not both.

Request Parameters

store_code Type:
String
Title:
Store Code
Store code to run the function against. Found in the Miva Admin under Settings > Store Details
function Type:
String
Title:
Runtime Basket Item Delete
The name of the function being executed
line_id Type:
Number
Title:
Line ID
The id number of the basket line id you wish to delete
group_id Type:
Number
Title:
Group ID
The id of the basket group_id you wish to delete
Session_ID Type:
String
Title:
Basket Session ID
The Basket Session ID you want to delete items from

Response Parameters

success Type:
Boolean
Title:
Status Response
Boolean value indicating if the api request was successful
total Type:
Number
Title:
Basket Total
Updated basket total price
subtotal Type:
Number
Title:
Basket Subtotal
Updated basket subtotal price
formatted_total Type:
String
Title:
Currency Formatted Basket Total
Currency formatted basket total price
formatted_subtotal Type:
String
Title:
Currency Formatted Basket Subtotal
Currency formatted basket subtotal price

Example Request

Example Response

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept

Copyright © 1997 – 2023 Miva©, Miva Merchant©, MivaPay©, MivaCon©, Camp Miva ℠, Miva, Inc. All Rights Reserved.