# Magento 2 API Documentation

This is the complete API documentation for connecting to the Magento 2 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 **Magento 2 connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

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

## Magento 2 actions

- PUT `better-baseball-update-in-netsuite` Better Baseball update in_netsuite in orders
- POST `create-a-shipment` Create a Shipment
- GET `get-credit-memos` Get Credit Memos
- GET `get-customer-by-id` Get Customer By Id
- GET `get-invoices` Get Invoices
- GET `get-order` Get Order
- GET `get-orders` Get Orders
- GET `get-products` Get Products
- GET `get-store-configs` Get Store Configs
- POST `post-comment-to-order` Post Comment To Order
- POST `post-inventory-source-items` Post Inventory Source Items
- POST `post-source-items` Post Source Items
- PUT `put-or-post-credit-memo` Put Or Post Credit Memo
- PUT `put-order` Put Order
- GET `search-customers` Search Customers
- PUT `update-product-stock-item` Update Product Stock Item
