---
title: "Add a shop catalog item to the cart"
method: POST
path: "/api/v1/marketplace/cart"
tags: ["Marketplace", "Commerce and purchases"]
---

# Add a shop catalog item to the cart

`POST /api/v1/marketplace/cart`

## Request

- Base URL: `https://app.d-sports.org`
- URL: `https://app.d-sports.org/api/v1/marketplace/cart`
- Auth: HTTP bearer

Accepts a Product id, Product slug, or Pack id from GET /api/products. Pack ids are resolved to the mirrored Product row (cart FK is Product).

## Request body

- object
  - `productId` string, required

## Response `201`

{ success, data }

## Other responses

- `400`: VALIDATION_ERROR
- `401`: UNAUTHORIZED

## Changes

- **2026-08-26** `56093db9c295`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/changes/api/v1/marketplace/cart/post.md)

---

[API](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api.md) - [All operations](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/revisions/63735cf90a04?raw)
