Knowledge Base API
The Knowledge Base API manages knowledge entries for the authenticated shop. Complete Open Platform authentication before calling it.
Base path:
You can list entries, get one entry, delete one entry, and create a user-input entry.
Entry fields
List responses do not include content.
List entries
Query parameters:
page must be at least 1. pageSize must be from 1 to 50. Anything outside that range returns 400.
200 response:
An empty result is still 200, with items set to [] and total set to 0.
Get one entry
Path parameter:
200 response:
Returns 404 when the ID does not exist for the authenticated shop.
Delete one entry
Path parameter:
A successful deletion returns 204 with an empty body.
Deleting the same existing entry again is safe and also returns 204. Returns 404 when the ID has never been visible to the shop.
Create a user-input entry
Request body:
201 response:
A blank title or content returns 400. If the shop has reached its knowledge entry quota, the API returns 409.
This request is not idempotent. If the client retries after a timeout, it may create another entry. Store the returned id after a successful response.
Example
{baseUrl} is the Base URL shown on the credential page.

