---
title: "Add domains to cart for registration"
method: POST
path: "/mcp/v1/actions/ud_cart_add_domain_registration"
tags: ["Cart"]
---

# Add domains to cart for registration

`POST /mcp/v1/actions/ud_cart_add_domain_registration`

## Request

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

Add one or more domains to the shopping cart for fresh registration. Returns the updated cart summary. Requires authentication.

## Request body

- object
  - `domains` object[], required: Array of domains to add to the cart
    - `name` string, required: Full domain name (e.g., "example.com")
    - `productType` string: Product type (default: Domain)
    - `quantity` integer: Registration years (1-10, default: 1)

## Response `200`

Updated cart

- AddToCartResponse
  - `addedProducts` object[]
    - `domain` string
    - `success` boolean
    - `error` string
    - `productId` number
  - `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)
