Update task

Updates a task in an active order template. | authz: min_org_role=operator | (OrderTemplateNewTaskClientUpdate1) -> (OrderTemplateNew1)

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

order_template_idstringRequired
task_keystringRequired

Request

This endpoint expects an object.
actionenumOptional
contact_idslist of stringsOptional
coordinator_shipper_account_idslist of stringsOptional
datetime_windows_dateparser_strlist of objectsOptional
locationobjectOptional

GeoJSON Feature with typed properties for locations

The geometry field is strongly typed as Geometry (union of all geometry types) but remains optional to match the base Feature class specification. To ensure geometry is always present, validate it at runtime or make it required.

location__set_to_NonebooleanOptionalDefaults to false
order_placer_commentsstringOptional
order_placer_comments__set_to_NonebooleanOptionalDefaults to false

Response

Successful Response
_idstring
created_at_timestampdatetime
last_edited_at_timestampdatetime
namestring1-1024 characters
owned_by_org_idstring

Must be a string starting with org_

owned_by_user_idstring

Must be a string starting with user_

schema_versioninteger
archived_at_timestampdatetimeOptional
cargoslist of objectsOptional
coordinator_assigned_user_idslist of stringsOptional
coordinator_department_idstringOptional
coordinator_labelstringOptional
coordinator_org_idstringOptional

Must be a string starting with org_

descriptionstringOptional<=16384 characters
last_used_at_timestampdatetimeOptional
off_chrt_reference_idstringOptionalformat: "^[A-Za-z0-9._~\-]{1,64}$"1-64 characters

Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, ’.’, ’_’, ’~’, ’-’ (RFC 3986 unreserved).

off_chrt_shipper_org_data_idstringOptional
service_lineenumOptional
shipper_org_idstringOptional

Must be a string starting with org_

task_groupslist of objectsOptional
task_lists_to_apply_at_order_creationlist of objectsOptional
task_lists_to_apply_at_order_staginglist of objectsOptional

Errors

422
Tasks Patch Update V1request Unprocessable Entity Error