canonical: https://jentic.com/apis/torod.co/torod

# Torod SmartShip API

SmartShip (Torod) provides shipping and order management capabilities. This API enables creating and managing orders with customer information, products, and shipping details. The API exposes 3 endpoints secured with apiKey authentication.

## For AI agents

Programmatically create order, list orders. Covers 3 operations with apiKey authentication.

## Scope

Does not handle payments, communications, or crm - use for e-commerce only.

## Capabilities

- Create order
- List orders
- Get order
- Query and filter SmartShip API records by parameters
- Monitor SmartShip API operational status and events

## Use cases

### E-Commerce Operations

Use the SmartShip API to perform e commerce operations programmatically. The API provides 3 endpoints covering core functionality including create order, list orders, get order.

Example prompt: Call POST /orders to create order

### Automated Orders Management

Automate orders operations by combining multiple SmartShip API endpoints. Agents can list orders and then get order in a single workflow.

Example prompt: Call GET /orders to list orders, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call SmartShip API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey tokens manually.

Example prompt: Search Jentic for 'create order', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/orders` | Create order |
| GET | `/orders` | List orders |
| GET | `/orders/{order_id}` | Get order |

## Key resources

- **Orders** — Operations related to Orders

## Why Jentic

- **Setup:** Wiring the SmartShip API by hand means setting up its X-API-Key header auth, tracking the api.torod.co v1 host, and coding your own request and error handling for shipping orders. Through Jentic you install once, import the SmartShip API from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** SmartShip puts the order id in the URL path (`/orders/{order_id}`), so a rule can pin your agent to a specific order and the operations it needs there. You choose which operations it may call, so only the ones you include, such as creating or reading an order, are available.
- **Credential handling:** Your SmartShip API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'create a shipping order' or 'get order details', and Jentic returns the matching SmartShip operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Shopify** — Alternative e commerce API
- **Stripe** — Alternative e commerce API

## FAQ

### What authentication does the SmartShip API use?

The SmartShip API uses an API key passed in the `X-API-Key` header. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I create order with the SmartShip API?

Yes. Use the POST /orders endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the SmartShip API?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I create order through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'create order'. Jentic returns the matching SmartShip API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the SmartShip API have?

The SmartShip API exposes 3 endpoints covering orders operations.

### Can I limit what my agent is allowed to do with the SmartShip API?

Yes. Because you run Jentic One yourself, your own rules decide which SmartShip operations the agent may call, so you can include only creating an order (POST /orders) and leave out listing or reading orders, or any combination you choose. Since SmartShip puts the order id in the URL path (GET `/orders/{order_id}`), a rule can also pin the agent to a specific order and just the operations it needs there. The stored API key is injected only for the calls you have allowed, so the agent can never reach an operation you did not grant.
