OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Department → Get Many

AI-generated

Summary

Retrieve a list of departments from the OnPrintShop API, optionally filtered by department ID and corporate ID, with control over pagination.

Inputs

  • Safe Mode — Optional toggle to block mutations in Complete API; reduces nested response fields for legacy actions.
  • Department ID — Optional filter to retrieve departments matching the specified department ID. Use 0 to disable this filter.
  • Corporate ID — Optional filter to retrieve departments belonging to the specified corporate ID. Use 0 to disable this filter.
  • Limit — Maximum number of department records to return.
  • Offset — Number of department records to skip before starting to return results.

Output shape

a list of department objects

The response includes department fields like department_id, corporate_id, name, email_to, status, cost_center_code, production_days, creation and modification timestamps, along with a total count as _totalDepartments. Supports pagination using limit and offset parameters.

Examples

Example 1: Get departments with pagination

Specify limit and offset to paginate through departments, optionally filter by corporate ID or department ID.

Links

Discussion