Skip to content

Latest commit

 

History

History
91 lines (52 loc) · 2.47 KB

SkuApi.md

File metadata and controls

91 lines (52 loc) · 2.47 KB

\SkuApi

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

Method HTTP request Description
PoiExtHotelSku Get /poi/ext/hotel/sku sku拉取(该接口由接入方实现)
PoiSkuSync Post /poi/sku/sync SKU同步

PoiExtHotelSku

PoiExtHotelSkuRsp PoiExtHotelSku(ctx, spuExtId, startDate, endDate)

sku拉取(该接口由接入方实现)

sku拉取(该接口由接入方实现)

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
spuExtId []string 接入方SPU ID 列表。
startDate string 拉取价格时间区间[start_date, end_date)。
endDate string 拉取价格时间区间[start_date, end_date)。

Return type

PoiExtHotelSkuRsp

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]

PoiSkuSync

PoiSkuSyncRsp PoiSkuSync(ctx, accessToken, optional)

SKU同步

SKU同步

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 *PoiSkuSyncOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a PoiSkuSyncOpts struct

Name Type Description Notes

body | optional.Interface of PoiSkuSyncReq| |

Return type

PoiSkuSyncRsp

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]