# TrackMage API Documentation

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

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

## TrackMage actions

- POST `create-order` Create Order
- POST `create-product` Create Product
- POST `create-product-variant` Create Product Variant
- POST `create-shipment` Create Shipment
- POST `create-shipment-item` Create Shipment Item
- POST `create-workflow` Create Workflow
- POST `create-workspace` Create Workspace
- DELETE `delete-order` Delete Order
- DELETE `delete-product` Delete Product
- DELETE `delete-product-variant` Delete Product Variant
- DELETE `delete-shipment` Delete Shipment
- DELETE `delete-shipment-item` Delete Shipment Item
- DELETE `delete-workspace` Delete Workspace
- PUT `execute-workflow` Execute Workflow
- GET `get-order` Get Order
- GET `get-product` Get Product
- GET `get-product-variant` Get Product Variant
- GET `get-shipment` Get Shipment
- GET `get-shipment-item` Get Shipment Item
- GET `get-workflow` Get Workflow
- GET `get-workspace` Get Workspace
- GET `list-order-items-for-order` List Order Items For Order
- GET `list-orders` List Orders
- GET `list-product-variants` List Product Variants
- GET `list-products` List Products
- GET `list-shipment-checkpoints` List Shipment Checkpoints
- GET `list-shipment-items` List Shipment Items
- GET `list-shipment-items-for-shipment` List Shipment Items For Shipment
- GET `list-shipments` List Shipments
- GET `list-workflows` List Workflows
- GET `list-workspaces` List Workspaces
- GET `lookup-order` Lookup Order
- GET `lookup-shipment` Lookup Shipment
- PUT `merge-shipments` Merge Shipments
- PUT `update-order` Update Order
- PUT `update-product` Update Product
- PUT `update-product-variant` Update Product Variant
- PUT `update-shipment` Update Shipment
- PUT `update-shipment-item` Update Shipment Item
- PUT `update-workspace` Update Workspace
