跳到主要内容

创建店铺

POST /v1/mid-open-api/merchant/store/create
需要验证签名

接口描述

创建店铺

提示
  1. 店铺授权前请先创建店铺,【点击了解PP店铺管理产品细节
  2. 店铺URL需是有效的URL地址(Protocol://Hostname:Port/Path?Query_Parameters),例如:https://test.myshopline.com
  3. platform请按照用户真实店铺所属平台所属站点转换为PP平台代号上送【点击见附录

请求头

ParameterTypeRequiredDescription
AuthorizationstringMaccess_token
Content-TypestringMapplication/json

请求参数

ParameterTypeRequiredDescription
client_idstring(64)M客户在PP注册后的唯一ID
platformenumMPP平台代号,点击见附录
store_urlstring(255)M店铺URL 下列平台严格遵循格式【取值请见附录
namestring(255)M店铺名称
categoryenumM销售类目,点击见附录
extra_infostring(2048)O其他的信息,json

返回响应

ParameterTypeRequiredDescription
store_idstringMPP生成的店铺唯一ID,PP侧店铺标识

返回示例

{
"code": 200,
"message": "SUCCESS",
"data": {
"store_id": "IT8623090607825418235"
}
}

错误码

返回码描述解决方案
900000system error系统错误,请联系PingPong技术人员核查
900002illegal param参数有误,请根据提示更正信息

附录

store_url【店铺链接】

格式
SHOPLINEhttps://prefix.myshopline.com
SHOPLINE_EUhttps://prefix.myshopline.com
BIG_COMMERCEhttps://prefix.mybigcommerce.com