Actions22
- Attachment Actions
- Batch Actions
- Entity Actions
- Metadata Actions
- Text Actions
- Webhook Actions
Batch → Execute Batch
AI-generatedSummary
Execute batch operations against the Priority ERP $batch endpoint.
Inputs
- batchOperations — Array of batch operations to execute. Each operation should have: ID, method, URL, headers (optional), body (optional), dependsOn (optional). Default is an empty array [] when no operations are provided.
- authentication — Authentication method used for API requests. Select 'Basic / PAT' or 'OAuth2'. Determines which credential set is applied to the $batch request.
- responseFormat — Declared response format for batch results. Options are JSON or Multipart Mixed. Default is application/json. Note: the current implementation returns the API response as JSON regardless of this setting.
Output shape
Array of JSON objects representing the Priority API $batch response, with each element containing the result of the batched requests.
The operation sends a POST request to the Priority ERP $batch endpoint with the provided batchOperations array serialized as the request body. Authentication is applied via the selected credential type. The returned data is the raw API response wrapped in an array.