Create Order Type

Creates a new Order Type using the parameters passed in the request.

SecurityOAuth2.0
Request
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
201
post/order-types
Request samples
application/json
{
  • "code": "string",
  • "merchants": [
    ]
}
Response samples
application/json
{
  • "id": "string",
  • "code": "string",
  • "merchants": [
    ],
  • "deleted": true
}