# 公共参数

### 公共请求参数

| 参数名称 | 类型 | 是否必填 | 参数位置 | 参数值 | 说明 |
| --- | --- | --- | --- | --- | --- |
| **Access-Token** | `String` | 是 | Header | B\_x-\_5aVeXNwl-4AB98s5xLVyg0fNzGf\_MuTpqtlBA | 用于对 API 请求进行鉴权。请参阅 [Access Token 获取指南](/zh-CN/docs/app/building-blocks/authentication/oauth-flow) 获取 access token，并在每次请求时通过 `Authorization` header 传入。 |
| **Content-Type** | `String` | 是 | Header | `application`
`/json` | 表示请求体的媒体类型，告知服务器如何解析请求，以及客户端如何解读响应。详情请参阅 [Content-Type](https://www.geeksforgeeks.org/http-headers-content-type/)。 |

### 公共响应字段

| 参数名称 | 类型 | 是否必填 | 参数位置 | 示例值 | 说明 |
| --- | --- | --- | --- | --- | --- |
| **error** | String | 否 | Response Body | `{ "error": "store is not active" }` | 表示处理过程中遇到的错误，通常在 Access Token 缺失或无效时出现。示例： `{ "error": "store is not active" }`。 |
| **errors** | Array | 否 | Response Body | `{ "errors": ["No Context"] }` | 请求处理过程中发生的错误列表。示例： `{ "errors": [ "No Context" ] }`。 |
| **Request-Id** | String | 是 | Header | B\_x-\_5aVeXNwl-4AB98s5xLVyg0fNzGf\_MuTpqtlBA | 每个请求的唯一标识符，用于识别和调试特定请求。 |
