Get Offers Automation
AI-generatedSummary
Retrieve Shopee Brazil affiliate product offers using optional search filters and a selected offer list. Include product and affiliate offer links, with optional Google Sheets image formulas.
Inputs
- keyword — Search by product name; an empty value omits this filter.
- itemId — Filter by a specific product ID; 0 omits this filter.
- listType — Select All (0, default), Top Performing (2), Landing Category (3), Detail Category (4), or Detail Shop (5). All, Top Performing, and Landing Category are declared unsortable.
- matchId — Supply the category ID for Landing Category or Detail Category, or the shop ID for Detail Shop; 0 omits this parameter.
- shopId — Filter by shop ID; 0 omits this filter.
- productCatId — Filter by Shopee product category ID; 0 omits this filter.
- sortType — Sort by relevance (1, default), items sold (2), price descending (3), price ascending (4), or commission descending (5), subject to the selected list's sorting support.
- limit — Requested maximum number of products, default 10; 0 omits the limit argument.
- thumbnail — Add a miniatura field to each product containing =IMAGE("imageUrl";4;400;400) for Google Sheets. Defaults to false.
Output shape
One JSON response envelope per input item, containing the product list at data.productOfferV2.nodes.
Products include itemId, productName, commissionRate, commission, imageUrl, price, priceMin, priceMax, productLink, offerLink, sales, and productCatIds, plus miniatura when enabled. The implementation returns the full GraphQL response, so the node's top-level nodes check normally does not split products into individual n8n items. It makes one request per input item without automatic pagination or page metadata. GraphQL errors cause the operation to fail.