Create Vendor Dispatch
POST/api/repairs/vendor-dispatches
Create Vendor Dispatch.
repairs:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Request fields:
supplier_id(required): integer, exists:suppliers,idline_ids(required): array, min:1, max:200line_ids.*(optional): integer, distinct, exists:repair_order_lines,idexpected_back_on(optional): date_format:Y-m-d, after_or_equal:todayinstructions(optional): string, max:5000issue_label(optional): booleancreate_contractor_warehouse(optional): booleannotify_vendor(optional): booleanfees(optional): arrayfees.*(optional): numeric, min:0, max:1000000service_type(optional): Enum:in:"repair","replate"finish(optional): string, max:60plating_thickness_microns(optional): numeric, min:0, max:999
Permission: repairs.vendor.
Authentication: Bearer token with the repairs:read / write scope.
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.