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

# Updates a LegacyOrderType by id

`PUT /LegacyOrderType/{OrderTypeCode}`

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/accounting.md) · [All operations](https://skmtc.dev/imis/apis/accounting/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/imis/accounting/revisions/67a8cf169a01/schema)
