---
title: "Buy Mall Item Endpoint"
method: POST
path: "/api/v1/community/mall/buy"
tags: ["community"]
---

# Buy Mall Item Endpoint

`POST /api/v1/community/mall/buy`

## Request

- Base URL: `https://api.hipowork.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.hipowork.com/api/v1/community/mall/buy`
- Auth: OAuth 2 (password, token URL `/api/v1/auth/oauth/token`)

在社区商城购买道具存入背包。
- 扣除买家对应贝壳
- 存入 user_inventories

## Request body

- MallBuyRequest
  - `item_key` string, required: 道具标识
  - `quantity` integer: 购买数量

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/hipowork/apis/hipo-work-ai-recruitment-platform.md) · [All operations](https://skmtc.dev/hipowork/apis/hipo-work-ai-recruitment-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/hipowork/apis/hipo-work-ai-recruitment-platform/revisions/de21a6c57062?raw)
