---
title: "Updates a LegacyOrderType by id"
method: PUT
path: "/LegacyOrderType/{OrderTypeCode}"
tags: ["LegacyOrderType"]
---

# Updates a LegacyOrderType by id

`PUT /LegacyOrderType/{OrderTypeCode}`

## Request

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

Updates an instance of LegacyOrderType by id

## Path parameters

- `OrderTypeCode` string, required

## 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.

---

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