Actions47
- Country Actions
- Department Actions
- FAQ Actions
- FAQ Category Actions
- Mutation Actions
- Payment Term Actions
- Store Actions
- Store Address Actions
- Store Markup Actions
- Account Summary Actions
- Admin Extra Fields Actions
- Store Credit Actions
- Store Locations Actions
- Complete API Actions
- Account Summary
- Admin Extra Field Values
- Admin Extra Fields
- Faq
- Get Countries
- Get Departments
- Get Faq Category
- Get Payment Term Master
- Get Store
- Get Store Locations
- Get Store Markup
- Store Credit Summary
- Storeaddress
- Set Admin Extra Field
- Set Admin Extra Field Values
- Set Department
- Set Faq
- Set Faq Category
- Set Store
- Set Store Address
- Set Store Location
- Set Store Markup
Complete API → Get Departments
AI-generatedSummary
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.