Update Delivery Type

Updates the specified Delivery 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
delivery-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/delivery-types/{delivery-type-id}
Request samples
application/json
{
  • "code": "string",
  • "merchants": [
    ]
}
Response samples
application/json
{
  • "delivery_type_id": "string",
  • "code": "string",
  • "merchants": [
    ],
  • "deleted": true
}