---
title: "Set the courier credentials at a location that already exists in the courier's system."
method: POST
path: "/api/Courier/Location/SetId/{locationId}/{courierId}/{courierLocationId}"
tags: ["Courier"]
---

# Set the courier credentials at a location that already exists in the courier's system.

`POST /api/Courier/Location/SetId/{locationId}/{courierId}/{courierLocationId}`

## Path parameters

- `locationId` integer, required
- `courierId` integer, required
- `courierLocationId` integer, required

## Query parameters

- `api-version` string, required

## Headers

- `api-version` string

## Response `200`

Returns the stored id, or Saved=false with the reason it was rejected

- InnoshipApiCoreCourierServicesEntitiesSetCourierLocationResponse
  - `courierLocationId` integer
  - `saved` boolean
  - `error` string, nullable

## Other responses

- `400` — Unable to set the courier location id due to errors
- `401` — Unable to authorize request

---

[API](https://skmtc.net/innoship/apis/innoship-api.md) · [All operations](https://skmtc.net/innoship/apis/innoship-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/innoship/innoship-api/revisions/1c6e785395d6/schema)
