{"id":21851898,"url":"https://github.com/ulbora/ulboraorderservice","last_synced_at":"2026-05-09T16:05:31.676Z","repository":{"id":87394617,"uuid":"89883367","full_name":"Ulbora/UlboraOrderService","owner":"Ulbora","description":"An order micro service","archived":false,"fork":false,"pushed_at":"2018-06-09T18:02:31.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-14T05:38:15.171Z","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:58.000Z","updated_at":"2018-06-09T18:02:32.000Z","dependencies_parsed_at":"2023-05-07T11:30:44.634Z","dependency_job_id":null,"html_url":"https://github.com/Ulbora/UlboraOrderService","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ulbora/UlboraOrderService","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraOrderService","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraOrderService/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraOrderService/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraOrderService/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ulbora","download_url":"https://codeload.github.com/Ulbora/UlboraOrderService/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraOrderService/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018012,"owners_count":26086235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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:11.240Z","updated_at":"2025-10-14T05:38:16.597Z","avatar_url":"https://github.com/Ulbora.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ulbora Order Service \n==============\n\nOrder Micro Service\n\n## Headers\nContent-Type: application/json (for POST and PUT)\nAuthorization: Bearer atToken\nclientId: clientId (example 33477)\n\n\n## Add Order\n\n```\nPOST:\nURL: http://localhost:3006/rs/order/add\n\nExample Request\n{\n   \"clientId\":403,\n   \"customerId\":45,\n   \"orderItems\":[\n      {\n         \"product\":1,\n         \"sku\":\"0010021455\",\n         \"orderedQty\":1,\n         \"cancelQty\":0,\n         \"returnedQty\":0,\n         \"backOrderedQty\":0,\n         \"retailPrice\":19.95,\n         \"status\":\"ordered\",\n         \"orderType\":\"online\",\n         \"comment\":\"\"\n      },\n      {\n         \"product\":2,\n         \"sku\":\"0010021456\",\n         \"orderedQty\":1,\n         \"cancelQty\":0,\n         \"returnedQty\":0,\n         \"backOrderedQty\":0,\n         \"retailPrice\":19.95,\n         \"status\":\"ordered\",\n         \"orderType\":\"online\",\n         \"comment\":\"\"\n      }\n   ]\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 Order\n\n```\nPUT:\nURL: http://localhost:3006/rs/order/update\n\nExample Request\n{\n   \"clientId\":403,\n   \"id\": 1,\n   \"customerId\":45,\n   \"billingAddressId\": 2,\n   \"comment\": \"\",\n   \"payment\": \"\"\n}\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"message\": \"\"\n}\n\n```\n\n## Get Order\n\n```\nGET:\nURL: http://localhost:3006/rs/order/get/1/403\n  \n```\n\n```\nExample Response   \n\n{\n    \"id\": 1,\n    \"customerId\": 45,\n    \"billingAddressId\": 2,\n    \"orderDate\": \"2017-07-03T04:00:00.000Z\",\n    \"comment\": \"\",\n    \"payment\": \"\",\n    \"clientId\": 403,\n    \"orderItems\": [\n        {\n            \"id\": 1,\n            \"product\": 1,\n            \"sku\": \"0010021455\",\n            \"orderedQty\": 1,\n            \"cancelQty\": 0,\n            \"returnedQty\": 0,\n            \"backOrderedQty\": 0,\n            \"retailPrice\": 19.95,\n            \"status\": \"ordered\",\n            \"orderType\": \"online\",\n            \"comment\": \"\",\n            \"orderId\": 1,\n            \"clientId\": 403\n        },\n        {\n            \"id\": 2,\n            \"product\": 2,\n            \"sku\": \"0010021456\",\n            \"orderedQty\": 1,\n            \"cancelQty\": 0,\n            \"returnedQty\": 0,\n            \"backOrderedQty\": 0,\n            \"retailPrice\": 19.95,\n            \"status\": \"ordered\",\n            \"orderType\": \"online\",\n            \"comment\": \"\",\n            \"orderId\": 1,\n            \"clientId\": 403\n        }\n    ]\n}\n\n```\n\n\n\n## Get Order by client\n\n```\nGET:\nURL: http://localhost:3006/rs/order/list/403\n  \n```\n\n```\nExample Response   \n\n[\n    {\n        \"id\": 1,\n        \"customerId\": 45,\n        \"billingAddressId\": 2,\n        \"orderDate\": \"2017-07-03T04:00:00.000Z\",\n        \"comment\": \"\",\n        \"payment\": \"\",\n        \"clientId\": 403\n    }\n]\n\n```\n\n\n## Get Order by customer\n\n```\nGET:\nURL: http://localhost:3006/rs/order/customer/list/45/403\n  \n```\n\n```\nExample Response   \n\n[\n    {\n        \"id\": 1,\n        \"customerId\": 45,\n        \"billingAddressId\": 2,\n        \"orderDate\": \"2017-07-03T04:00:00.000Z\",\n        \"comment\": \"\",\n        \"payment\": \"\",\n        \"clientId\": 403\n    }\n]\n\n```\n\n\n\n## Delete Order\n\n```\nDELETE:\nURL: http://localhost:3006/rs/order/delete/1/403\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"message\": \"\"\n}\n\n```\n\n\n## Add Order Item\n\n```\nPOST:\nURL: http://localhost:3006/rs/order/item/add\n\nExample Request\n{\n   \"product\":6,\n   \"sku\":\"0010021444\",\n   \"orderedQty\":1,\n   \"cancelQty\":0,\n   \"returnedQty\":0,\n   \"backOrderedQty\":0,\n   \"retailPrice\":19.95,\n   \"status\":\"ordered\",\n   \"orderType\":\"online\",\n   \"comment\":\"\",\n   \"clientId\":403,\n   \"orderId\":2\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 Order Item\n\n```\nPUT:\nURL: http://localhost:3006/rs/order/item/update\n\nExample Request\n{\n   \"orderedQty\":10,\n   \"cancelQty\":9,\n   \"returnedQty\":0,\n   \"backOrderedQty\":0,\n   \"retailPrice\":19.95,\n   \"status\":\"ordered\",\n   \"orderType\":\"online\",\n   \"comment\":\"\",\n   \"clientId\":403,\n   \"id\":6\n}\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"message\": \"\"\n}\n\n```\n\n\n\n## Delete Order Item\n\n```\nDELETE:\nURL: http://localhost:3006/rs/order/item/delete/6/403\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"message\": \"\"\n}\n\n```\n\n\n\n\n## Add Package\n\n```\nPOST:\nURL: http://localhost:3006/rs/order/package/add\n\nExample Request\n{\n   \"tracking\":\"\",\n   \"shippingAddressId\":10,\n   \"shippingCost\":9.95,\n   \"comment\":\"\",\n   \"orderId\":2,\n   \"clientId\":403,\n   \"packageItems\":[\n      {\n         \"orderItemId\":3\n      },\n      {\n         \"orderItemId\":4\n      }\n   ]\n}\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"id\": 86,\n  \"message\": \"\"\n}\n\n```\n\n\n## Update Package\n\n```\nPUT:\nURL: http://localhost:3006/rs/order/package/update\n\nExample Request\n{\n   \"shippedDate\": \"2017-07-03\",\n   \"tracking\":\"\",\n   \"shippingAddressId\":10,\n   \"shippingCost\":7.95,\n   \"comment\":\"\",\n   \"id\":2,\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 Package\n\n```\nPOST:\nURL: http://localhost:3006/rs/order/package/get\n\nExample Request:\n{\n   \"clientId\":403,\n   \"orderId\":2\n}\n  \n```\n\n```\nExample Response   \n\n[\n    {\n        \"shippedDate\": \"2017-07-03T04:00:00.000Z\",\n        \"tracking\": \"\",\n        \"shippingAddressId\": 10,\n        \"packageNumber\": 1,\n        \"shippingCost\": 7.95,\n        \"packageComments\": \"\",\n        \"orderItemId\": 3,\n        \"product\": 1,\n        \"sku\": \"0010021455\",\n        \"orderedQty\": 1,\n        \"cancelQty\": 0,\n        \"returnedQty\": 0,\n        \"backOrderedQty\": 0,\n        \"retailPrice\": 19.95,\n        \"orderItemStatus\": \"ordered\",\n        \"orderType\": \"online\",\n        \"itemComments\": \"\",\n        \"orderId\": 2,\n        \"clientId\": 403,\n        \"customerId\": 45,\n        \"billingAddressId\": null,\n        \"orderDate\": \"2017-07-03T04:00:00.000Z\",\n        \"orderComments\": null,\n        \"payment\": null\n    },\n    {\n        \"shippedDate\": \"2017-07-03T04:00:00.000Z\",\n        \"tracking\": \"\",\n        \"shippingAddressId\": 10,\n        \"packageNumber\": 1,\n        \"shippingCost\": 7.95,\n        \"packageComments\": \"\",\n        \"orderItemId\": 4,\n        \"product\": 2,\n        \"sku\": \"0010021456\",\n        \"orderedQty\": 1,\n        \"cancelQty\": 0,\n        \"returnedQty\": 0,\n        \"backOrderedQty\": 0,\n        \"retailPrice\": 19.95,\n        \"orderItemStatus\": \"ordered\",\n        \"orderType\": \"online\",\n        \"itemComments\": \"\",\n        \"orderId\": 2,\n        \"clientId\": 403,\n        \"customerId\": 45,\n        \"billingAddressId\": null,\n        \"orderDate\": \"2017-07-03T04:00:00.000Z\",\n        \"orderComments\": null,\n        \"payment\": null\n    },\n    {\n        \"shippedDate\": \"2017-07-03T04:00:00.000Z\",\n        \"tracking\": \"\",\n        \"shippingAddressId\": 10,\n        \"packageNumber\": 2,\n        \"shippingCost\": 19.95,\n        \"packageComments\": \"\",\n        \"orderItemId\": 5,\n        \"product\": 1,\n        \"sku\": \"0010021455\",\n        \"orderedQty\": 1,\n        \"cancelQty\": 0,\n        \"returnedQty\": 0,\n        \"backOrderedQty\": 0,\n        \"retailPrice\": 19.95,\n        \"orderItemStatus\": \"ordered\",\n        \"orderType\": \"online\",\n        \"itemComments\": \"\",\n        \"orderId\": 2,\n        \"clientId\": 403,\n        \"customerId\": 45,\n        \"billingAddressId\": null,\n        \"orderDate\": \"2017-07-03T04:00:00.000Z\",\n        \"orderComments\": null,\n        \"payment\": null\n    }\n]\n\n```\n\n\n\n## Delete Package\n\n```\nDELETE:\nURL: http://localhost:3006/rs/order/package/delete/3/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%2Fulboraorderservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fulbora%2Fulboraorderservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulbora%2Fulboraorderservice/lists"}