Add line item to ad-hoc LIG

Adds a line item to an ad-hoc line item group. LIG must be ad-hoc (task_group_id is None) and ADJUSTABLE. | org_type=[courier, forwarder], min_org_role=operator, authz_personas=[lig_owner_operators] | (LineItemClientCreate1) -> (LineItemGroup1)

Authentication

AuthorizationBearer

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

Path parameters

line_item_group_idstringRequired

Request

This endpoint expects an object.
itemenumRequired
quantitydoubleRequired
ratedoubleRequired
schema_versionintegerOptionalDefaults to 1
unitsenumOptional
Allowed values:
commentsstring or nullOptional
adjustmentdouble or nullOptional
adjustment_commentsstring or nullOptional

Response

Successful Response
schema_versioninteger
_idstring
line_itemslist of objects
owned_by_org_idstring

Must be a string starting with org_

payment_vector_typeenum
Allowed values:
settlement_typeenum
Allowed values:
task_group_idstring or null
rate_sheet_idstring or null
line_item_group_s3_object_metadata_idslist of strings or null
statement_idstring or null
payment_origin_org_idstring or null
payment_origin_off_chrt_shipper_org_idstring or null
payment_destination_org_idstring or null
payment_destination_driver_idstring or null
statusenum or null
messageslist of objects or null

Errors