Skip to content
Maua.Culturewire

PrestaShop

Orders, products, customers and stock of your store

E-commerceCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Store address (https://…)RequiredHTTPS URL
    • Webservice keySecretRequired

    Where to find them

    In the back office: “Advanced Parameters” → “Webservice” → turn on “Enable PrestaShop's webservice” and save. Then click “Add new webservice key”, generate the key and check, resource by resource, only the permissions needed (view, modify, add, delete). The server must have URL rewriting (mod_rewrite) enabled for /api to work.

Tools (1)

  • PrestaShop API requestPRESTASHOP_SEND_REQUEST

    Authenticated call to the PrestaShop API ({url}/api). Any endpoint of the API is allowed. Responses are JSON; writes go in XML (body_base64 with content_type application/xml; template with GET /{resource}?schema=blank&output_format=XML). Examples: GET /orders?display=[id,reference,current_state,total_paid]&sort=[id_DESC]&limit=20, GET /orders/{id}, GET /products?display=full&filter[active]=1&limit=20, GET /customers?filter[email]=…, GET /stock_availables?filter[id_product]=….

    Required scopes

    No scopes required

    Input

    PrestaShop API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.