Create Delivery Type

Creates a new Delivery 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/delivery-types
Request samples
application/json
{
  • "code": "string",
  • "merchants": [
    ]
}
Response samples
application/json
{
  • "delivery_type_id": "string",
  • "code": "string",
  • "merchants": [
    ],
  • "deleted": true
}