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 Name | Attribute Type | Description | Enum | Required (Binary) |
---|---|---|---|---|
command | string | High level command name to interact with Oliver | null | 1 |
method | string | These correspond to create, read, update, and delete (or CRUD) operations | null | 1 |
version | string | The version of the command used | null | 1 |
Updated 7 months ago