{"id":21851897,"url":"https://github.com/ulbora/ulboraproductservice","last_synced_at":"2026-05-19T14:08:40.898Z","repository":{"id":87394619,"uuid":"89883327","full_name":"Ulbora/UlboraProductService","owner":"Ulbora","description":"A product micro service","archived":false,"fork":false,"pushed_at":"2018-06-09T18:03:40.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-06T23:33:47.468Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ulbora.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-30T23:26:14.000Z","updated_at":"2018-06-09T18:03:41.000Z","dependencies_parsed_at":"2023-05-07T11:30:31.649Z","dependency_job_id":null,"html_url":"https://github.com/Ulbora/UlboraProductService","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ulbora/UlboraProductService","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraProductService","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraProductService/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraProductService/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraProductService/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ulbora","download_url":"https://codeload.github.com/Ulbora/UlboraProductService/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraProductService/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33219457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T01:12:10.172Z","updated_at":"2026-05-19T14:08:40.892Z","avatar_url":"https://github.com/Ulbora.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ulbora Product Service \n==============\n\nA Product Micro Service\n\n## Headers\nContent-Type: application/json (for POST and PUT)\nAuthorization: Bearer atToken\nclientId: clientId (example 33477)\n\n\n## Add Product\n\n```\nPOST:\nURL: http://localhost:3005/rs/product/add\n\nExample Request\n{\n   \"clientId\":\"clientId\",\n   \"productName\":\"Cap\",\n   \"brand\":\"Nike\",\n   \"mfnId\":1,\n   \"model\":\"123_Cap\",\n   \"description\":\"A black Cap\",\n   \"overview\":\"111djfjoiqjldktrtryrtyrytrsflkdfjdskdsoidsljdsjdsljdlsjfljsdlfjdlsfdsjfdslfkdsjffld\",\n   \"specifications\":\"111djfjoiqjldktrtryrtyrytrsflkdfjdskdsoidsljdsjdsljdlsjfljsdlfjdlsfdsjfdslfkdsjff\"\n}\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"id\": 176,\n  \"clientId\": \"403\",\n  \"message\": \"\"\n}\n\n```\n\n## Update Product\n\n```\nPUT:\nURL: http://localhost:3005/rs/product/update\n\nExample Request\n{\n   \"id\":176,\n   \"clientId\":\"403\",\n   \"productName\":\"Hat\",\n   \"brand\":\"Nike\",\n   \"mfnId\":1,\n   \"model\":\"123_Hat\",\n   \"description\":\"A black Cap\",\n   \"overview\":\"111djfjoiqjldktrtryrtyrytrsflkdfjdskdsoidsljdsjdsljdlsjfljsdlfjdlsfdsjfdslfkdsjffld\",\n   \"specifications\":\"111djfjoiqjldktrtryrtyrytrsflkdfjdskdsoidsljdsjdsljdlsjfljsdlfjdlsfdsjfdslfkdsjff\"\n}\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"message\": \"\"\n}\n\n```\n\n## Get Product\n\n```\nGET:\nURL: http://localhost:3005/rs/product/get/176/403\n  \n```\n\n```\nExample Response   \n\n{\n  \"id\": 176,\n  \"productName\": \"Hat\",\n  \"brand\": \"Nike\",\n  \"mfnId\": 1,\n  \"model\": \"123_Hat\",\n  \"description\": \"A black Cap\",\n  \"overview\": {\n    \"type\": \"Buffer\",\n    \"data\": [\n      49,\n      49,\n      49,      \n      100\n    ]\n  },\n  \"specifications\": {\n    \"type\": \"Buffer\",\n    \"data\": [\n      49,\n      49,\n      49,      \n      102\n    ]\n  },\n  \"clientId\": 403\n}\n\n```\n\n\n## Delete Product\n\n```\nDELETE:\nURL: http://localhost:3005/rs/product/delete/176/403\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"message\": \"\"\n}\n\n```\n\n\n## Add Product Details\n\n```\nPOST:\nURL: http://localhost:3005/rs/details/add\n\nExample Request\n{\n   \"sku\":\"00100212457\",\n   \"price\":8.56,\n   \"productId\":177,\n   \"clientId\":403\n}\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"id\": 176,\n  \"clientId\": \"403\",\n  \"message\": \"\"\n}\n\n```\n\n\n## Update Product Details\n\n```\nPUT:\nURL: http://localhost:3005/rs/details/update\n\nExample Request\n{\n   \"id\": 197,\n   \"sku\":\"00100212458\",\n   \"price\":10.56,\n   \"clientId\":403\n}\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"message\": \"\"\n}\n\n```\n\n\n## Get Product Details\n\n```\nGET:\nURL: http://localhost:3005/rs/details/get/197/403\n  \n```\n\n```\nExample Response   \n\n{\n  \"id\": 197,\n  \"sku\": \"00100212458\",\n  \"price\": 10.56,\n  \"productId\": 177,\n  \"clientId\": 403\n}\n\n```\n\n\n\n\n## Get Product Details by Product ID\n\n```\nPOST:\nURL: http://localhost:3005/rs/details/getByProduct\n\nExample Request\n{\n   \"productId\":177,\n   \"clientId\":403\n}\n  \n```\n\n```\nExample Response   \n\n[\n  {\n    \"id\": 196,\n    \"sku\": \"00100212457\",\n    \"price\": 8.56,\n    \"productId\": 177,\n    \"clientId\": 403\n  },\n  {\n    \"id\": 197,\n    \"sku\": \"00100212458\",\n    \"price\": 10.56,\n    \"productId\": 177,\n    \"clientId\": 403\n  }\n]\n\n```\n\n\n\n## Get Product Details by partial SKU\n\n```\nPOST:\nURL: http://localhost:3005/rs/details/getBySku\n\nExample Request\n{\n   \"sku\":\"001002%\",\n   \"clientId\":403\n}\n\n```\n\n```\nExample Response   \n\n[\n  {\n    \"productDetailsId\": 196,\n    \"productName\": \"Cap\",\n    \"brand\": \"Nike\",\n    \"model\": \"123_Cap\",\n    \"description\": \"A black Cap\",\n    \"sku\": \"00100212457\",\n    \"price\": 8.56,\n    \"productId\": 177\n  },\n  {\n    \"productDetailsId\": 197,\n    \"productName\": \"Cap\",\n    \"brand\": \"Nike\",\n    \"model\": \"123_Cap\",\n    \"description\": \"A black Cap\",\n    \"sku\": \"00100212458\",\n    \"price\": 10.56,\n    \"productId\": 177\n  }\n]\n\n```\n\n\n## Get Product Details by Bar Code\n\n```\nPOST:\nURL: http://localhost:3005/rs/details/getByBarCode\n\nExample Request\n{\n   \"barCodeType\":\"upc\",\n   \"barCode\": \"15555fff555115\",\n   \"clientId\":403\n}\n\n```\n\n```\nExample Response   \n\n{\n  \"productDetailsId\": 196,\n  \"sku\": \"00100212457\",\n  \"productId\": 177,\n  \"clientId\": 403\n}\n\n```\n\n## Delete Product Details\n\n```\nDELETE:\nURL: http://localhost:3005/rs/details/delete/197/403\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"message\": \"\"\n}\n\n```\n\n\n\n\n## Add Product Details Bar Code\n\n```\nPOST:\nURL: http://localhost:3005/rs/barcode/add\n\nExample Request\n{\n   \"type\": \"upc\",\n   \"code\": \"15555fff555112\",\n   \"productDetailsId\":196,\n   \"clientId\":403\n}\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"id\": 86,\n  \"message\": \"\"\n}\n\n```\n\n\n## Update Product Details Bar Code\n\n```\nPUT:\nURL: http://localhost:3005/rs/barcode/update\n\nExample Request\n{\n   \"id\":86,\n   \"type\": \"upc\",\n   \"code\": \"15555fff555115\",\n   \"clientId\":403\n}\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"message\": \"\"\n}\n\n```\n\n\n\n\n## Get Product Details Bar Code\n\n```\nGET:\nURL: http://localhost:3005/rs/barcode/get/86/403\n  \n```\n\n```\nExample Response   \n\n{\n  \"id\": 86,\n  \"type\": \"upc\",\n  \"code\": \"15555fff555115\",\n  \"productDetailsId\": 196,\n  \"clientId\": 403\n}\n\n```\n\n\n\n## Get Product Details Bar Code By Details ID\n\n```\nPOST:\nURL: http://localhost:3005/rs/barcode/getByDetails\n\nExample Request\n{\n   \"productDetailsId\": 196,\n   \"clientId\":403\n}\n\n```\n\n```\nExample Response   \n\n[\n  {\n    \"id\": 85,\n    \"type\": \"upc\",\n    \"code\": \"15555fff555111\",\n    \"productDetailsId\": 196,\n    \"clientId\": 403\n  },\n  {\n    \"id\": 86,\n    \"type\": \"upc\",\n    \"code\": \"15555fff555115\",\n    \"productDetailsId\": 196,\n    \"clientId\": 403\n  }\n]\n\n```\n\n\n\n## Delete Product Details Bar Code\n\n```\nDELETE:\nURL: http://localhost:3005/rs/barcode/delete/86/403\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"message\": \"\"\n}\n\n```\n\n\n\n## Add Product Details Options\n\n```\nPOST:\nURL: http://localhost:3005/rs/options/add\n\nExample Request\n{\n   \"optionName\": \"color\",\n   \"optionValue\": \"blue\",\n   \"productDetailsId\":196,\n   \"clientId\":403\n}\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"id\": 88,\n  \"message\": \"\"\n}\n\n```\n\n\n\n## Update Product Details Options\n\n```\nPUT:\nURL: http://localhost:3005/rs/options/update\n\nExample Request\n{\n   \"id\":88,\n   \"optionName\": \"weight\",\n   \"optionValue\": \"5.5\",\n   \"clientId\":403\n}\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"message\": \"\"\n}\n\n```\n\n\n\n## Get Product Details Options\n\n```\nGET:\nURL: http://localhost:3005/rs/barcode/get/86/403\n  \n```\n\n```\nExample Response   \n\n{\n  \"id\": 86,\n  \"type\": \"upc\",\n  \"code\": \"15555fff555115\",\n  \"productDetailsId\": 196,\n  \"clientId\": 403\n}\n\n```\n\n\n\n\n## Get Product Details Options By Details ID\n\n```\nPOST:\nURL: http://localhost:3005/rs/options/getByDetails\n\nExample Request\n{\n   \"productDetailsId\": 196,\n   \"clientId\":403\n}\n\n```\n\n```\nExample Response   \n\n[\n  {\n    \"id\": 88,\n    \"optionName\": \"weight\",\n    \"optionValue\": \"5.5\",\n    \"productDetailsId\": 196,\n    \"clientId\": 403\n  }\n]\n\n```\n\n\n\n## Search Product Details Options By Option\n\n```\nPOST:\nURL: http://localhost:3005/rs/options/searchByOption\n\nExample Request\n{\n   \"productDetailsId\": 196,\n   \"clientId\":403,\n   \"optionName\": \"%weight%\"\n}\n\n```\n\n```\nExample Response   \n\n{\n  \"id\": 88,\n  \"optionName\": \"weight\",\n  \"optionValue\": \"5.5\",\n  \"productDetailsId\": 196,\n  \"clientId\": 403\n}\n\n```\n\n\n\n\n## Delete Product Details Options\n\n```\nDELETE:\nURL: http://localhost:3005/rs/options/delete/88/403\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"message\": \"\"\n}\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulbora%2Fulboraproductservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fulbora%2Fulboraproductservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulbora%2Fulboraproductservice/lists"}