{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"e0a953e2-c210-41ad-8245-7bab8da16f76","name":"JUJU SaaS","description":"This is a solution from JUJU SAS that provides clients and suppliers with a way to integrate external systems into the JUJU ecosystem securely, comprehensively, and in a scalable manner through REST services. The solution features a collection of APIs that are categorized into domains such as:\n\n- **User**: Actions or functions related to users (e.g., loading points, querying transactions, etc.)\n    \n- **Orders**: Actions or functions related to purchase orders on the platform (e.g., shopping cart, orders, approvals, etc.)\n    \n- **Catalog**: Actions or functions related to products (e.g., products, stock, categories, etc.)\n    \n- **Company**: Actions or functions related to the company (e.g., settings, policies, styles, etc.)\n    \n\n### **Legal Conditions**\n\nRefer to the contract.\n\n### **Overview**\n\nBefore starting, you should be familiar with the Postman platform and how to create [environment variables](https://learning.postman.com/docs/sending-requests/variables/).\n\n### Environment Variables\n\n| **Variable** | **Description** |\n| --- | --- |\n| `JJSaaSBaseUrl` | Represents the host where the service in question is located. It should be environment-specific, as Juju has three environments, and it must operate dynamically to accommodate various use cases or requirements. Quality Environment Value: [https://jujugateway-qa.jujutests.com/](https://jujugateway-qa.jujutests.com/) |\n| `JJSaaSToken` | This will store the access token. It can be of Global type to facilitate quicker consumption or calling of the other APIs within the solution. |\n| `UserName` | Represents the username that requires access. It should be environment-specific, as Juju operates across three environments and must adapt dynamically to various use cases or requirements. |\n| `Password` | Represents the password for the user requiring access. It should be environment-specific, as Juju operates across three environments and must adapt dynamically to various use cases or requirements. |\n| `Apikey` | Represents a secret key for the user requiring access. It should be environment-specific, as Juju operates across three environments and must adapt dynamically to various use cases or requirements. |\n| `ApiLoginKey` | Represents a secret key for the user requiring access. It should be environment-specific, as Juju operates across three environments and must adapt dynamically to various use cases or requirements. |\n| `JJSaaSCompanyId` | Represents the unique identifier for the company. |\n\nThe values for `UserName`, `Password`, `Apikey`, `ApiLoginKey` y `JJSaaSCompanyId`will be provided via return email once a commercial contract is in place and a contact from the IT department has been assigned, including their contact number and email address.\n\n### **Response Body Schema**\n\nAll APIs (with the exception of the Get Token API) will return the same response object.\n\n| **Parameter** | **Description** |\n| --- | --- |\n| Header.ResponseCode | Response code (200 OK, 400 Bad Request, 500 Internal Server Error). |\n| Header.Message | Error message. |\n| Header.Success | Indicator of the request's success. |\n| Data | This is an object of [type T](https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/generics/generic-type-parameters), which will take the form of a specific type depending on the API being called. |\n\n``` json\n{\n    \"Header\":{\n        \"ResponseCode\":200,\n        \"Message\":\"\",\n        \"Success\":true\n    },\n    \"Data\": {}\n}\n\n ```\n\n**Note:** Although a result might appear as 200 according to [the standard HTTP status codes](https://www.uniprot.org/help/rest-api-headers) in REST APIs, special attention should be paid to the value returned in `Header.ResponseCode`, which will provide the actual status of the request. Within the test architecture, it is very important to understand the specific error, which will be detailed in `Header.Message .`\n\n# **Authentication**\n\nAuthentication for all the APIs in this chapter is performed using the authentication header of the bearer token type under the [JWT ](https://jwt.io/) architecture.\n\n# Error codes\n\n| **Código** | Mensaje | Descripción |\n| --- | --- | --- |\n| 500 | Ha ocurrido un error inesperado, por favor comuníquese con el administrador | Uncontrolled error. Please inform the support area to identify possible causes. |\n| 400 | Uno o varios parámetros presenta(n) inconsistencia(s) | Some of the required parameters of the request have not been sent or have been sent empty. |\n| 401 |  | Token not sent or invalid.  <br>  <br>The company of the token does not have permissions on the information of the company to which the request is being made. |\n\n# **Rate Limiting**\n\nCurrently, there are no rate limits contemplated in the contract.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"27521586","team":5140155,"collectionId":"e0a953e2-c210-41ad-8245-7bab8da16f76","publishedId":"2sA3JM82AD","public":true,"publicUrl":"https://docs.juju.com.co","privateUrl":"https://go.postman.co/documentation/27521586-e0a953e2-c210-41ad-8245-7bab8da16f76","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":"Juju SaaS apis collection"},{"name":"title","value":"Juju SAAS"}],"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.11.4","publishDate":"2024-05-10T22:06:22.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"Juju SAAS","description":"Juju SaaS apis collection"},"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/cc24e35e812b07abf84b812b063ef0d7bc6644bac21b43e10a4a83ef6aa6a8d8","favicon":"https://juju.com.co/favicon.ico"},"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://docs.juju.com.co/view/metadata/2sA3JM82AD"}