本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
includes
parameter is an optional part of the FetchProductsQueryParams
interface. It allows you to list related data that should be included in the response when fetching products. This way, you can get more detailed information in one request, without making multiple API calls.Food
or Custom Service
product.productIds
, and pass the product IDs. Then, call the salla.product.api.fetchOptions
method from and pass in the productIds
array. The method returns a promise, and the result, stored in productOptions
, contains the options for the specified products.📝 You can use the "fetch()"
API with the"includes"
query parameter to fetch a list of product options