---
title: "Set address"
method: PUT
path: "/cart/address"
tags: ["Cart"]
---

# Set address

`PUT /cart/address`

Set the shipping address for the current user's cart.

## Request body

- object
  - `addressID` string, required — ID of the shipping address to set for the current user's cart.

## Response `200`

Address was set successfully.

- object
  - `data` 'ok', required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `429` — Too Many Requests
- `500` — Internal Server Error

## Changes

- **2025-03-19** `1c6726b12e29` — 4 breaking, 24 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `400`
  - the response's body type/format changed from ``/`` to `object`/`` for status `401`
  - the response's body type/format changed from ``/`` to `object`/`` for status `429`
  - the response's body type/format changed from ``/`` to `object`/`` for status `500`
  - …24 more
- **2025-03-07** `979a6c40552c` — 4 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `429`
  - added the non-success response with the status `500`
- **2024-12-18** `416a8af6f912` — 2 info
  - the `data` response property const value `ok` was added for the status `200`
  - removed the `ok` enum value from the `data` response property for the response status `200`
- **2024-12-13** `916cf9100f68` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/terminaldotshop/apis/terminal-api/changes/cart/address/put.md)

---

[API](https://skmtc.dev/terminaldotshop/apis/terminal-api.md) · [All operations](https://skmtc.dev/terminaldotshop/apis/terminal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/terminaldotshop/terminal-api/revisions/84ef614abb97/schema)
