---
title: "Link guest orders to team"
method: POST
path: "/teams/{team_id}/link-guest-orders"
tags: ["Teams"]
---

# Link guest orders to team

`POST /teams/{team_id}/link-guest-orders`

## Request

- Base URL: `https://api.presscart.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.presscart.com/teams/{team_id}/link-guest-orders`
- Auth: HTTP bearer

Links any paid guest orders for the authenticated user to their team.

## Path parameters

- `team_id` string, uuid, required

## Response `200`

Guest orders linked successfully

- object
  - `success` boolean, required
  - `linked_count` number, required
  - `order_ids` string[], required
  - `message` string

## Other responses

- `404`: Team or profile not found

---

[API](https://skmtc.dev/presscart/apis/presscart-prod-api.md) · [All operations](https://skmtc.dev/presscart/apis/presscart-prod-api/llms.txt) · [OpenAPI document](https://skmtc.dev/presscart/apis/presscart-prod-api/revisions/2154581d845e?raw)
