修改门店基础信息。

调试

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

请求参数

名称 类型 是否必选 示例值 描述
Action String UpdateStore

系统规定参数。取值:UpdateStore

StoreId String s-dxsxx****

门店ID。

UserStoreCode String 123456

商家自定义门店ID。

StoreName String 天猫超市

门店名称。

Phone String 0571-5666888

门店所在监督工商局的监督电话。

ExtraParams String {}

系统保留字段,请忽略;

TemplateVersion String 1.1.0

门店模板版本;

Timezone String GMT+08:00

时区。

BarCodeEncode Integer 0

条形码编码方式:0:Code128 ,1:EAN13(默认0)

AutoUnbindOfflineEsl Boolean false

是否自动解绑离线价签

AutoUnbindDays Integer 1

自动解绑时间,单位:日

返回数据

名称 类型 示例值 描述
RequestId String E69C8998-1787-4999-8C75-D663FF1173CF

请求ID。

ErrorMessage String The specified resource type is invalid.

错误消息。

Success Boolean true

请求状态标识。

ErrorCode String MandatoryParameters

错误码。

Code String -1001

后端错误码。

Message String success

消息。

DynamicMessage String The specified store %s does not exist.

动态消息。

DynamicCode String PlatformResponseError.%s

动态错误码。

示例

请求示例

http(s)://[Endpoint]/?Action=UpdateStore
&StoreId=s-dxsxx****
&UserStoreCode=123456
&StoreName=天猫超市
&Phone=0571-5666888
&ExtraParams={}
&TemplateVersion=1.1.0
&Timezone=GMT+08:00
&BarCodeEncode=0
&AutoUnbindOfflineEsl=false
&AutoUnbindDays=1
&公共请求参数

正常返回示例

XML格式

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

<UpdateStoreResponse>
    <RequestId>E69C8998-1787-4999-8C75-D663FF1173CF</RequestId>
    <ErrorMessage>The specified resource type is invalid.</ErrorMessage>
    <Success>true</Success>
    <ErrorCode>MandatoryParameters</ErrorCode>
    <Code>-1001</Code>
    <Message>success</Message>
    <DynamicMessage>The specified store %s does not exist.</DynamicMessage>
    <DynamicCode>PlatformResponseError.%s</DynamicCode>
</UpdateStoreResponse>

JSON格式

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

{
  "RequestId" : "E69C8998-1787-4999-8C75-D663FF1173CF",
  "ErrorMessage" : "The specified resource type is invalid.",
  "Success" : true,
  "ErrorCode" : "MandatoryParameters",
  "Code" : -1001,
  "Message" : "success",
  "DynamicMessage" : "The specified store %s does not exist.",
  "DynamicCode" : "PlatformResponseError.%s"
}

错误码

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