---
title: "Add domain renewals to cart"
method: POST
path: "/mcp/v1/actions/ud_cart_add_domain_renewal"
tags: ["Cart"]
---

# Add domain renewals to cart

`POST /mcp/v1/actions/ud_cart_add_domain_renewal`

## Request

- Base URL: `https://api.unstoppabledomains.com`
- URL: `https://api.unstoppabledomains.com/mcp/v1/actions/ud_cart_add_domain_renewal`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/unstoppabledomains/apis/user-api/docs/mcp/v1/actions/ud_cart_add_domain_renewal/post.ts> (a function with typed inputs; its response is checked against the schema)

Add one or more domain renewals to the shopping cart. User must own the domains to renew them. Returns the updated cart summary. Requires authentication.

## Request body

- object
  - `domains` object[], required: Array of domains to add renewal to cart
    - `name` string, required: Full domain name to renew (e.g., "example.com")
    - `quantity` integer: Renewal period in years (1-10, default: 1)

## Response `200`

Updated cart with renewals

- AddDomainRenewalToCartResponse: Response for adding domain renewals to cart
  - `addedRenewals` object[]
    - `domain` string: Domain name
    - `success` boolean
    - `productId` number
    - `renewalPeriodYears` number: Renewal period in years
    - `error` string
  - `successCount` number
  - `failureCount` number
  - `cart` object
    - `itemCount` number
    - `subtotal` number
    - `subtotalFormatted` string

## Other responses

- `401`: Authentication required

---

[API](https://skmtc.dev/unstoppabledomains/apis/user-api.md) - [All operations](https://skmtc.dev/unstoppabledomains/apis/user-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unstoppabledomains/apis/user-api/revisions/c1def8e34b41?raw)
