Command to get product ledger entries and their filter cycles and currencies.
<mbapi> <command><!-- string --></command> <showXMLHeader><!-- boolean --></showXMLHeader> <params> <shoppingItemID><!-- int --></shoppingItemID> <shoppingSessionID><!-- string --></shoppingSessionID> <productID><!-- int --></productID> <productVariantID><!-- int --></productVariantID> <parentShoppingItemID><!-- int --></parentShoppingItemID> <cycleID><!-- int --></cycleID> <currencyID><!-- string --></currencyID> <shoppingItemQuantity><!-- int --></shoppingItemQuantity> <shoppingItemSLD><!-- string --></shoppingItemSLD> <shoppingItemTLD><!-- string --></shoppingItemTLD> <shoppingItemDomainLanguage><!-- string --></shoppingItemDomainLanguage> <shoppingItemTransferKey><!-- string --></shoppingItemTransferKey> <shoppingItemPrice><!-- double --></shoppingItemPrice> <shoppingItemSetupPrice><!-- double --></shoppingItemSetupPrice> <shoppingItemDateAdded><!-- int --></shoppingItemDateAdded> </params> </mbapi>
<mbapi> <header> <remoteSessionID><!-- hex --></remoteSessionID> <errorCount><!-- int --></errorCount> <errors> <error> <title><!-- string --></title> <message><!-- string --></message> </error> </errors> <numResults><!-- int --></numResults> <numAffectedRows><!-- int --></numAffectedRows> </header> <results> <shoppingItems> <shoppingItem> <shoppingItemID><!-- int --></shoppingItemID> <shoppingSessionID><!-- string --></shoppingSessionID> <productID><!-- int --></productID> <productVariantID><!-- int --></productVariantID> <parentShoppingItemID><!-- int --></parentShoppingItemID> <cycleID><!-- int --></cycleID> <currencyID><!-- string --></currencyID> <shoppingItemQuantity><!-- int --></shoppingItemQuantity> <shoppingItemSLD><!-- string --></shoppingItemSLD> <shoppingItemTLD><!-- string --></shoppingItemTLD> <shoppingItemDomainLanguage><!-- string --></shoppingItemDomainLanguage> <shoppingItemTransferKey><!-- string --></shoppingItemTransferKey> <shoppingItemPrice><!-- double --></shoppingItemPrice> <shoppingItemSetupPrice><!-- double --></shoppingItemSetupPrice> <shoppingItemDateAdded><!-- int --></shoppingItemDateAdded> </shoppingItem> </shoppingItems> </results> </mbapi>
mbapi
MBAPI request document root.
command
Required. The string GetShoppingItems.
showXMLHeader
Whether to show an XML header in the results.
params
GetShoppingItems parameters.
shoppingItemID
Shopping Item ID, auto increment id of this item for editing purposes.
shoppingSessionID
Shopping Session ID, hash tracking ID.
productID
Product ID of this item.
productVariantID
Product Variant ID of this item.
parentShoppingItemID
Parent Shopping Item ID, the id of the item this item is a sub item of.
cycleID
Cycle ID chosen for this item.
currencyID
Currency ID for this item (reference only).
shoppingItemQuantity
Quantity.
shoppingItemSLD
SLD, used for domain items only.
shoppingItemTLD
TLD, used for domain items only.
shoppingItemDomainLanguage
Language for IDN's
shoppingItemTransferKey
String used as a key for domain transfers
shoppingItemPrice
Price of each of these items.
shoppingItemSetupPrice
One time Setup Price.
shoppingItemDateAdded
Shopping item date added, just a timestamp when this item was added to the cart.
mbapi
MBAPI response document root.
header
Contains result meta data: data about the result itself.
remoteSessionID
A session ID that may be used for authentication instead of a remote access hash.
errorCount
The number of errors that occured.
errors
Contains any errors that occured.
error
Contains information relating to a single error. Occurs header errorCount times.
title
The title of the error.
message
The error message.
numResults
The number of results that have been returned. For Get commands.
numAffectedRows
The number of rows that have been affected. For Set commands.
results
shoppingItems
shoppingItem
shoppingItemID
Shopping Item ID, auto increment id of this item for editing purposes.
shoppingSessionID
Shopping Session ID, hash tracking ID.
productID
Product ID of this item.
productVariantID
Product Variant ID of this item.
parentShoppingItemID
Parent Shopping Item ID, the id of the item this item is a sub item of.
cycleID
Cycle ID chosen for this item.
currencyID
Currency ID for this item (reference only).
shoppingItemQuantity
Quantity.
shoppingItemSLD
SLD, used for domain items only.
shoppingItemTLD
TLD, used for domain items only.
shoppingItemDomainLanguage
Language for IDN's
shoppingItemTransferKey
String used as a key for domain transfers
shoppingItemPrice
Price of each of these items.
shoppingItemSetupPrice
One time Setup Price.
shoppingItemDateAdded
Shopping item date added, just a timestamp when this item was added to the cart.