门店列出门店

门店

列出门店

列出令牌所操作 Workspace 的门店。发布、列出媒体或读取数据洞察时,用其标识符作为 establishmentId。

GEThttps://api.sofia-post.com/api/v1/establishments
GET/v1/establishments
curl -X GET 'https://api.sofia-post.com/api/v1/establishments' \
  -H "Authorization: Bearer $SOFIA_API_KEY"

授权

  • Authorizationstring必填

    你的个人密钥或 OAuth 访问令牌,以 Bearer <token> 发送。

响应

200application/json

Workspace 的门店。

  • dataobject[]必填

    门店

    显示子属性
    • idstring必填

      门店的标识符

    • namestring必填

      门店的名称

401

令牌缺失、未知、已过期或已被撤销。

403

令牌没有 establishments:read scope。

4XXapplication/json

其他任何错误,以错误结构返回。