Update Return Settings

Updates existing Return Settings.

SecurityOauth2.0
Request
header Parameters
tenant-id
required
string
Request Body schema: application/json
merchant
string
allowed_days_for_return
integer
object

Key-value map, where key is a country code and value is default dropoff location for this country code

allow_undelivered_items
boolean
allow_pickup_location_selection
boolean
Array of objects
order_lookup_methods
Array of strings
Items Enum: "email" "phone"
shopify_integration_enabled
string
shopify_connector_id
string
Responses
200
put/returns/settings
Request samples
application/json
{
  • "merchant": "string",
  • "allowed_days_for_return": 0,
  • "default_dropoff_locations": {
    },
  • "allow_undelivered_items": true,
  • "allow_pickup_location_selection": true,
  • "notification_users": [
    ],
  • "order_lookup_methods": [
    ],
  • "shopify_integration_enabled": "string",
  • "shopify_connector_id": "string"
}
Response samples
application/json
{
  • "merchant": "string",
  • "allowed_days_for_return": 0,
  • "default_dropoff_locations": {
    },
  • "allow_undelivered_items": true,
  • "allow_pickup_location_selection": true,
  • "notification_users": [
    ],
  • "order_lookup_methods": [
    ],
  • "shopify_integration_enabled": "string",
  • "shopify_connector_id": "string"
}