PrestaShop
Your own PrestaShop shop: products and combinations, stock, orders with their status history, customers, addresses, carriers and categories, through the shop's Webservice API. Change an order's status, a product's price or a stock quantity.
7 días gratis · sin tarjeta · hosting UE
Pregunta cualquier cosa a PrestaShop
Prueba un prompt real contra PrestaShop vía AnythingMCP — Claude llama a los tools y responde. Pulsa Enter en tu mensaje para instalar en Cloud.
Instalar PrestaShop en CloudClaude es IA y puede equivocarse. Verifica siempre las respuestas.
Setup en 2 minutos
- 1Inicia trial gratuita en cloud.anythingmcp.com.
- 2Click en PrestaShop en el connector store. Pega las credenciales.
- 3Genera MCP API key y apunta el cliente AI a la URL MCP.
Guías para PrestaShop
Setup paso a paso para los principales clientes AI.
Configurar PrestaShop
Directamente de la definición del conector: dónde encontrar las credenciales, qué permisos necesitan y con qué API habla este adaptador. Proporcionadas en inglés por el autor del conector.
PrestaShop
This connector talks to the Webservice API of a self-hosted PrestaShop shop (<shop address>/api). It asks for JSON on every call (output_format=JSON). Reading works on PrestaShop 1.7 and 8; the two update tools (prestashop_update_product_price, prestashop_update_stock_quantity) use PATCH, which the Webservice offers from PrestaShop 8.0.
Setup
- In the back office open Advanced Parameters → Webservice and set Enable PrestaShop's webservice to Yes. Save.
- On the same page click Add new webservice key. Click Generate for a 32-character key, add a description, set Status to enabled.
- Under Permissions tick, per resource, the methods the key may use. For everything this connector does: GET on
products,combinations,stock_availables,orders,order_states,order_histories,customers,addresses,carriers,categories; POST onorder_histories(change an order's status); PATCH onproductsandstock_availables(price and stock). A read-only key needs only the GET column. In multistore mode, also pick the shop(s) the key may reach. - Paste the shop address into
PRESTASHOP_URL(the root, e.g.https://shop.example.com, orhttps://example.com/shopwhen the shop lives in a folder; no/api, no trailing slash) and the key intoPRESTASHOP_WEBSERVICE_KEY.
The key travels as the username of HTTP Basic authentication with an empty password. Behind Apache with PHP as CGI/FastCGI, the Authorization header can be dropped before PrestaShop sees it (every call then answers 401): enable CGI mode for PHP on the Webservice page, or fix the server so it passes the header.
Lists: display, filter, sort, limit
- display: without it, a list returns only ids.
fullreturns every field;[id,name,price]returns the fields named. Customer tools always return a fixed set of fields that leaves out the password hash and secure key. - filters (where offered): extra query parameters in PrestaShop syntax, joined with
&, for fields the tool has no argument for, e.g.filter[date_upd]=[2026-01-01,2026-12-31]orfilter[ean13]=[4006381333931]. Value syntax:[a]exact (case-insensitive),[a|b]one of,[1,10]range,[ab]%starts with,%[ab]ends with,%[ab]%contains. Filtering or sorting by a field the resource does not have is answered with HTTP 500 and error code 38, which lists the fields that can be used. - sort:
[field_ASC]or[field1_DESC,field2_ASC]. - limit:
20for the first 20 rows,40,20for 20 rows starting at offset 40. There is no total count; page until a call returns fewer rows than asked for. An empty result comes back as[]. - Dates (
date_add,date_upd) can be filtered and sorted; the order tool already sends thedate=1switch PrestaShop needs for that. - language: multilingual fields (product
name,description,link_rewrite, category and order statusname) come back as a list of{id, value}per language when the shop has several languages; pass a language id (1) to get plain text.
Money and stock
- Product
priceis the base price without tax, in the shop's default currency. Order totals come intotal_paid_tax_incl/total_paid_tax_excl, in the order's currency (id_currency,conversion_rate). - Stock lives in
stock_availables, one row per product and combination:id_product_attribute0 is the product row, other rows are its combinations (sizes, colours). For a product with combinations, change the combination rows; the product row holds their total. A product withdepends_on_stock1 is managed by advanced stock management and its quantity cannot be set here.
Order status
prestashop_list_order_states gives the shop's statuses (ids differ between shops). prestashop_change_order_state adds a row to the order's history, which is how PrestaShop changes current_state and runs what the status triggers (invoice, stock movements, and, with send_email 1, the status e-mail to the customer). PrestaShop changes the status before it sends the e-mail; if the shop cannot send it, the answer is Unable to save resource (code 46) although current_state has already changed. Check with prestashop_get_order before trying again.
Rate limits
PrestaShop sets none; the shop's own server is the limit. Prefer display=[…] with the fields needed over display=full on long lists.
Common errors
- 401 Authentification key is not active / No permission for this authentication key: wrong or disabled key, or the
Authorizationheader is lost (see CGI mode above). - 401 / 405 on one resource only: the key lacks that method for that resource; tick it under Permissions.
- 503 The PrestaShop webservice is disabled: switch the Webservice on (step 1).
- 404 on
/api: the shop has no friendly URLs rewrite (.htaccess) for the API; regenerate it under Shop Parameters → Traffic & SEO (save with Friendly URL on). - 405 on the update tools: the shop runs PrestaShop 1.7, whose Webservice has no
PATCH.
Tu IA está a dos clicks de PrestaShop.
Instala el conector, pega credenciales, pregunta a la IA. 7 días gratis, sin tarjeta.