PRODUCT_ORDER_ITEM_SEARCH PRODUCT Endpoint
  /rpc/product/?method=PRODUCT_ORDER_ITEM_SEARCH  
  For information on how to use Advanced Searches, click here  
  DETAILS    
  Prefix OrderItem  
  SUB SEARCHES    
  Order PRODUCT_ORDER_SEARCH  
  ParentOrderItem PRODUCT_ORDER_ITEM_SEARCH  
  Product PRODUCT_SEARCH  
  AVAILABLE FIELDS TYPE  
  Area Numeric Id of the Linked Area
  AreaText Text (50) Title of the linked Area
  Id Numeric  
  InvoiceDescription Text (100)  
  KeyDate Date  
  KeyDateTimeZone Numeric  
  KeyDateTimeZoneText Text (50)  
  Notes Text (2000)  
  Order Numeric Id of the linked Order
  OrderText Text (50) Reference of the linked Order
  ParentOrderItem Numeric  
  ParentOrderItemText Text (50)  
  PriceType Numeric 1=Retail,2=Wholesale
  PriceTypeText Text (50) See above
  Product Numeric Id of the linked Product
  ProductText Text (50) Title of the linked Product
  Quantity Numeric  
  Reference Text (50)  
  Store Numeric Id of the linked Store
  StoreText Text (50) Title of the linked Store
  TaxType Numeric Depends upon your country. For Australia, 1=GST Applies,2=GST Free - Export,3=GST Free - Other,4=GST Free - Input Taxed,5=GST Free - Exclude
  TaxTypeText Text (50) See above
  TotalCost Numeric  
  TotalTax Numeric  
  UnitCost Numeric  
  Variant Numeric Variant of the linked Product (if any)
  VariantText Text (50) Title of the Variant of the linked Product (if any)
       
  Audit Fields   Click here for more information
  RETURN  
  Selected Fields  
  EXAMPLE
  1. Items added this month
  oAdvancedSearch.endPoint = 'product';
oAdvancedSearch.method = 'PRODUCT_ORDER_ITEM_SEARCH';
oAdvancedSearch.addField('ordertext,producttext,quantity,totalcost,taxtypetext');
oAdvancedSearch.addFilter('createddate','MONTH_TO_DATE');

oAdvancedSearch.getResults(function(asData) { SearchComplete(asData);});
Help!