Update Order Type

Updates the specified Order Type by setting the values of the parameters passed. All parameters are updated except the code, so any parameters not provided will be cleared.

SecurityOAuth2.0
Request
path Parameters
order-type-id
required
string
header Parameters
x-api-key
string
tenant-id
string
Content-Type
string
Default: application/json
Request Body schema: application/json
optional
code
required
string
merchants
Array of strings
Responses
200
put/order-types/{order-type-id}
Request samples
application/json
{
  • "code": "string",
  • "merchants": [
    ]
}
Response samples
application/json
{
  • "id": "string",
  • "code": "string",
  • "merchants": [
    ],
  • "deleted": true
}