{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"50a383ee-980c-43cb-89a2-9e4860c0a043","name":"Alpha Decorators","description":"# Alpha Decorators API\n\nBase URL: `https://alphadecorators.com/api`\n\n## Authentication\nSend your key on every request as either header:\n\n```\nX-API-Key: ak_live_...\nAuthorization: {{bearer_token_16m6}}\n```\n\nKeys are created and revoked in the client portal under **API Keys**. The full key is shown once, at creation.\n\n## Rate limits\nPer key, per minute: **300 reads** (GET) and **60 writes** (POST, PATCH). Every response carries `X-RateLimit-Limit` and `X-RateLimit-Remaining`. A 429 carries `Retry-After` in seconds.\n\n## Request ids\nEvery response carries an `X-Request-Id` header. Quote it when asking Alpha about a specific call; Alpha keeps the exact request and response for 90 days.\n\n## Response envelope\nSuccess:\n```json\n{ \"success\": true, \"data\": ..., \"meta\": { \"page\": 1, \"per_page\": 20, \"total\": 5, \"total_pages\": 1 } }\n```\n`meta` appears on list endpoints only.\n\nError:\n```json\n{ \"success\": false, \"error\": { \"code\": \"...\", \"message\": \"...\", \"details\": ... } }\n```\n\n| HTTP | code | meaning |\n| --- | --- | --- |\n| 400 | INVALID_JSON | Body is not valid JSON |\n| 401 | AUTH_REQUIRED / AUTH_INVALID / USER_INACTIVE | Missing, malformed or revoked key, or inactive user |\n| 404 | ORDER_NOT_FOUND / LOGO_NOT_FOUND / FILE_NOT_FOUND / NOT_FOUND | Not found, or belongs to another client |\n| 409 | DUPLICATE_CLIENT_ORDER_ID / INVALID_STATE / LOGO_NUMBER_TAKEN | Conflicts with current state. On duplicates, `details` carries the existing order |\n| 422 | VALIDATION_FAILED | `details` is an object keyed by field path, e.g. `items[0].colors[1].sizes[0].quantity` |\n| 429 | RATE_LIMIT_EXCEEDED | See `Retry-After` |\n\n## Order flow (production)\n1. Upload each piece of artwork once with **POST /logos** and keep the `logo_uid`.\n2. **POST /production-orders** with products, sizes and decorations that reference those logos.\n3. Poll **GET /production-orders?updated_since=...** or read the order's messages for proofs and quotes.\n4. Act with **approve**, **request-revision** or **approve-quote**; fill in supplier tracking with **PATCH .../supplier**.\n\n## Product catalog and Alpha purchasing\nAlpha keeps a catalog of its vendors' products (SanMar, S&S Activewear, CBI). On every order product you choose who buys the blanks:\n\n- `purchase_mode: \"drop_ship\"` (default): you buy the blanks and ship them to Alpha. `supplier_name` can be any supplier; `supplier_po_number` is required. Exactly today's flow.\n- `purchase_mode: \"alpha_purchase\"`: Alpha buys the blanks from one of its vendors and bills you cost plus your agreed markup, on the same invoice as decoration. `supplier_code` (**GET /catalog/vendors**) is required and the supplier PO / tracking / box fields must be omitted.\n\nSo Alpha knows exactly which vendor product to buy, map your own SKUs once with **POST /my-catalog** (or let Alpha do it), then send them as `model_number` or per size as `client_sku`. Lines Alpha cannot match are still accepted: the order is created with `catalog_review_status: \"pending\"` and Alpha matches them before ordering. Browse the catalog with **GET /catalog/products**; a product's `unit_price` is what you will be billed per piece.\n\nUntil Alpha switches the catalog on for your account, the **Catalog** and **My Catalog** endpoints answer **503 `COMING_SOON`** and an `alpha_purchase` order answers **422 `alpha_purchase is not available yet`**. The request and response shapes documented here are final, so you can build against them now; production orders keep working exactly as before in the meantime.\n\n## Polling for changes\nBoth list endpoints take `updated_since` (`2026-10-01`, `2026-10-01 14:30:00` or `2026-10-01T14:30:00Z`) and return orders changed at or after that time. Status changes, messages, quotes and supplier updates all count. Every list row and order detail includes `date_modified`.\n\n**GET /production-orders/options** returns all of the above under `api_conventions`, plus every enum and the payload spec.\n","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"36794955","team":22491883,"collectionId":"50a383ee-980c-43cb-89a2-9e4860c0a043","publishedId":"2sBYHXPdTp","public":true,"publicUrl":"https://documenter-api.postman.tech/view/36794955/2sBYHXPdTp","privateUrl":"https://go.postman.co/documentation/36794955-50a383ee-980c-43cb-89a2-9e4860c0a043","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"light","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.12.12","publishDate":"2026-10-31T17:56:19.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://postman-image-service.postman.com/api/cloudinary-proxy/postman/image/upload/t_team_logo_pubdoc/v1/team/a0e6450e1c683fa94bac982f082530dcc4c42a8dc5feab46d06667b0797e310a","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2sBYHXPdTp"}