{"id":23882232,"url":"https://github.com/wtx-labs/woocommerce-api-client-java","last_synced_at":"2026-01-16T06:56:46.965Z","repository":{"id":269875751,"uuid":"908720706","full_name":"wtx-labs/woocommerce-api-client-java","owner":"wtx-labs","description":"The WooCommerce REST API Client for Java provides easy access to the features of the e-commerce platform's API.","archived":false,"fork":false,"pushed_at":"2025-02-07T09:19:38.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T10:25:30.092Z","etag":null,"topics":["api","api-client","apiclient","integration","integrations","java-client","java-client-sdk","rest","rest-api","restapi","woocommerce","woocommerce-extension","woocommerce-plugin","woocommerce-shop"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wtx-labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-12-26T19:33:28.000Z","updated_at":"2025-02-07T09:19:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9d53559-0fad-493f-8b28-f6d40bb6280b","html_url":"https://github.com/wtx-labs/woocommerce-api-client-java","commit_stats":null,"previous_names":["wtx-labs/woocommerce-api-client-java"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtx-labs%2Fwoocommerce-api-client-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtx-labs%2Fwoocommerce-api-client-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtx-labs%2Fwoocommerce-api-client-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtx-labs%2Fwoocommerce-api-client-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wtx-labs","download_url":"https://codeload.github.com/wtx-labs/woocommerce-api-client-java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240255323,"owners_count":19772597,"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","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":["api","api-client","apiclient","integration","integrations","java-client","java-client-sdk","rest","rest-api","restapi","woocommerce","woocommerce-extension","woocommerce-plugin","woocommerce-shop"],"created_at":"2025-01-04T02:52:25.139Z","updated_at":"2026-01-16T06:56:46.953Z","avatar_url":"https://github.com/wtx-labs.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WooCommerce API Client for Java\r\n\r\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\r\n[![Java Version](https://img.shields.io/badge/Java-8%2B-blue)](https://www.java.com)\r\n[![Maven Central](https://img.shields.io/maven-central/v/pl.wtx.woocommerce/woocommerce-api-client?label=Maven%20Central\u0026logo=apache-maven\u0026color=blue)](https://mvnrepository.com/artifact/pl.wtx.woocommerce/woocommerce-api-client)\r\n\r\nA lightweight Java client library for WooCommerce REST API integration. Built for Java developers who need to integrate their applications with WooCommerce e-commerce platform. 🚀\r\n\r\nThis API client provides a type-safe Java interface for WooCommerce REST API v3, enabling seamless management of:\r\n- WooCommerce products and inventory\r\n- Customer data and orders\r\n- E-commerce operations via REST API\r\n\r\n## ✨ Why choose this client?\r\n\r\n- 💡 **Type-Safe Java API** - fully typed interfaces for WooCommerce REST endpoints\r\n- 🛡️ **Basic authentication** - secure WooCommerce API access\r\n- 📚 **Clear documentation** - comprehensive examples for Java integration\r\n- 🚀 **Wide Java support** - compatible with Java 8 and newer\r\n- ⚡ **OpenAPI Generated** - based on our [OpenAPI specification](https://github.com/wtx-labs/woocommerce-api-openapi-specification) developed from official WooCommerce documentation\r\n\r\n## 🎯 Currently implemented features\r\n\r\n- ✅ Customers API\r\n  - List all customers\r\n  - Create a new customer\r\n  - Get a specific customer\r\n  - Update a customer\r\n  - Delete a customer\r\n  - Batch create, update and delete multiple customers\r\n\r\n- ✅ Products API\r\n  - List all products\r\n  - Create a new product\r\n  - Get a specific product\r\n  - Update a product\r\n  - Delete a product\r\n  - Batch create, update and delete multiple products\r\n\r\n- ✅ Product Variations API\r\n  - List all variations of a product\r\n  - Create a new product variation\r\n  - Get a specific product variation\r\n  - Update a product variation\r\n  - Delete a product variation\r\n  - Batch create, update and delete multiple product variations\r\n\r\n- ✅ Product Categories API\r\n  - List all product categories\r\n  - Create a new product category\r\n  - Get a specific product category\r\n  - Update a product category\r\n  - Delete a product category\r\n  - Batch create, update and delete multiple product categories\r\n\r\n- ✅ Orders API\r\n  - List all orders\r\n  - Create a new order\r\n  - Get a specific order\r\n  - Update an order\r\n  - Delete an order\r\n  - Batch create, update and delete multiple orders\r\n\r\n- ✅ Product Attributes API\r\n  - List all product attributes\r\n  - Create a new product attribute\r\n  - Get a specific product attribute\r\n  - Update a product attribute\r\n  - Delete a product attribute\r\n  - Batch create, update and delete multiple product attributes\r\n\r\n- ✅ Product Attribute Terms API\r\n  - List all terms of a product attribute\r\n  - Create a new product attribute term\r\n  - Get a specific product attribute term\r\n  - Update a product attribute term\r\n  - Delete a product attribute term\r\n  - Batch create, update and delete attribute terms\r\n\r\n- ✅ Product Shipping Classes API\r\n  - List all product shipping classes\r\n  - Create a new product shipping class\r\n  - Get a specific product shipping class\r\n  - Update a product shipping class\r\n  - Delete a product shipping class\r\n  - Batch create, update and delete multiple shipping classes\r\n\r\n- ✅ Product Tags API\r\n  - List all product tags\r\n  - Create a new product tag\r\n  - Get a specific product tag\r\n  - Update a product tag\r\n  - Delete a product tag\r\n  - Batch create, update and delete multiple product tags\r\n\r\n- ✅ Product Reviews API\r\n  - List all product reviews\r\n  - Create a new product review\r\n  - Get a specific product review\r\n  - Update a product review\r\n  - Delete a product review\r\n  - Batch create, update and delete multiple product reviews\r\n\r\n- ✅ Reports\r\n  - List all reports\r\n  - Retrieve and view sales report\r\n  - Retrieve and view top sellers report\r\n  - Retrieve and view coupons totals report\r\n  - Retrieve and view customers totals report\r\n  - Retrieve and view orders totals report\r\n  - Retrieve and view products totals report\r\n  - Retrieve and view reviews totals report\r\n\r\n## 🚨 Project status\r\n\r\n\u003e ⚠️ **Note: This is an early development version!**\r\n\u003e \r\n\u003e We are actively implementing more WooCommerce API features.\r\n\u003e Contributions and feedback are welcome on GitHub!\r\n\r\n## 📦 Version information\r\n\r\n- **Current version**: `0.9.8`\r\n- **Supported WooCommerce API version**: `v3`\r\n- **Java compatibility**: Java 8+\r\n\r\n## 🔓 License\r\n\r\n**MIT License**\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files, to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software.\r\n\r\nThe only requirement is to preserve the original author attribution in the source code and documentation.\r\n\r\n## 🚀 Quick start guide\r\n\r\n### 1️⃣ Installation\r\n\r\nYou can add the library to your project by including the dependency from Maven Central:\r\n```xml\r\n\u003c!-- https://mvnrepository.com/artifact/pl.wtx.woocommerce/woocommerce-api-client --\u003e\r\n\u003cdependency\u003e\r\n    \u003cgroupId\u003epl.wtx.woocommerce\u003c/groupId\u003e\r\n    \u003cartifactId\u003ewoocommerce-api-client\u003c/artifactId\u003e\r\n    \u003cversion\u003e0.9.8\u003c/version\u003e\r\n\u003c/dependency\u003e\r\n```\r\n\r\nAlternatively, clone and build the library from source:\r\n\r\n```sh\r\ngit clone https://github.com/wtx-labs/woocommerce-api-client-java.git\r\ncd woocommerce-api-client-java\r\nmvn clean install\r\n```\r\n\r\nThen add the locally built artifact to your project:\r\n\r\n```xml\r\n\u003cdependency\u003e\r\n    \u003cgroupId\u003epl.wtx.woocommerce\u003c/groupId\u003e\r\n    \u003cartifactId\u003ewoocommerce-api-client\u003c/artifactId\u003e\r\n    \u003cversion\u003e0.9.8\u003c/version\u003e\r\n\u003c/dependency\u003e\r\n```\r\n\r\n### 2️⃣ Java integration example\r\n\r\nHere's how to fetch WooCommerce customer data using the client:\r\n\r\n```java\r\npackage pl.wtx.woocommerce;\r\n\r\nimport java.util.List;\r\n\r\nimport pl.wtx.woocommerce.api.client.CustomersApi;\r\nimport pl.wtx.woocommerce.api.client.invoker.ApiException;\r\nimport pl.wtx.woocommerce.api.client.model.Customer;\r\n\r\npublic class WooCommerceApiClientUsageDemo {\r\n\r\n    // TODO: Set your WooCommerce API base path!\r\n    private static final String API_BASE_PATH = \"https://your-woocommerce-shop.com/wp-json/wc/v3\";\r\n    private static final String API_USERNAME = \"TODO_SET_API_USERNAME\";\r\n    private static final String API_PASSWORD = \"TODO_SET_API_PASSWORD\";\r\n\r\n    public static void main(String[] args) {\r\n\r\n        System.out.println(\"\u003e\u003e\u003e Start running the WooCommerceApiClientUsageDemo...\");\r\n\r\n        // Use WooCommerceApiClient(true) if you need to log API communication messages.\r\n        WooCommerceApiClient apiClient = new WooCommerceApiClient();\r\n\r\n        apiClient.setBasePath(API_BASE_PATH);\r\n        apiClient.setUsername(API_USERNAME);\r\n        apiClient.setPassword(API_PASSWORD);\r\n\r\n        CustomersApi customersApi = new CustomersApi(apiClient);\r\n\r\n        try {\r\n\r\n            List\u003cCustomer\u003e customers = customersApi.listAllCustomers(\r\n                null, null, null, null, null, null, null, null, null, null, null\r\n            );\r\n\r\n            // Example list of customer's emails:\r\n            customers.forEach(customer -\u003e System.out.println(\"Customer: \" + customer.getEmail()));\r\n\r\n        } catch (ApiException e) {\r\n            System.err.println(\"Error occurred during API call: \" + e);\r\n        }\r\n\r\n        System.out.println(\"\u003c\u003c\u003c The WooCommerceApiClientUsageDemo has been finished.\");\r\n\r\n    }\r\n\r\n}\r\n```\r\n\r\n## 🔗 Get involved\r\n\r\n- ✨ Check our [GitHub Issues](https://github.com/wtx-labs/woocommerce-api-client-java/issues) for latest updates\r\n- 💡 Have suggestions? Open an Issue or contribute to the project\r\n- 🌟 Star this repository if you find it helpful!\r\n\r\n## 📊 Project statistics\r\n\r\n- ⭐ 9 GitHub stars\r\n- 🔄 Regular updates and improvements\r\n- 👥 Open for community contributions\r\n\r\n## 🔍 Keywords\r\n\r\nwoocommerce java client, woocommerce rest api java, java woocommerce integration, woocommerce api v3 java, e-commerce java integration, woocommerce java library, java rest api client woocommerce, woocommerce api client library for java\r\n\r\n🚀 Happy coding! 😊\r\n\r\n**Your WTX Labs Team** 🚀\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwtx-labs%2Fwoocommerce-api-client-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwtx-labs%2Fwoocommerce-api-client-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwtx-labs%2Fwoocommerce-api-client-java/lists"}