# Search a product by Id — PrestaShop Botize method — `prestashop.get_product_by_id` (action). Extract the product indicated by its Id. This is an action: it runs as a step of a task. Several can be chained. ## Fields you set The field's internal name, its type and the values it accepts. These fields accept `{{...}}` tags from earlier steps. - `product_id` *(string)* — Product Id ## Output variables Data this step makes available. Reference them in later steps with the double-brace tag. - `{{product_id}}` *(int)* — Product Id. Product ID assigned by WooCommerce. For example: 123 - `{{name}}` *(text)* — Name. Product name. For example: FullHD Monitor - `{{id_category_default}}` *(int)* — Id Category. Id Category default. For example: 0 - `{{slug}}` *(text)* — Slug. Part of the friendly URL used to uniquely identify a particular product. For example: fullhd-monitor - `{{permalink}}` *(text)* — Permalink. Unique URL generated by WooCommerce for each particular product. For example: https://onlineshop.com/product/fullhd-monitor - `{{type}}` *(text)* — Type. Type of product: Simple Product, Grouped Product, External/Affiliate Product or Variable Product. For example: external - `{{status}}` *(text)* — Status. Status type: Draft, Pending, Private or Publish. For example: publish - `{{featured}}` *(boolean)* — Featured. Whether the product is featured or not. For example: true - `{{description}}` *(text)* — Description. Product description. For example: 1920x1080, IPS LED, 16:9, HDMI - `{{sku}}` *(text)* — SKU. Stock Keeping Unit is the product code or reference number. For example: fullhd-monitor - `{{price}}` *(int)* — Price. Current price of the product. If the product is on sale it will contain the value indicated in {{sale_price}}, otherwise the value indicated in {{regular_price}}. For example: 75 - `{{regular_price}}` *(int)* — Regular price. Normal price of the product when it is not on sale. For example: 100 - `{{sale_price}}` *(int)* — Sale price. Offer price of the product when it is on sale. For example: 75 - `{{external_url}}` *(text)* — External URL. External or affiliate URL for 'external' product types. For example: https://amazon.com/dp/BA3848123?tag=mycode-21 - `{{image_url}}` *(text)* — Image URL. URL of the main product image. For example: https://onlineshop.com/wp-content/uploads/2022/06/31iIhUf9-rL.jpg - `{{ean13}}` *(text)* — EAN-13. This type of product code is specific to Europe and Japan, but is widely used internationally. It is a superset of the UPC code: all products marked with an EAN will be accepted in North America. For example: 4012345678901 - `{{reference}}` *(text)* — Reference. Reference code. For example: 012345 ## Account Needs a connected PrestaShop account in Botize: https://botize.com/en/app/prestashop/authenticate ## This app Every trigger and action for PrestaShop: https://botize.com/en/app/prestashop.md ## How to build this An AI assistant (Claude, ChatGPT, Cursor…) can create and edit these tasks in the user's account through the Botize MCP connector, included in every plan: https://webhook.botize.es/mcp - Connection guide: https://botize.com/en/mcp - Agent map: https://botize.com/llms.txt - New account: https://botize.com/en/join (500 free operations, no card) --- Machine-readable summary for AI assistants. Human version: https://botize.com/en/method/prestashop/get_product_by_id