# 查询闲鱼店铺

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/open/user/authorize/list:
    post:
      summary: 查询闲鱼店铺
      deprecated: false
      description: ''
      tags:
        - 用户
      parameters:
        - name: appid
          in: query
          description: ''
          required: true
          example: '{{appid}}'
          schema:
            type: string
        - name: timestamp
          in: query
          description: 当前时间戳（单位秒，5分钟内有效）
          required: false
          example: '{{timestamp}}'
          schema:
            type: integer
            default: '{{timestamp}}'
        - name: seller_id
          in: query
          description: 商家ID（仅商务对接传入，自研/第三方ERP对接忽略即可）
          example: '{{seller_id}}'
          schema:
            type: integer
        - name: sign
          in: query
          description: 签名MD5值（参考签名说明）
          required: true
          example: '{{sign}}'
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                x-apifox-refs:
                  01H5S8SGYQTH59D8WHTSCB2CCH:
                    $ref: '#/components/schemas/response_ok'
                    x-apifox-overrides:
                      data: &ref_0
                        type: object
                        properties:
                          list:
                            type: array
                            items:
                              type: object
                              properties:
                                authorize_id:
                                  type: integer
                                  title: 授权ID
                                  format: int64
                                  examples:
                                    - '2670420985643008'
                                authorize_expires:
                                  type: integer
                                  format: int32
                                  title: 授权过期时间
                                user_id:
                                  type: integer
                                  title: 闲鱼会员ID
                                  format: int64
                                  deprecated: true
                                  description: 将于2024年1月作废，请使用`user_identity`代替
                                user_identity:
                                  type: string
                                  title: 闲鱼会员ID
                                  examples:
                                    - H8Kx1jFX3Pxe5xYIBdZQOw==
                                  description: 闲鱼号唯一标识
                                user_name:
                                  type: string
                                  title: 闲鱼会员名
                                  examples:
                                    - tb924343042
                                user_nick:
                                  type: string
                                  title: 闲鱼号昵称
                                  examples:
                                    - 精灵的专属蓝兔子
                                shop_name:
                                  type: string
                                  title: 店铺名称
                                  examples:
                                    - 定时梵蒂冈天通苑
                                service_support:
                                  title: 已开通的服务项
                                  $ref: '#/components/schemas/service_support'
                                  description: |-
                                    多个时用英文逗号`,`拼接

                                    枚举值：
                                    SDR : 七天无理由退货
                                    NFR : 描述不符包邮退
                                    VNR : 描述不符全额退（虚拟类）
                                    FD_10MS : 10分钟极速发货（虚拟类）
                                    FD_24HS : 24小时极速发货
                                    FD_48HS : 48小时极速发货
                                    FD_GPA : 正品保障（包赔）
                                    NFGC : 不符必赔
                                    RISK_30D : 30天收货
                                    RISK_90D : 90天收货  
                                    YX_SELLER : 闲鱼严选商家 
                                is_deposit_enough:
                                  type: boolean
                                  title: 是否已缴纳足够的服务保证金
                                  examples:
                                    - 'true'
                                is_pro:
                                  type: boolean
                                  title: 是否开通鱼小铺
                                  examples:
                                    - 'true'
                                is_valid:
                                  type: boolean
                                  title: 是否有效订购中
                                  examples:
                                    - 'true'
                                is_trial:
                                  type: boolean
                                  title: 是否免费试用版本
                                  description: 是否免费试用ERP专业版/铂金版，订购后则覆盖试用状态
                                valid_start_time:
                                  type: integer
                                  title: 订购有效开始时间
                                  format: int32
                                  examples:
                                    - '1689782400'
                                  deprecated: true
                                  description: 将于2024年1月作废
                                valid_end_time:
                                  type: integer
                                  format: int32
                                  title: 订购有效结束时间
                                  examples:
                                    - '1689782400'
                                  description: 同时订购ERP专业版和铂金版，则返回有效期最长的
                                item_biz_types:
                                  type: string
                                  title: 准入业务类型
                                  description: 格式：2,10,19
                              x-apifox-orders:
                                - authorize_id
                                - authorize_expires
                                - user_id
                                - user_identity
                                - user_name
                                - user_nick
                                - shop_name
                                - service_support
                                - is_deposit_enough
                                - is_pro
                                - is_valid
                                - is_trial
                                - valid_start_time
                                - valid_end_time
                                - item_biz_types
                              required:
                                - authorize_id
                                - authorize_expires
                                - user_identity
                                - user_name
                                - user_nick
                                - shop_name
                                - service_support
                                - is_deposit_enough
                                - is_pro
                                - is_valid
                                - is_trial
                                - valid_end_time
                                - item_biz_types
                              x-apifox-ignore-properties: []
                        x-apifox-orders:
                          - list
                        required:
                          - list
                        x-apifox-ignore-properties: []
                    required:
                      - data
                x-apifox-orders:
                  - 01H5S8SGYQTH59D8WHTSCB2CCH
                properties:
                  code:
                    type: integer
                    format: int32
                    additionalProperties: false
                    default: 0
                  msg:
                    type: string
                    additionalProperties: false
                    default: OK
                  data: *ref_0
                required:
                  - code
                  - msg
                  - data
                x-apifox-ignore-properties:
                  - code
                  - msg
                  - data
              example:
                code: 0
                msg: OK
                data:
                  list:
                    - authorize_id: 435781348315205
                      authorize_expires: 1721663999
                      user_identity: HMrnin5gRbEhLTMwl9nx2A==
                      user_name: 哈哈哈哈晶易晶易烊千
                      user_nick: 西柚8919
                      shop_name: 哈哈哈哈晶易晶易烊千
                      is_pro: false
                      is_deposit_enough: true
                      service_support: ''
                      is_valid: true
                      is_trial: false
                      valid_end_time: 1721663999
                    - authorize_id: 2670420985643008
                      authorize_expires: 1721663999
                      user_identity: jSClWThxVFC2MrKbmvEJ6w==
                      user_name: tb924343042
                      user_nick: 精灵的专属蓝兔子
                      shop_name: 定时梵蒂冈天通苑
                      is_pro: true
                      is_deposit_enough: true
                      service_support: ''
                      is_valid: false
                      is_trial: false
                      valid_end_time: 0
          headers: {}
          x-apifox-name: 成功
        x-200:失败:
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    format: int32
                    examples:
                      - 500
                    additionalProperties: false
                  msg:
                    type: string
                    examples:
                      - Internal Server Error
                    additionalProperties: false
                required:
                  - code
                  - msg
                x-apifox-orders:
                  - code
                  - msg
                x-apifox-ignore-properties: []
          headers: {}
          x-apifox-name: 失败
      security: []
      x-apifox-folder: 用户
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/2973339/apis/api-93586388-run
components:
  schemas:
    response_ok:
      type: object
      properties:
        code:
          type: integer
          format: int32
          additionalProperties: false
          default: 0
        msg:
          type: string
          additionalProperties: false
          default: OK
        data:
          type: object
          properties: {}
          x-apifox-orders: []
          additionalProperties: false
          x-apifox-ignore-properties: []
      x-apifox-orders:
        - code
        - msg
        - data
      required:
        - code
        - msg
        - data
      title: 成功报文
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    service_support:
      type: string
      title: 商品服务项
      description: |-
        多个时用英文逗号`,`拼接

        枚举值：
        SDR : 七天无理由退货
        NFR : 描述不符包邮退
        VNR : 描述不符全额退（虚拟类）
        FD_10MS : 10分钟极速发货（虚拟类）
        FD_24HS : 24小时极速发货
        FD_48HS : 48小时极速发货
        FD_GPA : 正品保障（包赔）
        NFGC : 不符必赔
        NFR_30D : 30天描述不符可退
        RSI : 运费退货险
        F3P : 假⼀赔三
        RISK_30D : 30天收货
        RISK_90D : 90天收货  
      examples:
        - SDR,NFR
      x-apifox-folder: ''
  securitySchemes:
    apiKey:
      type: apikey
      description: Enter JWT Bearer token **_only_**
      name: Authorization
      in: header
servers:
  - url: https://open.goofish.pro
    description: 新版正式环境
security: []

```
