Changelog
New features, improvements and fixes in the Stokzone Web Service API.
- Newv1.2.0
Variant product creation and per-variant stock/price
POST /products now accepts options and variants to create a variant product under a single card (up to 100 variants; each with its own SKU, price and stock). A variant SKU that already exists in the workspace returns 409. variants[] items in product responses now include price (null means the base price applies).
New endpoints: PATCH /products/variants/{sku_or_variant_id}/stock (inventory:write), PATCH /products/variants/{sku_or_variant_id}/price (prices:write) and PATCH /products/variants/bulk (up to 100 rows). Stock changes are queued for marketplace push.
The image_url, weight, width, height and depth fields in product responses (shipped earlier) are now recorded in these release notes.
- Improvementv1.1.0
Product variants, bundle components and bulk order items
Three backward-compatible fields were added to the product endpoints: product_type (simple, variable, bundle), variants[] (id, sku, barcode, name, attributes, stock, is_active) and bundle_items[] (sku, quantity). GET /products now accepts since to return only changed products (updated_at >= since).
Order items now include variant_id. GET /orders?include=items returns items inside every order in bulk; no per-order request is needed, which protects the hourly quota.
- Newv1.0.0
Stokzone Web Service API is live
The Stokzone Web Service API is now live. With a single API key you can connect your e-commerce operations to your own systems and programmatically access orders, products, stock, prices, returns, customer questions, customer cards, categories and brands, buybox, shipping, invoices and reports.
Authentication uses the X-API-Key header with a granular scope model; each key only accesses endpoints covered by its assigned scopes. Requests are limited to 60 per minute (burst) and 1,000 per hour (default quota); responses report the remaining quota via X-RateLimit-* headers.
Outbound webhook subscriptions deliver order and return events in real time. The interactive reference for every endpoint is on the API Reference page.