OnPrintShop Store Admin icon

OnPrintShop Store Admin

Maintain OnPrintShop store, address, department, country, FAQ, markup, and payment-term reference data

Complete API → Get Departments

AI-generated

Summary

Reads department data from the OnPrintShop Complete API. Optionally filter the request by corporate ID or department ID, and control pagination with limit and offset; choose which response fields to return.

Inputs

  • Safe Mode — Whether to block mutations in Complete API; this read operation does not intentionally change records.
  • Input Mode — Choose Fields to supply optional parameters individually, or JSON Object to provide the API arguments as JSON.
  • Parameters — Optional corporate_id, department_id, limit, and offset values.
  • Arguments JSON — JSON object containing the API arguments; shown when Input Mode is JSON Object.
  • Return Fields Mode — Return all available fields or select a custom subset.
  • Return Fields — Custom response field selection, including department attributes, currentCount, and totalDepartments.

Output shape

A department response object.

The available response fields include departments and their corporate ID, cost center code, creation and modification timestamps, department ID, email, name, production days, and status, plus currentCount and totalDepartments. Selecting custom fields limits the returned fields.

Links

Discussion