Skip to content

Latest commit

 

History

History
218 lines (124 loc) · 5.93 KB

PoiApi.md

File metadata and controls

218 lines (124 loc) · 5.93 KB

\PoiApi

All URIs are relative to https://open.douyin.com

Method HTTP request Description
PoiQuery Get /poi/query 获取抖音POI ID
PoiSupplierMatch Post /poi/supplier/match 店铺匹配
PoiSupplierMatchQuery Get /poi/supplier/match/query 店铺匹配结果查询
PoiSupplierQuery Get /poi/supplier/query 查询店铺
PoiSupplierSync Post /poi/supplier/sync 商铺同步

PoiQuery

PoiQueryRsp PoiQuery(ctx, accessToken, amapId)

获取抖音POI ID

获取抖音POI ID

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
accessToken string 调用/oauth/access_token/生成的token,此token需要用户授权。
amapId string

Return type

PoiQueryRsp

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

PoiSupplierMatch

PoiSupplierMatchRsp PoiSupplierMatch(ctx, accessToken, optional)

店铺匹配

店铺匹配

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
accessToken string 调用/oauth/access_token/生成的token,此token需要用户授权。
optional *PoiSupplierMatchOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a PoiSupplierMatchOpts struct

Name Type Description Notes

body | optional.Interface of PoiSupplierMatchReq| |

Return type

PoiSupplierMatchRsp

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

PoiSupplierMatchQuery

PoiSupplierMatchQueryRsp PoiSupplierMatchQuery(ctx, accessToken, optional)

店铺匹配结果查询

店铺匹配结果查询

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
accessToken string 调用/oauth/access_token/生成的token,此token需要用户授权。
optional *PoiSupplierMatchQueryOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a PoiSupplierMatchQueryOpts struct

Name Type Description Notes

body | optional.Interface of InlineObject7| |

Return type

PoiSupplierMatchQueryRsp

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

PoiSupplierQuery

PoiSupplierQueryRsp PoiSupplierQuery(ctx, accessToken, supplierExtId)

查询店铺

查询店铺

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
accessToken string 调用/oauth/access_token/生成的token,此token需要用户授权。
supplierExtId string

Return type

PoiSupplierQueryRsp

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

PoiSupplierSync

PoiSupplierSyncRsp PoiSupplierSync(ctx, accessToken, optional)

商铺同步

商铺同步

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
accessToken string 调用/oauth/access_token/生成的token,此token需要用户授权。
optional *PoiSupplierSyncOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a PoiSupplierSyncOpts struct

Name Type Description Notes

body | optional.Interface of PoiSupplier| |

Return type

PoiSupplierSyncRsp

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]