public interface ProductAlbumApi
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.rxjava3.core.Single<GenericResponse<String>> |
addProductAlbum(ProductAlbumAddRequest request)
创建商品图册
|
io.reactivex.rxjava3.core.Single<WeComResponse> |
deleteProductAlbum(ProductId productId)
删除商品图册
|
io.reactivex.rxjava3.core.Single<ProductAlbumDetailResponse> |
getProductAlbum(ProductId productId)
获取商品图册
|
io.reactivex.rxjava3.core.Single<ProductAlbumDetailResponse> |
productAlbumList(PageRequest request)
获取商品图册列表
|
io.reactivex.rxjava3.core.Single<WeComResponse> |
updateProductAlbum(ProductAlbumDetail productAlbumDetail)
编辑商品图册
|
@POST(value="externalcontact/add_product_album") io.reactivex.rxjava3.core.Single<GenericResponse<String>> addProductAlbum(@Body ProductAlbumAddRequest request)
request - the request@POST(value="externalcontact/get_product_album") io.reactivex.rxjava3.core.Single<ProductAlbumDetailResponse> getProductAlbum(@Body ProductId productId)
productId - the product id@POST(value="externalcontact/get_product_album_list") io.reactivex.rxjava3.core.Single<ProductAlbumDetailResponse> productAlbumList(@Body PageRequest request)
request - the request@POST(value="externalcontact/update_product_album") io.reactivex.rxjava3.core.Single<WeComResponse> updateProductAlbum(@Body ProductAlbumDetail productAlbumDetail)
productAlbumDetail - the product album detail@POST(value="externalcontact/delete_product_album") io.reactivex.rxjava3.core.Single<WeComResponse> deleteProductAlbum(@Body ProductId productId)
productId - the product idCopyright © 2023. All rights reserved.