PrestaShop Webservice API: keys, resources and writes

How an app gets into a PrestaShop store, what limits its calls, and why a large price update takes many requests. Every figure comes from PrestaShop’s own developer documentation.

By the Zikkio team Updated

In short

API
Webservice, XML or JSON; Admin API from PrestaShop 9
Access
A 32-character key with permissions per resource
Key lifetime
No expiry stated; the merchant can disable it
Rate limit
None published
Bulk price writes
None: one resource a request
Webhooks
None in core; a module can listen to hooks

The Webservice, and the Admin API of PrestaShop 9

PrestaShop’s Webservice gives third-party tools access to the shop’s database through a CRUD API. It answers in XML by default and in JSON on request, and its documentation follows the PrestaShop version: 1.7, 8 and 9. PrestaShop 9 adds a second API, the Admin API, built on API Platform 3, with OAuth.

Keys and tokens

On the Webservice, the merchant creates a key in the back office, under Advanced Parameters › Webservice, and picks what it may do on each resource. The key is 32 characters long and goes in HTTP Basic auth as the username, with no password. The docs state no expiry, and the merchant can disable a key at any time. The Admin API of PrestaShop 9 uses OAuth2 instead; for server-to-server calls its docs recommend the client credentials flow.

Keys and tokens
API Credential Lifetime
Webservice A 32-character key, as the HTTP Basic username No expiry stated; can be disabled at any time
Admin API An API client with scopes, through OAuth2 client credentials Set on the client, in seconds; 3,600 in the docs’ example

Scroll sideways to see every column.

Rate limits

PrestaShop publishes no rate limit for the Webservice or the Admin API. Each store runs on the merchant’s own server, so the limit is whatever that server and its host allow.

Products and combinations

Variants are combinations: a separate combinations resource linked to its product by id_product and made of product option values. A combination’s price is an impact on the product’s price, not a price of its own. The docs set no maximum number of combinations per product.

Writing prices, one at a time

The Webservice documents one resource per request and no batch endpoint. The Admin API of PrestaShop 9 has bulk endpoints for status, duplication and deletion, but none for prices. A large price update is one request per product or combination, at whatever pace the merchant’s server allows.

Pagination and hooks

Webservice lists take limit, either a count or an offset and a count, with no documented maximum; the Admin API pages with offset and limit, 50 items by default. PrestaShop sends no webhooks: a module can listen to hooks such as actionProductUpdate, which runs after a product is updated, and send its own calls.

PrestaShop: fifty products from the 101st, three fields each, as JSON.
GET /api/products
GET /api/products?display=[id,reference,price]&limit=100,50&output_format=JSON
Authorization: Basic …

PrestaShop through Zikkio

Connect your first store today.

Free plan with 5,000 API calls a month and unlimited stores. No card, and no sales call unless you ask for one.

POST /api/v1/connections
{
  "platform": "wix",
  "shop": "1a2b3c4d-…",
  "client_id": "your-wix-app-id",
  "client_secret": "…"
}
201 Created
{ "data": { "id": 12, "status": "active" } }