Configure Generic API Loader

Knowledge Center > Marketplace > App Documentation > Developer Tools > Configure Generic API Loader

Configure Generic API Loader

The Generic API Loader application uses the Zuora APIs of Create, Update, and Delete in combination with CSV templates to perform mass requests. It enables you to create, update, and delete any Zuora object in bulk.

The Generic API Loader takes in a CSV file, reads through each line, performs the desired operation, and generates a results file and a failures file. If no error is encountered during the execution job, the failures file will be blank and the results file will report success statements for each line in the CSV. Otherwise, the lines are added to the failures file and each error is listed in the results file. This allows for an iterative approach where the failures file can be corrected based on the error received in the status file and re-uploaded as a new task. 


Ensure that the "API Write Access" permission is enabled for your user role in the Zuora tenant. 

Create a Generic API Loader Task

Take the following steps to create a task using the Generic API Loader:

  1. Navigate to New Task > Generic > API LoaderGeneric API Loader.png
  2. In the General tab, complete the following configuration:
    1. Enter the name of the task in the Name field.
    2. Select a run mode from the Run Mode drop-down list.
      • Create - Allows you to upload a CSV file where all columns are the API fields of the selected object in the Advanced tab. The Create requests will be executed for each row in the uploaded file.
      • Delete - Allows you to upload a CSV file for mass deletions. 
      • Update - Allows you to upload a CSV file to update the information on the selected object in bulk.
    3. Select the timing of execution in the Execution drop-down list. The default execution is Onetime
      • Onetime - The task will be executed immediately when the resource is available. 
      • Scheduled - The task will be executed on the date and time specified in the schedule builder.
    4. (Optional) Select the build name in the Build Name drop-down list and the build version in the Version drop-down list if you want to run a task at a previous build version. The latest build name and version are populated by default. It is not recommended to update these fields because this could stop you from using the latest functionality built in the tool.
    5. Select the login to your Zuora tenant from the Target drop-down list or create a new login. Do not select the existing OAuth credentials or create new logins using OAuth because OAuth is not supported by Developer Tools. 
  3. In the Advanced tab, complete the following settings:
    1. Select the object on which you want to operate from the Object drop-down list.
    2. Click Choose File and upload the CSV file that includes the desired API fields of the selected object.
    3. (Optional) Select a value from the Max Threads and Max zObjects drop-down lists. 
      • Max Threads - Sets the number of threads that can be processed concurrently by the loader. The value for this field should not exceed Zuora's concurrent request limits. The default value is 3. 
      • Max zObjects -  Sets the maximum number of the objects used in each call to Zuora. The default value is 50.
  4. If you selected Scheduled for the Execution field, complete the scheduler settings in the Schedule tab.
    1. Select the time zone from the Timezone drop-down list. Zuora strongly recommends you to select the same time zone as for your Zuora tenant to avoid payment errors.
    2. In the drop-down list next to Timezone, select the time frame of the schedule and complete the details of the selected time frame. The Timezone field and schedule builder are used to set how frequently the data is synchronized. It is recommended to set a Daily schedule and align the timezone to your Zuora tenant, which can align operations and ensure the app displays the latest data. The Interval field displays the specified schedules as a Cron expression and needs no further configuration.  
  5. Click Create.

Known Limitations

The following limitations are applicable to Generic API Loader:

  • Currently, only the fields in SOAP calls and the fields in the REST calls to the following objects can be updated:
    • Credit Memo
    • Debit Memo
    • Payment
  • When updating the ProductRatePlanCharge object where the Tax feature is enabled, you must include the TaxMode and TaxableCode fields in the CSV file. 
  • The files encoded with UTF-8 are supported, but encoded with UTF-8 with byte order mark (BOM) are not supported.
Last modified



(not set)