---
title: "Creates a LegacyOrderType"
method: POST
path: "/LegacyOrderType"
tags: ["LegacyOrderType"]
---

# Creates a LegacyOrderType

`POST /LegacyOrderType`

## Request

- Base URL: `https://yourorgsite.com/api`
- URL: `https://yourorgsite.com/api/LegacyOrderType`
- Auth: OAuth 2
  - Implicit: `https://yourorgsite.com`

Creates an instance of LegacyOrderType

## Request body

- LegacyOrderTypeData
  - `$type` 'Asi.Soa.Commerce.DataContracts.LegacyOrderTypeData, Asi.Contracts', required: The DataType must be "Asi.Soa.Commerce.DataContracts.LegacyOrderTypeData, Asi.Contracts"
  - `ConvertQuoteToOrderTypeCode` string
  - `Description` string
  - `InvoiceAction` boolean
  - `InvoiceDescription` string
  - `OrderTypeCode` string
  - `TypeOfOrder` 'Standard' | 'DebitMemo' | 'CreditMemo' | 'ProForma'
  - `UseShippingPaper` boolean
  - `UsesInventory` boolean
  - `UsesInvoice` boolean
  - `UsesPickList` boolean
  - `UsesPrintQuote` boolean

## Response `200`

The request was successful.

## Other responses

- `201`: The resource was successfully created.
- `202`: The resource was asynchronously created.

---

[API](https://skmtc.dev/imis/apis/commerce-system-setup.md) - [All operations](https://skmtc.dev/imis/apis/commerce-system-setup/llms.txt) - [OpenAPI document](https://skmtc.dev/imis/apis/commerce-system-setup/revisions/ae4eee90929c?raw)
