Table of Contents

Class TikTokShopLegacyClientExecuteGlobalProductExtensions

Namespace
SKIT.FlurlHttpClient.ByteDance.TikTokGlobalShop.ExtendedSDK.Legacy
Assembly
DH.SKIT.FlurlHttpClient.ByteDance.TikTokGlobalShop.dll
[Obsolete("此类型专为旧版 API 设计,将于 2024-12-31 下线。")]
public static class TikTokShopLegacyClientExecuteGlobalProductExtensions
Inheritance
TikTokShopLegacyClientExecuteGlobalProductExtensions
Inherited Members

Methods

ExecuteGlobalProductCreateProductAsync(TikTokShopLegacyClient, GlobalProductCreateProductRequest, CancellationToken)

异步调用 [POST] /product/global_products 接口。

REF:
https://partner.tiktokshop.com/doc/page/262904

public static Task<GlobalProductCreateProductResponse> ExecuteGlobalProductCreateProductAsync(this TikTokShopLegacyClient client, GlobalProductCreateProductRequest request, CancellationToken cancellationToken = default)

Parameters

client TikTokShopLegacyClient
request GlobalProductCreateProductRequest
cancellationToken CancellationToken

Returns

Task<GlobalProductCreateProductResponse>

ExecuteGlobalProductDeleteProductsAsync(TikTokShopLegacyClient, GlobalProductDeleteProductsRequest, CancellationToken)

异步调用 [DELETE] /product/global_products 接口。

REF:
https://partner.tiktokshop.com/doc/page/262913

public static Task<GlobalProductDeleteProductsResponse> ExecuteGlobalProductDeleteProductsAsync(this TikTokShopLegacyClient client, GlobalProductDeleteProductsRequest request, CancellationToken cancellationToken = default)

Parameters

client TikTokShopLegacyClient
request GlobalProductDeleteProductsRequest
cancellationToken CancellationToken

Returns

Task<GlobalProductDeleteProductsResponse>

ExecuteGlobalProductGetAttributeListAsync(TikTokShopLegacyClient, GlobalProductGetAttributeListRequest, CancellationToken)

异步调用 [GET] /product/global_products/attributes 接口。

REF:
https://partner.tiktokshop.com/doc/page/262911

public static Task<GlobalProductGetAttributeListResponse> ExecuteGlobalProductGetAttributeListAsync(this TikTokShopLegacyClient client, GlobalProductGetAttributeListRequest request, CancellationToken cancellationToken = default)

Parameters

client TikTokShopLegacyClient
request GlobalProductGetAttributeListRequest
cancellationToken CancellationToken

Returns

Task<GlobalProductGetAttributeListResponse>

ExecuteGlobalProductGetCategoryListAsync(TikTokShopLegacyClient, GlobalProductGetCategoryListRequest, CancellationToken)

异步调用 [GET] /product/global_products/categories 接口。

REF:
https://partner.tiktokshop.com/doc/page/262909

public static Task<GlobalProductGetCategoryListResponse> ExecuteGlobalProductGetCategoryListAsync(this TikTokShopLegacyClient client, GlobalProductGetCategoryListRequest request, CancellationToken cancellationToken = default)

Parameters

client TikTokShopLegacyClient
request GlobalProductGetCategoryListRequest
cancellationToken CancellationToken

Returns

Task<GlobalProductGetCategoryListResponse>

ExecuteGlobalProductGetCategoryRulesAsync(TikTokShopLegacyClient, GlobalProductGetCategoryRulesRequest, CancellationToken)

异步调用 [GET] /product/global_products/categories/rules 接口。

REF:
https://partner.tiktokshop.com/doc/page/262797

public static Task<GlobalProductGetCategoryRulesResponse> ExecuteGlobalProductGetCategoryRulesAsync(this TikTokShopLegacyClient client, GlobalProductGetCategoryRulesRequest request, CancellationToken cancellationToken = default)

Parameters

client TikTokShopLegacyClient
request GlobalProductGetCategoryRulesRequest
cancellationToken CancellationToken

Returns

Task<GlobalProductGetCategoryRulesResponse>

ExecuteGlobalProductGetProductDetailAsync(TikTokShopLegacyClient, GlobalProductGetProductDetailRequest, CancellationToken)

异步调用 [GET] /product/global_products 接口。

REF:
https://partner.tiktokshop.com/doc/page/262906

public static Task<GlobalProductGetProductDetailResponse> ExecuteGlobalProductGetProductDetailAsync(this TikTokShopLegacyClient client, GlobalProductGetProductDetailRequest request, CancellationToken cancellationToken = default)

Parameters

client TikTokShopLegacyClient
request GlobalProductGetProductDetailRequest
cancellationToken CancellationToken

Returns

Task<GlobalProductGetProductDetailResponse>

ExecuteGlobalProductPublishProductAsync(TikTokShopLegacyClient, GlobalProductPublishProductRequest, CancellationToken)

异步调用 [POST] /product/global_products/publish 接口。

REF:
https://partner.tiktokshop.com/doc/page/262907

public static Task<GlobalProductPublishProductResponse> ExecuteGlobalProductPublishProductAsync(this TikTokShopLegacyClient client, GlobalProductPublishProductRequest request, CancellationToken cancellationToken = default)

Parameters

client TikTokShopLegacyClient
request GlobalProductPublishProductRequest
cancellationToken CancellationToken

Returns

Task<GlobalProductPublishProductResponse>

ExecuteGlobalProductSearchProductsAsync(TikTokShopLegacyClient, GlobalProductSearchProductsRequest, CancellationToken)

异步调用 [POST] /product/global_products/search 接口。

REF:
https://partner.tiktokshop.com/doc/page/262905

public static Task<GlobalProductSearchProductsResponse> ExecuteGlobalProductSearchProductsAsync(this TikTokShopLegacyClient client, GlobalProductSearchProductsRequest request, CancellationToken cancellationToken = default)

Parameters

client TikTokShopLegacyClient
request GlobalProductSearchProductsRequest
cancellationToken CancellationToken

Returns

Task<GlobalProductSearchProductsResponse>

ExecuteGlobalProductUpdateProductAsync(TikTokShopLegacyClient, GlobalProductUpdateProductRequest, CancellationToken)

异步调用 [PUT] /product/global_products 接口。

REF:
https://partner.tiktokshop.com/doc/page/262910

public static Task<GlobalProductUpdateProductResponse> ExecuteGlobalProductUpdateProductAsync(this TikTokShopLegacyClient client, GlobalProductUpdateProductRequest request, CancellationToken cancellationToken = default)

Parameters

client TikTokShopLegacyClient
request GlobalProductUpdateProductRequest
cancellationToken CancellationToken

Returns

Task<GlobalProductUpdateProductResponse>

ExecuteGlobalProductUpdateProductPriceAsync(TikTokShopLegacyClient, GlobalProductUpdateProductPriceRequest, CancellationToken)

异步调用 [PUT] /product/global_products/prices 接口。

REF:
https://partner.tiktokshop.com/doc/page/262908

public static Task<GlobalProductUpdateProductPriceResponse> ExecuteGlobalProductUpdateProductPriceAsync(this TikTokShopLegacyClient client, GlobalProductUpdateProductPriceRequest request, CancellationToken cancellationToken = default)

Parameters

client TikTokShopLegacyClient
request GlobalProductUpdateProductPriceRequest
cancellationToken CancellationToken

Returns

Task<GlobalProductUpdateProductPriceResponse>