---
title: "Set location from reference"
method: PUT
path: "/shipping/tasks/location/from_reference/v1/{task_id}"
tags: ["/shipping/tasks"]
---

# Set location from reference

`PUT /shipping/tasks/location/from_reference/v1/{task_id}`

Overrides a draft or staged task location from a contact or coordinator shipper account and associates the reference. | authz_personas=[draft_creator_org_operator, order_creator_org_operators, task_group_operating_org_operators, coordinator_org_operators] | (TaskLocationFromReferenceReq) -> (PydanticObjectId)

## Path parameters

- `task_id` string, required

## Request body

- TaskLocationFromReferenceReq
  - `contact_id` string, nullable
  - `coordinator_shipper_account_id` string, nullable

## Response `200`

Successful Response

- string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/chrt/apis/chrt-fastapi.md) · [All operations](https://skmtc.dev/chrt/apis/chrt-fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chrt/chrt-fastapi/revisions/ea04e157edb3/schema)
