# Automate orders, inventory and returns

End-to-end fulfilment orchestration for AI agents

Authentication

Credentials resolved at the runtime, never in agent code

Idempotency

A retry never repeats a real action

Validation

Responses checked against the schema before your agent acts

Audit

A record of what was requested, allowed, and executed

CLI

## Ship in one command.

Pull the manifest, set your policy, execute. No SDK sprawl, no boilerplate. Just the tool you need, right now.

```
swytchcode get shopify
swytchcode exec shopify.create-refund \
  --order-id 4512345 \
  --reason "Item not received"
```

How it connects

## Connect E-commerce in minutes

Follow these steps to connect your agent, load a toolkit, and start executing tools through Swytchcode.

1. 1

### Install the CLI

Install Swytchcode and prepare your agent to use ecommerce tools.

```
npm install -g swytchcode
```

2. 2

### Fetch the order toolkit

Load the integration your agent needs to query orders and inventory.

```
swytchcode get shopify
```

3. 3

### Run the MCP server

Start Swytchcode so your agent can discover and call the right tools.

```
swytchcode mcp serve
```

4. 4

### Automate a refund

Keep agent-driven fulfilment safe with policy-controlled execution.

```
swytchcode exec shopify.create-refund --order-id 4512345 --reason "Item not received"
```

Works with

## APIs your team already uses

Shopify

Stripe

Razorpay

## Ready to ship e-commerce integrations?

Install the CLI and pull your first manifest in under a minute. No account required.
