OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Complete API → Get Departments

AI-generated

Summary

Fetches OnPrintShop departments through the Complete API, optionally filtered by corporate ID or department ID and limited to a page. Returns one n8n item per department with the selected department fields and the total department count.

Inputs

  • Safe Mode — Boolean toggle, default false. The operation is read-only; Safe Mode’s stated Complete API purpose is blocking mutations.
  • Input Mode — Choose Fields (default) to supply parameters individually, or JSON Object to provide API arguments as JSON.
  • Parameters — In Fields mode, optionally set Corporate ID, Department ID, Limit, and Offset. The implementation omits zero-valued parameters from the request.
  • Arguments JSON — In JSON Object mode, provide the optional API arguments, such as corporate_id, department_id, limit, and offset.
  • Return Fields Mode — Choose All Fields (default) or Custom Selection for the department response fields.
  • Return Fields — In Custom Selection mode, choose fields such as department ID, corporate ID, name, status, email, cost center, production days, and created or modified dates. Current Count and Total Departments are also available selections.

Output shape

A list of items, one per department returned by the API.

Each department item includes the requested department fields and an added _totalDepartments value. The Complete API response field selections are declared in the UI; runtime field selection behavior is not shown in this source pack.

Links

Discussion