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

Copyright © 1997 – 2026 Miva®, Miva Merchant®, MivaPay Vault®, Camp Miva®, Miva Connect®, Vexture℠, Miva, Inc. All Rights Reserved.