Is it possible to change the runtime condition of the OrderLoad API to INVOICE or CREDIT_MEMO depending on a request tag value? If so, how would I go about accomplishing this? I'm trying to avoid having to create an InvoiceLoad and CreditMemoLoad API which would be a more invasive change to standard code due to all of the "OrderLoad" specific conditions already in place that would need to be expanded.
Another possibility is changing the %API_REQUEST$ value to "OrderLoad" in the initialization of an "InvoiceLoad" or "CreditMemoLoad" API if that would not adversely affect the API drivers.
Any help would be greatly appreciated!
--Ken