---
title: "Add or Update Sender"
method: POST
path: "/addupdatesender"
tags: ["UserApi"]
---

# Add or Update Sender

`POST /addupdatesender`

Allows the addition or updating of sender information in the system. This ensures that sender details are current and accurate for shipment processing.

## Request body

- ClientAPIAddUpdateSenderRequestDto
  - `senderID` integer, nullable — ID of the sender address to update. If null, a new sender address is created.
  - `name` string, required — Name of the sender. Required.
  - `countryCode` string, required — ISO country code of the sender address. Required.
  - `zipcode` string, nullable — Postal/zip code of the sender address.
  - `city` string, required — City of the sender address. Required.
  - `streetAndNumber` string, required — Street name and house number of the sender address. Required.
  - `telephone` string, nullable — Telephone number of the sender.
  - `fax` string, nullable — Fax number of the sender.
  - `notifyGSM` string, nullable — Mobile number used to notify the sender (e.g. via SMS).
  - `notifyEmail` string, nullable — Email address used to notify the sender.

## Response `200`

OK

- ClientAPIAddUpdateSenderResultDto
  - `status` 'OK' | 'Error' | 'ValidationFailed' — 0 = OK, 1 = Error, 2 = ValidationFailed
  - `validations` ClientAPIValidation[], nullable
    - `code` integer
    - `message` string, nullable
    - `params` object, nullable
  - `error` ClientAPIError
    - `code` integer
    - `message` string, nullable
    - `stackTrace` string, nullable
    - `innerException` ClientAPIError — recursive
    - `validations` ClientAPIValidation[], nullable
      - `code` integer
      - `message` string, nullable
      - `params` object, nullable
    - `messageParams` string[], nullable
    - `payload` JToken[]
  - `traceID` string, nullable
  - `senderId` integer — ID of the created or updated sender address. Use this value with SenderID to reference this sender in future requests.

---

[API](https://skmtc.dev/expressone/apis/client-api.md) · [All operations](https://skmtc.dev/expressone/apis/client-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/expressone/client-api/revisions/2acf7e4a5080/schema)
