List Operating Units
Retrieves a paginated list of operating units with optional filtering by search term, type, active status, and branch.Query Parameters
Number of items per page (1-100)
Search by operating unit name (partial match, case-insensitive)
Filter by operating unit type. Valid values:
BRANCH_MAIN- Main branch operating unitBRANCH_BUFFER- Branch buffer storageBRANCH_RETURN- Branch return processingEVENT_TEMP- Temporary event unit
Filter by active status (
true or false)Filter by branch ID
Response
Array of operating unit objects
Operating unit ID
Associated branch ID
Operating unit name
Operating unit type (BRANCH_MAIN, BRANCH_BUFFER, BRANCH_RETURN, EVENT_TEMP)
Start date (YYYY-MM-DD format)
End date (YYYY-MM-DD format, null for permanent units)
Whether the operating unit is currently active
Additional metadata (JSON object)
Creation timestamp (ISO 8601 UTC)
Last update timestamp (ISO 8601 UTC)
Current page number
Items per page
Total number of operating units
Last page number
Example Request
- cURL
- JavaScript
Example Response
Show Operating Unit
Retrieves a single operating unit by ID, including associated branch and inventory locations.Path Parameters
Operating unit ID
Response
Operating unit object
Operating unit ID
Associated branch ID
Operating unit name
Operating unit type (BRANCH_MAIN, BRANCH_BUFFER, BRANCH_RETURN, EVENT_TEMP)
Start date (YYYY-MM-DD format)
End date (YYYY-MM-DD format, null for permanent units)
Whether the operating unit is currently active
Additional metadata (JSON object)
Creation timestamp (ISO 8601 UTC)
Last update timestamp (ISO 8601 UTC)
Example Request
- cURL
- JavaScript
Example Response
Error Responses
Operating unit not found