Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Liste os produtos da loja com paginação, busca e ordenação.
WarpStore.setStoreId
const response = await warpstore.products.v1.getProducts({ categoryId: "id-da-categoria", search: "vip", page: 1, limit: 10, sort: { by: "price", order: "asc" } }) if (response.isFailure()) return console.log(response.value)
limit
price
createdAt
priority
name
{ products: { id: string name: string description: string price: number image: string stockQuantity: number categoryId: string choice: { title: string, options: { id: string, name: string }[] } | null amountSale: object | null visibility: "PUBLIC" | "PRIVATE" }[], limit: number page: number lastPage: number quantityReturned: number totalQuantity: number }
const response = await warpstore.products.v1.validateProducts({ productsIds: ["id-do-produto"] })
products
productsNotFound
Was this page helpful?