# Goodbarber eCommerce API Documentation

This is the complete API documentation for connecting to the Goodbarber eCommerce API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **Goodbarber eCommerce connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/goodbarberECommerce/actions/{actionSlug}/run
```

## Goodbarber eCommerce actions

- POST `create-product` Create Product
- POST `create-variant-option` Create Variant Option
- DELETE `delete-product` Delete Product
- DELETE `delete-variant-option` Delete Variant Option
- GET `get-collection` Get Collection
- GET `get-customer` Get Customer
- GET `get-order` Get Order
- GET `get-order-invoice` Get Order Invoice
- GET `get-order-shipping` Get Order Shipping
- GET `get-page-views-per-week-day` Get Page Views Per Week Day
- GET `get-product` Get Product
- GET `get-product-variant` Get Product Variant
- GET `get-prospect` Get Prospect
- GET `get-user-loyalty-points` Get User Loyalty Points
- GET `list-app-downloads` List App Downloads
- GET `list-app-global-downloads` List App Global Downloads
- GET `list-app-launches` List App Launches
- GET `list-collections` List Collections
- GET `list-customers` List Customers
- GET `list-orders` List Orders
- GET `list-page-views` List Page Views
- GET `list-product-paragraphs` List Product Paragraphs
- GET `list-products` List Products
- GET `list-prospects` List Prospects
- GET `list-session-times` List Session Times
- GET `list-tags` List Tags
- GET `list-unique-app-launches` List Unique App Launches
- GET `list-variant-options` List Variant Options
- PUT `update-product` Update Product
- PUT `update-variant-option` Update Variant Option
- GET `validate-front-jwt` Validate Front JWT
