CartValue

This app command allows users to manipulate the transactional data in the cart such as the sub-total, total tax, discount, balance, tender amount and currency used.

GET

Description:
Get the transaction data of a cart.

Request Body:

{
    command: 'CartValue',
    method: 'get',
    version: '1.0'
}

Response Body:

{
    command: 'CartValue',
    method: 'get',
    version: '1.0',
    status_code: 200,
    error: null,
    data: {
        sub_total: 13.50,
        total_tax: 1.35,
        discount: 0,
        discount_unit: '%',
        balance: 14.85,
        tender_amt: 0,
        currency: 'USD'
    }
}

Parameters:

Attribute NameAttribute TypeDescriptionEnumRequired (Binary)
commandstringHigh level command name to interact with Olivernull1
methodstringThese correspond to create, read, update, and delete (or CRUD) operationsnull1
versionstringThe version of the command usednull1