---
updatedAt: 2026-05-22T13:32:24.000Z
agentTools:
  projectIndex: https://docs.mondu.ai/llms.txt
---

# Update a seller by UUID

Updates an existing seller, addressed by its server-assigned `uuid`. Functionally equivalent to calling `POST /api/v1/sellers` with the same `external_reference_id` (which is the recommended path); this endpoint exists for cases where the integration prefers UUID-addressed updates.

The body cannot change `external_reference_id` — that field is the upsert key and is set on creation only. To rename a seller externally, register a new one and migrate orders to it.

This endpoint is a full replace: `registration_id`, `vat_id`, and `contact_email` are cleared when omitted from the body. `logo_url` is the one exception — because the logo is a Mondu-hosted asset mirrored from the URL you submitted, omitting `logo_url` keeps the current logo so a routine re-sync cannot wipe it. Send a different URL to replace the logo; re-sending an unchanged URL is a no-op.


# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "API V1",
    "version": "v1"
  },
  "paths": {
    "/api/v1/sellers/{uuid}": {
      "parameters": [
        {
          "name": "uuid",
          "in": "path",
          "schema": {
            "$ref": "#/components/schemas/UUID"
          },
          "required": true
        }
      ],
      "put": {
        "summary": "Update a seller by UUID",
        "tags": [
          "Sellers"
        ],
        "description": "Updates an existing seller, addressed by its server-assigned `uuid`. Functionally equivalent to calling `POST /api/v1/sellers` with the same `external_reference_id` (which is the recommended path); this endpoint exists for cases where the integration prefers UUID-addressed updates.\n\nThe body cannot change `external_reference_id` — that field is the upsert key and is set on creation only. To rename a seller externally, register a new one and migrate orders to it.\n\nThis endpoint is a full replace: `registration_id`, `vat_id`, and `contact_email` are cleared when omitted from the body. `logo_url` is the one exception — because the logo is a Mondu-hosted asset mirrored from the URL you submitted, omitting `logo_url` keeps the current logo so a routine re-sync cannot wipe it. Send a different URL to replace the logo; re-sending an unchanged URL is a no-op.\n",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "successful",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SellerResponse"
                }
              }
            }
          },
          "400": {
            "description": "Malformed JSON or invalid UUID"
          },
          "401": {
            "description": "Invalid or missing API key"
          },
          "404": {
            "description": "Seller not found (or belongs to a different merchant)"
          },
          "422": {
            "description": "Field validation failure (including a logo_url that could not be fetched or is not a PNG/JPEG)"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSellerRequest"
              },
              "examples": {
                "sample request": {
                  "summary": "Update a seller",
                  "value": {
                    "seller": {
                      "company_name": "Mondu GmbH",
                      "company_address": {
                        "country_code": "DE",
                        "city": "Berlin",
                        "state": "BE",
                        "zip_code": "12345",
                        "address_line1": "Test Straße 1"
                      },
                      "registration_id": "HRB 123456",
                      "vat_id": "DE123456789",
                      "contact_email": "test@mondu.ai",
                      "logo_url": "https://example.com/logos/mondu.png"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.demo.mondu.ai"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "name": "Api-Token",
        "in": "header"
      }
    },
    "schemas": {
      "UUID": {
        "type": "string",
        "format": "uuid",
        "maxLength": 36,
        "minLength": 36,
        "example": "12345667-890a-bcde-f123-34567890abcd"
      },
      "DateTime": {
        "type": "string",
        "format": "date-time"
      },
      "NonEmptyString": {
        "type": "string",
        "minLength": 1
      },
      "Name": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1024
      },
      "ExternalId": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1024,
        "description": "Reference ID of resource in external service"
      },
      "Email": {
        "type": "string",
        "pattern": "^[^@\\s]+@[^@\\s]+$"
      },
      "CountryCode": {
        "type": "string",
        "enum": [
          "DE",
          "AT",
          "NL",
          "FR",
          "BE",
          "GB",
          "CH",
          "DK",
          "ES",
          "GR",
          "HU",
          "IE",
          "IT",
          "LT",
          "NO",
          "PL",
          "PT",
          "RO",
          "SE",
          "CY",
          "CZ",
          "EE",
          "FI",
          "IS",
          "LV",
          "LU",
          "MT",
          "SK",
          "SI",
          "BG",
          "HR"
        ],
        "default": "DE",
        "description": "Two-letter country code (<a href=\"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes\" target=\"_blank\">ISO_3166 Alpha 2</a> )i.e DE"
      },
      "Address": {
        "type": "object",
        "required": [
          "country_code",
          "city",
          "address_line1",
          "zip_code"
        ],
        "properties": {
          "country_code": {
            "$ref": "#/components/schemas/CountryCode"
          },
          "state": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NonEmptyString"
              }
            ],
            "description": "State, county, province, or region."
          },
          "city": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NonEmptyString"
              }
            ],
            "description": "City, district, suburb, town, or village."
          },
          "zip_code": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NonEmptyString"
              }
            ],
            "description": "ZIP or postal code."
          },
          "address_line1": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NonEmptyString"
              }
            ],
            "description": "Street, PO Box, or company name."
          },
          "address_line2": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NonEmptyString"
              }
            ],
            "description": "Apartment, suite, unit, or building."
          }
        }
      },
      "Seller": {
        "type": "object",
        "properties": {
          "uuid": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UUID"
              }
            ],
            "description": "Server-assigned seller identifier."
          },
          "external_reference_id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ExternalId"
              }
            ],
            "description": "Unique seller identifier set by the merchant. Used as the upsert key — cannot be changed after creation."
          },
          "company_name": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Name"
              }
            ],
            "description": "Legal name of the seller company."
          },
          "company_address": {
            "$ref": "#/components/schemas/Address"
          },
          "registration_id": {
            "type": "string",
            "description": "Trade registry or business registration number of the seller."
          },
          "vat_id": {
            "type": "string",
            "description": "VAT identification number of the seller."
          },
          "contact_email": {
            "$ref": "#/components/schemas/Email"
          },
          "logo_url": {
            "type": "string",
            "nullable": true,
            "description": "Mondu-hosted URL of the seller logo. Mondu mirrors the image submitted as `logo_url` on create/update, so this is never the URL you sent. `null` when no logo has been set."
          },
          "created_at": {
            "$ref": "#/components/schemas/DateTime"
          },
          "updated_at": {
            "$ref": "#/components/schemas/DateTime"
          }
        }
      },
      "SellerResponse": {
        "type": "object",
        "properties": {
          "seller": {
            "$ref": "#/components/schemas/Seller"
          }
        }
      },
      "UpdateSellerBody": {
        "type": "object",
        "required": [
          "company_name",
          "company_address"
        ],
        "properties": {
          "company_name": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Name"
              }
            ],
            "description": "Legal name of the seller company.",
            "maxLength": 255
          },
          "company_address": {
            "$ref": "#/components/schemas/Address"
          },
          "registration_id": {
            "type": "string",
            "description": "Trade registry or business registration number of the seller."
          },
          "vat_id": {
            "type": "string",
            "description": "VAT identification number of the seller."
          },
          "contact_email": {
            "$ref": "#/components/schemas/Email"
          },
          "logo_url": {
            "type": "string",
            "nullable": true,
            "maxLength": 2048,
            "description": "Publicly reachable `https` URL of the seller logo (PNG or JPEG, max 5 MB). Mondu downloads the image and re-hosts it, so seller reads return the Mondu-hosted URL and not the one you submitted. Unlike the other optional fields on this endpoint, `logo_url` is sticky: omitting it keeps the seller current logo instead of clearing it. Re-sending an unchanged URL is a no-op; a new URL replaces the logo. An unreachable URL or a file that is not a PNG or JPEG fails the request with 422."
          }
        }
      },
      "UpdateSellerRequest": {
        "type": "object",
        "required": [
          "seller"
        ],
        "properties": {
          "seller": {
            "$ref": "#/components/schemas/UpdateSellerBody"
          }
        }
      }
    }
  }
}
```

# Sibling pages

* [List sellers](https://docs.mondu.ai/reference/get_api-v1-sellers.md)
* [Register a seller](https://docs.mondu.ai/reference/post_api-v1-sellers.md)
* [Bulk register sellers](https://docs.mondu.ai/reference/post_api-v1-sellers-bulk.md)
* [Get a seller by UUID](https://docs.mondu.ai/reference/get_api-v1-sellers-uuid.md)