Get Store Information

Last Updated on : 2023-06-15 05:56:06

Get the information about a store according to the unique code of the store. For example, the currency and bound app of the store can be returned.

API address

GET: /v1.0/sellercenter/mall/info/{mall_code}

Request parameter

Parameter nameTypeINRequiredDescription
mall_codeStringuritrueThe code of a specified mall.
site_codeStringquerytrueThe code of a specified site.

Return parameter

Parameter nameTypeDescription
resultMallOpenApiInfoVOThe returned result.

Description of result

Parameter nameTypeDescription
mall_codeStringThe code of a specified mall.
mall_nameStringThe name of a specified mall.
logo_iconStringThe icon of a specified mall.
bind_app_infoListThe information about the bound mall.
paid_typesListThe payment method. Valid values:
  • wechat_pay: WeChat Pay
  • alipay: Alipay
  • stripe: Pay with Stripe
  • payPal: Pay with PayPal
  • paytm: Pay with Paytm
  • cod: Cash on delivery
currencyStringThe type of currency.
statusIntegerThe status of a specified mall. Valid values:
  • 0: disabled.
  • 1: enabled.

Description of bind_app_info

Parameter nameTypeDescription
nameStringThe name of a specified app.
statusIntegerThe status of a specified app. Valid values:
  • 0: disabled.
  • 1: enabled.

Request example

GET: /v1.0/sellercenter/mall/info/8h4tiuredd***?site_code=CN

Return example

{
    "result": {
        "mall_code": "my-mallCode",
        "logo_icon": "Commodity logo",
        "paid_types": [
            "wechat_pay"
        ],
        "bind_app_info": [
            {
                "name": "appName",
                "status": 1
            }
        ],
        "mall_name": "Mall name",
        "currency": "",
        "status": 1
    },
    "t": 1624957508619,
    "success": true
}

Error code

For more information, see error code.

Error codes | Error code | Error message | Description | | --- | --- | --- | | 2000000 | params error | Parameter error. | | 2001000 | shop does not exist | The store does not exist. |