API documentation | API docs for agents | OpenAPI 3.1
POST /api/v1/edi/tenders/{tenderId}/build-load
ark.build_load_from_edi_tender
Creates a broker load from an accepted visible EDI tender. Returns structured review-plan details in error.details.plan when customer, team, customer pay, or location resolution needs operator input.
- Availability
- Expanded preview
- Scopes
edi:readloads:write- ARK permissions
canViewEdicanCreateLoad- Team visibility
- Required and enforced
- Idempotency-Key
- Required for this write
- Approval
- No MCP approval on REST API-token calls
- Rate limit
- API credential and organization budgets
Parameters
tenderIdpathstringrequired- format: uuid
Idempotency-Keyheaderstringrequired- Required for external write operations.
- min length: 1; max length: 255
Request body
mutationIdstringmin length: 8; max length: 200
customerIdstringformat: uuid
teamIdstringformat: uuid
manualCustomerRatenumber | string | nullmanualCustomerRateExplicitZerobooleanreviewedLoadCreateArgsobjectExample request
Shell
curl -X POST 'https://arktms.com/api/v1/edi/tenders/<tenderId>/build-load' \
-H "Authorization: Bearer $ARK_API_TOKEN" \
-H "Idempotency-Key: <unique-key>" \
-H "Content-Type: application/json" \
-d '{}'Success response
EDI tender load build result
objectstringrequiredokbooleanrequiredapi_versionstringrequiredrequest_idstringrequireddataobjectrequireddata.tenderIdstringrequiredformat: uuid
data.loadIdstringrequiredformat: uuid
data.loadNumberinteger | nullrequireddata.statusstringrequiredErrors
HTTP 400- Invalid request
HTTP 401- Authentication required
HTTP 403- Permission, scope, team, or entitlement denied
HTTP 409- Idempotency conflict or in-progress retry
HTTP 422- Tender needs review before a load can be created. The response error details include a load-build plan.