{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"ef999799-2be1-4a23-bff8-a1e7a10f1563","name":"Official UnoPim APIs","description":"The UnoPim API is a comprehensive RESTful API for managing Product Information Management (PIM) operations. This API enables you to manage products, categories, attributes, locales, channels, and other essential PIM functionalities.\n\n**Official Documentation**: [Postman Documenter](https://documenter.getpostman.com/view/21990056/2sA3kXE17F)\n\n---\n\n## 🔐 Authentication\n\nUnoPim API uses **OAuth 2.0** for authentication with two methods:\n\n### 1\\. Authentication by Password\n\n**Endpoint:** `POST {{url}}/oauth/token`\n\n**Request Body:**\n\n``` json\n{\n    \"username\": \"{{username}}\",\n    \"password\": \"{{password}}\",\n    \"grant_type\": \"password\"\n}\n\n ```\n\n**Headers:**\n\n```\nAuthorization: Basic {{base64ClientIdSecret}}\nContent-Type: application/json\n\n ```\n\n✨ **Auto-saves** `access_token` and `refresh_token` to environment variables\n\n### 2\\. Authentication by Refresh Token\n\n**Endpoint:** `POST {{url}}/oauth/token`\n\n**Request Body:**\n\n``` json\n{\n    \"refresh_token\": \"{{refreshToken}}\",\n    \"grant_type\": \"refresh_token\"\n}\n\n ```\n\n---\n\n## 🌐 Base URL\n\n```\n{{url}}/api/v1/rest\n\n ```\n\n---\n\n## 📂 API Resources (45 Endpoints)\n\n### 1\\. **Locale Management** (2 endpoints)\n\n- `GET /locales` - Get all locales\n    \n- `GET /locales/{code}` - Get locale by code\n    \n\n### 2\\. **Currency Management** (2 endpoints)\n\n- `GET /currencies` - Get all currencies\n    \n- `GET /currencies/{code}` - Get currency by code\n    \n\n### 3\\. **Channel Management** (2 endpoints)\n\n- `GET /channels` - Get all channels\n    \n- `GET /channels/{code}` - Get channel by code (e.g., ecommerce)\n    \n\n### 4\\. **Category Management** (5 endpoints)\n\n- `GET /categories` - Get all categories (with pagination & filters)\n    \n- `GET /categories/{code}` - Get category by code\n    \n- `POST /categories` - Create a category\n    \n- `PUT /categories/{code}` - Update a category\n    \n- `POST /media-files/category` - Upload category media files\n    \n\n**Example Create Category Request:**\n\n``` json\n{\n    \"code\": \"electronic4\",\n    \"parent\": \"electronic2\",\n    \"additional_data\": {\n        \"common\": {\n            \"description\": \"Electronics Category Description\",\n            \"required\": \"Electronics Required Category\"\n        },\n        \"locale_specific\": {\n            \"de_DE\": {\"name\": \"Electronic 3 (de_DE)\"},\n            \"en_US\": {\"name\": \"Electronic 3(en_US)\"},\n            \"fr_FR\": {\"name\": \"Electronic 3(fr_FR)\"}\n        }\n    }\n}\n\n ```\n\n### 5\\. **Category Fields Management** (4 endpoints)\n\n- `GET /category-fields` - Get all category fields\n    \n- `GET /category-fields/{code}` - Get category field by code\n    \n- `POST /category-fields` - Create a category field\n    \n- `PUT /category-fields/{code}` - Update a category field\n    \n\n### 6\\. **Category Field Options** (3 endpoints)\n\n- `GET /category-fields/{code}/options` - Get field options\n    \n- `POST /category-fields/{code}/options` - Create field options\n    \n- `PUT /category-fields/{code}/options` - Update field options\n    \n\n### 7\\. **Attribute Management** (4 endpoints)\n\n- `GET /attributes` - Get all attributes (with pagination & filters)\n    \n- `GET /attributes/{code}` - Get attribute by code\n    \n- `POST /attributes` - Create an attribute\n    \n- `PUT /attributes/{code}` - Update an attribute\n    \n\n**Example Filter:**\n\n``` json\n{\n  \"code\": [{\n    \"operator\": \"IN\",\n    \"value\": [\"weight\"]\n  }]\n}\n\n ```\n\n### 8\\. **Attribute Options** (3 endpoints)\n\n- `GET /attributes/{code}/options` - Get attribute options (e.g., size: S, M, L, XL)\n    \n- `POST /attributes/{code}/options` - Create attribute options\n    \n- `PUT /attributes/{code}/options` - Update attribute options\n    \n\n### 9\\. **Attribute Groups** (4 endpoints)\n\n- `GET /attribute-groups` - Get all attribute groups\n    \n- `GET /attribute-groups/{code}` - Get attribute group by code\n    \n- `POST /attribute-groups` - Create an attribute group\n    \n- `PUT /attribute-groups/{code}` - Update an attribute group\n    \n\n### 10\\. **Attribute Families** (4 endpoints)\n\n- `GET /attribute-families` - Get all attribute families\n    \n- `GET /attribute-families/{code}` - Get attribute family by code\n    \n- `POST /attribute-families` - Create an attribute family\n    \n- `PUT /attribute-families/{code}` - Update an attribute family\n    \n\n### 11\\. **Product Management** (4 endpoints)\n\n- `GET /products` - Get all products (with pagination & filters)\n    \n- `GET /products/{sku}` - Get product by SKU\n    \n- `POST /products` - Create a product\n    \n- `PUT /products/{sku}` - Update a product\n    \n\n### 12\\. **Configurable Products** (6 endpoints)\n\n- `GET /products/configurable` - Get all configurable products\n    \n- `GET /products/configurable/{sku}` - Get configurable product by SKU\n    \n- `POST /products/configurable` - Create configurable product\n    \n- `PUT /products/configurable/{sku}` - Update configurable product\n    \n- `POST /products` - Add new variant (product children)\n    \n- `POST /products/configurable/{sku}/variants` - Associate variants to configurable product\n    \n\n---\n\n## 🔍 Common Query Parameters\n\n### Pagination\n\n```\n?limit=100&page=1\n\n ```\n\n### Filtering\n\n``` json\n{\n  \"field_name\": [{\n    \"operator\": \"=\",\n    \"value\": \"VALUE\"\n  }]\n}\n\n ```\n\n**Supported Operators:** `=`, `!=`, `IN`, `NOT IN`, `>`, `<`, `>=`, `<=`, `LIKE`\n\n---\n\n## 📤 Response Formats\n\n### Success Response:\n\n``` json\n{\n  \"data\": { ... },\n  \"message\": \"Success message\",\n  \"status\": true\n}\n\n ```\n\n### Paginated Response:\n\n``` json\n{\n  \"data\": [ ... ],\n  \"meta\": {\n    \"current_page\": 1,\n    \"per_page\": 100,\n    \"total\": 500,\n    \"last_page\": 5\n  }\n}\n\n ```\n\n### Error Response:\n\n``` json\n{\n  \"error\": \"Error message\",\n  \"message\": \"Detailed error description\",\n  \"status\": false\n}\n\n ```\n\n---\n\n## ⚠️ HTTP Status Codes\n\n- **200 OK** - Request successful\n    \n- **201 Created** - Resource created\n    \n- **400 Bad Request** - Invalid parameters\n    \n- **401 Unauthorized** - Invalid/expired token\n    \n- **403 Forbidden** - Insufficient permissions\n    \n- **404 Not Found** - Resource not found\n    \n- **422 Unprocessable Entity** - Validation errors\n    \n- **429 Too Many Requests** - Rate limit exceeded\n    \n- **500 Internal Server Error** - Server error\n    \n\n---\n\n## 🎯 Best Practices\n\n1. **Token Management** - Implement automatic token refresh before expiration\n    \n2. **Error Handling** - Always check response status codes and handle errors gracefully\n    \n3. **Performance** - Use pagination and filters to reduce payload sizes\n    \n4. **Locale Support** - Always provide locale-specific data for multi-language support\n    \n5. **Caching** - Cache responses when appropriate to reduce API calls\n    \n\n---\n\n## 💡 What's Next?\n\nI can help you with:\n\n1. **Add test scripts** to validate responses for specific endpoints\n    \n2. **Create a monitor** to automatically test critical endpoints on a schedule\n    \n3. **Generate code snippets** in various languages (JavaScript, Python, cURL, PHP, etc.)\n    \n4. **Set up mock servers** to simulate API responses for development\n    \n5. **Create automated workflows** using Postman Flows\n    \n6. **Export documentation** in different formats (HTML, Markdown, PDF)\n    \n7. **Add examples** to specific requests for better documentation\n    \n8. **Create pre-request scripts** for dynamic data generation\n    \n\nWould you like me to help with any of these next steps?","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":true,"owner":"37137259","collectionId":"ef999799-2be1-4a23-bff8-a1e7a10f1563","publishedId":"2sBXVhEWjS","public":true,"publicUrl":"https://documenter-api.postman.tech/view/37137259/2sBXVhEWjS","privateUrl":"https://go.postman.co/documentation/37137259-ef999799-2be1-4a23-bff8-a1e7a10f1563","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.10.1","publishDate":"2026-01-16T12:31:35.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://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/e18bd0a9b50d20c68ab700185a000018aa52aef37a2ec8c2cd3e0cbe2376127c","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/2sBXVhEWjS"}