> ## Documentation Index
> Fetch the complete documentation index at: https://docsy3.mile.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Order Type

> An order type is the blueprint for orders: the list of steps, which flow each step uses, and how an order moves from one step to the next

## What is Order Type?

An order type is the blueprint for orders: the list of steps, which flow each step uses, and how an order moves from one step to the next. Order types are versioned: you edit a draft, validate or simulate it, then publish it. These endpoints are served under `/api/v4`.

## Key Features

> [card] [Read order types](https://docsy3.mile.app/api-reference/flow/order-type/read-order-types.md)
>
> GET /order-types

> [card] [Create order type](https://docsy3.mile.app/api-reference/flow/order-type/create-order-type.md)
>
> POST /order-type

> [card] [Read order type by ID](https://docsy3.mile.app/api-reference/flow/order-type/read-order-type-by-id.md)
>
> GET /order-type/{id}

> [card] [Update order type](https://docsy3.mile.app/api-reference/flow/order-type/update-order-type.md)
>
> PUT /order-type/{id}

> [card] [Delete order type](https://docsy3.mile.app/api-reference/flow/order-type/delete-order-type.md)
>
> DELETE /order-type/{id}

> [card] [Publish order type](https://docsy3.mile.app/api-reference/flow/order-type/publish-order-type.md)
>
> PATCH /order-type/{id}/publish

> [card] [Restore order type version](https://docsy3.mile.app/api-reference/flow/order-type/restore-order-type-version.md)
>
> PUT /order-type/{id}/restore/{version}

> [card] [Simulate order type](https://docsy3.mile.app/api-reference/flow/order-type/simulate-order-type.md)
>
> POST /order-type/{id}/simulate

> [card] [Read order type versions](https://docsy3.mile.app/api-reference/flow/order-type/read-order-type-versions.md)
>
> GET /order-type-logs

> [card] [Validate order type draft](https://docsy3.mile.app/api-reference/flow/order-type/validate-order-type-draft.md)
>
> POST /order-type-validate


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.