Set task group on ad-hoc LIG
Set task group on ad-hoc LIG
Sets or updates the task_group_id on an existing ad-hoc LIG, deriving order_id and order_short_id from the task group. If the LIG is on a statement, recalculates the statement’s order refs. | org_type=[courier, forwarder], min_org_role=operator, authz_personas=[lig_owner_operators, courier_org_operators, forwarder_org_operators] | (SetAdHocTaskGroupReq) -> (LineItemGroup1)
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
line_item_group_id
Request
This endpoint expects an object.
task_group_id
Response
Successful Response
schema_version
_id
line_items
owned_by_org_id
Must be a string starting with org_
payment_vector_type
Allowed values:
settlement_type
Allowed values:
is_ad_hoc
task_group_id
order_id
order_short_id
order_off_chrt_reference_id
Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, ’.’, ’_’, ’~’, ’-’ (RFC 3986 unreserved).
rate_sheet_id
line_item_group_s3_object_metadata_ids
statement_id
payment_origin_org_id
Must be a string starting with org_
payment_origin_off_chrt_shipper_org_id
payment_destination_org_id
Must be a string starting with org_
payment_destination_driver_id
status
messages
Errors
422
Ad Hoc Set Task Group V1request Unprocessable Entity Error

