// You can find your project ID in the Overview tab of any Integration
// Authenticate the user
paragon.authenticate(<ProjectId>, <UserToken>);
// Get all customers
paragon.request("woocommerce", "/customers", {
method: "GET"
});
// Get order by id
paragon.request("woocommerce", "/orders/<id>", {
method: "GET"
});
// Create a product
paragon.request("woocommerce", "/products", {
method: "POST",
body: {
name: "Premium Quality",
type: "simple",
regular_price: "21.99",
description: "This is our Premium Quality offering",
}
});