---
title: "PrestaShop data"
method: POST
path: "/api/v1/data/prestashop_query"
---

# PrestaShop data

`POST /api/v1/data/prestashop_query`

## Request

- Base URL: `https://app.attache.studio`
- URL: `https://app.attache.studio/api/v1/data/prestashop_query`
- Auth: HTTP bearer

Read any allowed PrestaShop Webservice resource directly (orders, order_details, products, stock_availables, cart_rules…) with PrestaShop filters, for questions the sales and best-seller reports do not cover. Customer and address data is not available. Max 500 rows per call; page with offset.

## Request body

- object
  - `shop_url` string, required: Shop URL exactly as in list_sources (prestashop resource), e.g. https://www.example.com
  - `resource` 'orders' | 'order_details' | 'order_states' | 'order_histories' | 'order_carriers' | 'products' | 'combinations' | 'categories' | 'manufacturers' | 'stock_availables' | 'carriers' | 'currencies' | 'cart_rules' | 'shops', required
  - `display` string: "full" (default) or a field list like [id,reference,price,active]
  - `filters` object: PrestaShop filters by field, e.g. {"active":"[1]","date_add":"[2026-01-01,2026-01-31]","reference":"%[ABC]%"}
  - `sort` string: e.g. [date_add_DESC]
  - `limit` integer
  - `offset` integer
  - `language` integer: Language id, to get plain strings instead of per-language arrays

## Response `200`

Raw result of the underlying Google / Meta API, as JSON.

## Other responses

- `400`: { "error": string } — bad parameters or resource not shared.
- `401`: Missing, unknown or revoked key.
- `403`: Called from a browser — call from your backend.
- `429`: Rate limit: 60 requests per minute per key.

---

[API](https://skmtc.dev/attache/apis/attache-data-api.md) · [All operations](https://skmtc.dev/attache/apis/attache-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/attache/apis/attache-data-api/revisions/83d5d32a3fea?raw)
