新增或修改门店列表下叫号数据列表,单用户限流 5qps。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求头

该接口使用公共请求头,无特殊请求头。请参见公共请求参数文档。

请求语法

POST /BatchUpdateStoreTextData HTTP/1.1

请求参数

名称 类型 位置 是否必选 示例值 描述
country String FormData CN

国家字段,CN:中国,SG:新加坡,等

StoreTextData Array of Item FormData

门店叫号数据列表

StoreId String FormData shopcode

门店id

Containers Array of Container FormData

容器信息列表

Type String FormData TOP

容器标记,目前和title字段保持一致

Title String FormData TOP

容器标题

Visible Integer FormData 1

是否可见

1 可见

0 不可见

默认为1

ContainerData Array of ContainerData FormData

数据列表-可为空,为空则清空当前容器数据

Mark String FormData iconA

标记

Text String FormData 用户:XXX

文案信息

SubText String FormData 感谢您的耐心等候

小文案信息

Color String FormData #ff006e

文案颜色

Bold Integer FormData 1

是否加粗

1 加粗

0 不加粗

默认为0

返回数据

名称 类型 示例值 描述
Success Boolean true

成功标志

Message String success

说明

Code String success

状态码

HttpStatusCode Integer 200

http状态码

RequestId String A60C309D-5631-13BB-8DA2-A9B3C5184FD9

请求ID

示例

请求示例

POST /BatchUpdateStoreTextData HTTP/1.1
Host:cd.aliyuncs.com
Content-Type:application/json

country=CN&StoreTextData=[{"StoreId":"shopcode","Containers":[{"Type":"TOP","Title":"TOP","Visible":1,"ContainerData":[{"Mark":"iconA","Text":"用户:XXX","SubText":"感谢您的耐心等候","Color":"#ff006e","Bold":1}]}]}]

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<BatchUpdateStoreTextDataResponse>
    <Success>true</Success>
    <Message>success</Message>
    <Code>success</Code>
    <HttpStatusCode>200</HttpStatusCode>
    <RequestId>A60C309D-5631-13BB-8DA2-A9B3C5184FD9</RequestId>
</BatchUpdateStoreTextDataResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "Success" : true,
  "Message" : "success",
  "Code" : "success",
  "HttpStatusCode" : 200,
  "RequestId" : "A60C309D-5631-13BB-8DA2-A9B3C5184FD9"
}

错误码

HttpCode 错误码 错误信息 描述
400 Params.Illegal The request parameters are invalid. 请求入参非法
401 Unauthorized You are not authorized to perform this operation. 未授权的请求
403 Forbidden This request is prohibited. 请求被禁止
503 Service.Unavailable The service is unavailable. Please try again later. 服务当前暂不可用,请稍后重试

访问错误中心查看更多错误码。