This class is an instantion of the Command class, that executes a command pertaining to fetching product group information, in the default case from the database. This class should only be instantiated by dispatchMBAPI() found in include/mbapi/mbapi.php. Something similar to the following XML should be passed to dispatchMBAPI() when you want to call the GetProductGroups command:
<mbapi> <command><!-- None --></command> <showXMLHeader><!-- None --></showXMLHeader> <params> <productGroupID><!-- int --></productGroupID> <productGroupApiName><!-- string --></productGroupApiName> <productGroupName><!-- string --></productGroupName> <sortDir><!-- None --></sortDir> <sortColumn><!-- None --></sortColumn> <recordOffset><!-- None --></recordOffset> <numRecords><!-- None --></numRecords> </params> </mbapi>
None
mbapi
command
showXMLHeader
params
productGroupID
The ID of the product group to fetch. This will always select at most 1 group.
productGroupApiName
The api name of the product group to fetch. Retrieved using a LIKE statement
productGroupName
The name of the product group to fetch. Retrieved using a LIKE statement
sortDir
sortColumn
recordOffset
numRecords