Developers
API documentation
A read-only REST API (JSON) and signed webhooks for events, jobs, deals and coupons, and your own orders. Sign in to create a key
Connecting any other system
We build ready-made connectors only for the systems most brands use (see below). Everything else, such as your ERP, warehouse, accounting tool or a script you write yourself, connects through this public API in three steps:
- Get a key. Sign in, open your developer page and create an API key. Tick only the permissions (scopes) the other system needs. The key is shown once: copy it into the other system, never into a web page or an e-mail. You can revoke it at any time and it stops working at once.
- Ask for data. The other system sends the key as a bearer token with each request and reads the JSON that comes back. It can ask again every few minutes, using updated_since so it only receives what changed.
- Get told when something happens (optional). Instead of asking again and again, add a webhook address on the same page. We call your address when an order is paid, shipped or received. Check the signature (below) so nobody else can pretend to be us.
Example, the changed events since a date, in curl and in PHP:
curl -H "Authorization: Bearer apz_YOUR_KEY" \ "http://apparelizer.com/api/v1/events?updated_since=2026-11-01T00:00:00Z&per_page=50"
$r = Http::withToken('apz_YOUR_KEY')->get('http://apparelizer.com/api/v1/events', ['upcoming' => 1])->json();
foreach ($r['data'] as $event) { /* ... */ }
if ($r['meta']['has_more']) { /* ask for the next page */ }
Brand orders from Connect (a retailer order arrived, or shipped) reach your system as webhooks connect_order.submitted and connect_order.shipped, and as X12 files (850, 810, 856) from the EDI page in the Connect studio. Stock can come in from any system as a signed feed, see Stock source in the Connect studio.
Ready-made connectors
These are set up in the Connect studio. You paste your own token or install the app; we store it encrypted and never show it again.
| System | What it does |
|---|---|
| Shopify | Install from Shopify (one click) or paste a custom-app token. Copies your products as drafts, keeps stock in step both ways, live updates by webhook, and sends approved wholesale orders to Shopify as draft orders. |
| WooCommerce, BigCommerce | Stock by SKU, copied here or sent there. |
| Square, Lightspeed Retail | Stock by SKU from your till or location (Square can also receive stock; Lightspeed is read-only). |
| More stores, marketplaces, accounting and inventory systems | Magento, Wix, Squarespace, Ecwid, PrestaShop, Shopware, OpenCart, Clover, eBay, Etsy, Amazon, NetSuite, QuickBooks, Brightpearl, Katana, Linnworks, Zoho Inventory, Odoo: stock by SKU, with your own SKU mapping. |
| Warehouses (3PL) | ShipBob, ShipHero, Flexport (Deliverr), Cin7, Extensiv: stock by SKU, inbound notices from your shipments, tracking numbers back. |
| Shipping tools | ShipStation, Easyship, Shippo, EasyPost, Sendcloud: tracking numbers for your orders. |
| Files and feeds | A signed CSV or JSON feed, a Google Sheet link, or a CSV on an FTP server, with a mapping screen. |
| EDI (X12 850, 855, 810, 856, 846, 860, 820, 997) | Per trading partner: agreed ids, test or production mode, documents switched on, and an error report for every file. |
Authentication
Create a key on your developer page and send it as a bearer token:
curl -H "Authorization: Bearer apz_YOUR_KEY" http://apparelizer.com/api/v1/events
Each key has permissions (scopes) and a limit of requests per minute (answer 429 with Retry-After). A wrong or revoked key answers 401, a missing permission 403.
Endpoints
| Request | Permission | What it returns |
|---|---|---|
GET /api/v1/me | - | Your key: name, permissions, limits |
GET /api/v1/events, /events/{slug} | events:read | Public events. Filters: city, upcoming=1, updated_since, mine=1 (your own, any state) |
GET /api/v1/jobs, /jobs/{slug} | jobs:read | Open jobs. Filters: workplace, employment_type, updated_since, mine=1 |
GET /api/v1/offers, /offers/{slug} | offers:read | Deals and coupons. Filters: kind=deal|coupon, updated_since, mine=1 |
GET /api/v1/connect/stock | connect:read | Your Connect stock by SKU. Filters: sku, updated_since |
PUT /api/v1/connect/stock | connect:write | Set available stock by SKU: {"items":[{"sku":"A-1","available":12}]}, up to 500 per call; unknown SKUs are listed, never created. Only "sku" and "available" can be sent (a price or any other field is refused, 422). SKU: 1 to 80 letters, digits or . _ - / # + space, each once per call. available: a whole number from 0 to 10,000,000. 30 writes a minute per key (429 with Retry-After). Send an Idempotency-Key header (up to 80 letters, digits, - _ : .) to retry safely: the same key and body within 24 hours returns the first answer and changes nothing. Refused with 409 while your stock comes from a CSV file, Shopify or a store connector. Every call is written to your audit trail and sends one connect_stock.updated webhook when stock changed. |
GET /api/v1/connect/orders, /connect/orders/{ref} | connect:read | Retailer orders sent to your brand, with shipments and tracking. Filter: status |
GET /api/v1/connect/connections | connect:read | Your connected systems and their last sync state (never a credential) |
GET /api/v1/connect/events | connect:read | Tracking numbers and inbound notices reported by warehouses and shipping tools. Filter: kind=tracking|asn |
GET /developers/openapi.json | - | This API as an OpenAPI 3 file for code generators and Postman |
GET /api/v1/jobs/{slug}/applicants | applicants:read | Applicants of one of your own jobs |
GET /api/v1/orders, /orders/{ref} | orders:read | Orders of your own deals, coupons and events (no buyer e-mail). Filters: type=offer|event, status, updated_since |
Lists are paginated: page and per_page (up to 100); the answer has data and meta (page, per_page, has_more). Money is in whole minor units (cents) with a currency code.
Webhooks
We POST a JSON body {id, type, created, data} to your https address. Answer with any 2xx within 8 seconds; otherwise we retry after 1 minute, 5 minutes, 30 minutes, 2 hours and 12 hours, then give up. An address that fails 20 times in a row is switched off.
offer_order.paid: A deal or coupon order was paidevent_order.paid: An event order was paidjob_application.received: Someone applied to one of my jobsjob_application.stage_changed: An applicant moved to another stageconnect_order.submitted: A retailer order reached my brand (Connect)connect_order.shipped: A Connect order was shippedconnect_order.approved: A Connect order was approved by the brandconnect_order.declined: A Connect order was declined by the brandconnect_order.cancelled: A Connect order was cancelledconnect_invoice.issued: A Connect invoice was issuedconnect_payment.received: A payment was recorded on a Connect orderconnect_retailer.requested: A retailer asked to stock my brand (Connect)connect_retailer.approved: A retailer was approved for my brand (Connect)connect_tracking.received: A warehouse or shipping tool reported a tracking number (Connect)connect_stock.updated: Stock was set through the API or by a connector sync (Connect)ping: Test message
Verify each delivery: the header X-Apparelizer-Signature is t=<unix time>,v1=<HMAC-SHA256 of "<t>.<raw body>" with your signing secret>. Reject it if t is more than 5 minutes old. X-Apparelizer-Delivery is the unique id; handle repeats safely.