**版本：202607**

# 设置/移除市场商品固定价

**PUT** `/openapi/2026-07/markets/:id/products/price`

设置或移除某市场下商品的固定价。

## 请求

**Path参数**

- `id` string (required)

  市场 ID

**application/json**

**请求体 | 示例**

**请求体 (required)**

- `products` object[] (required)

  各商品的固定价操作列表

  *   Array \[

  - `id` string (required)

    商品 ID
  - `operation` string (required)

    操作类型。可选值：

    *   `update`: 设置固定价（fixed\_price 必填）
    *   `delete`: 移除固定价，恢复按汇率换算
  - `fixed_price` string

    固定价，字符串，按市场货币计价。operation 为 update 时必填；为 delete 时忽略
  *   \]

```json
{
  "products": [
    {
      "id": "string",
      "operation": "string",
      "fixed_price": "string"
    }
  ]
}
```

## 响应

**200**

OK

**application/json**

**数据结构 | 示例**

**数据结构**

- `code` string

  错误码
- `message` string

  错误信息
- `data` object

  - `` object

```json
{
  "code": "string",
  "message": "string",
  "data": {}
}
```
