catalog:readRead store metadata, categories, products, prices, and publication state.
Use one governed, versioned API to publish products and prices, show location stock, update catalog data, and follow changes from your own trusted backend.
API v1curl 'https://posific.com/api/integrations/v1/products?published_only=true' \
-H "Authorization: Bearer $POSIFIC_API_KEY"API keys are server secrets. Your website calls your backend; your backend calls Posific.
An active Owner opens Developer API in the merchant workspace, chooses scopes, and copies the key once.
Call the API root and verify the organization, currency, and selected location before importing records.
Page categories, products, and optional Inventory. Save Posific UUIDs and revisions with your records.
Poll events, process each page durably, refetch changed resources, then persist the returned cursor.
catalog:readRead store metadata, categories, products, prices, and publication state.
catalog:writeCreate and update categories and products. Requires catalog:read.
pricing:writeCreate immutable sell-price versions. Requires catalog:write.
inventory:readRead quantity and revision for the API key's selected location.
inventory:writeRecord an absolute physical count. Requires inventory:read.
events:readPoll ordered Catalog and Inventory change hints for durable sync.
A read-only website normally needs catalog:read, inventory:read, and events:read.
Base URL: https://posific.com/api/integrations/v1
| Method | Path | Purpose | Scope |
|---|---|---|---|
| GET | /api/integrations/v1 | Connection context and capabilities | catalog:read |
| GET · POST | /categories | Page categories or create one | catalog:read / write |
| GET · PATCH | /categories/{category_id} | Read or revision-check an update | catalog:read / write |
| GET · POST | /products | Page products or create one with its price | catalog:read / write + pricing |
| GET · PATCH | /products/{product_id} | Read or revision-check product and price changes | catalog:read / write |
| GET | /inventory | Page current location stock and revisions | inventory:read |
| POST | /inventory/adjustments | Append an absolute physical count | inventory:write |
| GET | /events | Poll the ordered change feed | events:read |
The live YAML is the machine-readable contract for schemas, query parameters, request bodies, responses, and error envelopes.
Events tell you what changed; the resource endpoint tells you what is true now.
Page every collection and commit the returned IDs and revisions locally.
Process the complete event page before persisting its opaque next cursor.
On a change event, fetch the current record. Never calculate stock truth by adding event payloads.
Integer minor units. AED 12.34 is 1234.
Integer thousandths. 2.5 kg is 2500.
Integer basis points. 5% is 500.
Use stable client-generated UUIDs.
Send a UUID Idempotency-Key.
Send the latest expected_revision; reconcile HTTP 409 instead of overwriting.
Retry-After on HTTP 429.Sign in as an active Owner, choose the smallest scope set, and copy the token into your backend secret manager.