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

# Bulk register sellers

Registers up to 100 sellers in a single request. Each row is upserted by `external_reference_id`, with the same semantics as the single-seller endpoint: existing rows are updated, new rows are inserted.

The response always returns **200 OK** with a per-row `status` of `created`, `updated`, or `error`. Use `total_created`, `total_updated`, and `total_errors` for at-a-glance counts.

Validation is all-or-nothing for missing or malformed fields: if any row fails schema validation (required fields, format rules, etc.) the whole batch is rejected with **400** or **422**. Per-row `error` statuses are reserved for downstream persistence failures after schema validation has passed.

Validation error responses include the offending row index in the response keys (e.g. `sellers[3].company_address.address_line1`) so you can identify which row failed.

`logo_url` behaves as on the single-seller endpoint (mirrored and re-hosted by Mondu, kept when omitted), with one difference: a logo that cannot be fetched does not fail the batch. That row comes back with `status: error` and a `logo resolution failed: …` message in its `errors` array, while the remaining rows are still upserted.


# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "API V1",
    "version": "v1"
  },
  "paths": {
    "/api/v1/sellers/bulk": {
      "post": {
        "summary": "Bulk register sellers",
        "tags": [
          "Sellers"
        ],
        "description": "Registers up to 100 sellers in a single request. Each row is upserted by `external_reference_id`, with the same semantics as the single-seller endpoint: existing rows are updated, new rows are inserted.\n\nThe response always returns **200 OK** with a per-row `status` of `created`, `updated`, or `error`. Use `total_created`, `total_updated`, and `total_errors` for at-a-glance counts.\n\nValidation is all-or-nothing for missing or malformed fields: if any row fails schema validation (required fields, format rules, etc.) the whole batch is rejected with **400** or **422**. Per-row `error` statuses are reserved for downstream persistence failures after schema validation has passed.\n\nValidation error responses include the offending row index in the response keys (e.g. `sellers[3].company_address.address_line1`) so you can identify which row failed.\n\n`logo_url` behaves as on the single-seller endpoint (mirrored and re-hosted by Mondu, kept when omitted), with one difference: a logo that cannot be fetched does not fail the batch. That row comes back with `status: error` and a `logo resolution failed: …` message in its `errors` array, while the remaining rows are still upserted.\n",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Per-row status: created / updated / error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkUpsertSellersResponse"
                }
              }
            }
          },
          "400": {
            "description": "Malformed JSON, missing sellers array, or per-row schema validation failure"
          },
          "401": {
            "description": "Invalid or missing API key"
          },
          "422": {
            "description": "Batch-level validation failed (size > 100 or duplicate external_reference_id within the request)"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkUpsertSellersRequest"
              },
              "examples": {
                "sample request": {
                  "summary": "Register multiple sellers",
                  "value": {
                    "sellers": [
                      {
                        "external_reference_id": "seller-id-123",
                        "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"
                      },
                      {
                        "external_reference_id": "seller-id-456",
                        "company_name": "Example Trading GmbH",
                        "company_address": {
                          "country_code": "DE",
                          "city": "Munich",
                          "state": "BY",
                          "zip_code": "80331",
                          "address_line1": "Beispielweg 2"
                        },
                        "registration_id": "HRB 654321",
                        "vat_id": "DE987654321",
                        "contact_email": "hello@example.com"
                      }
                    ]
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "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"
      },
      "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."
          }
        }
      },
      "CreateSellerBody": {
        "type": "object",
        "required": [
          "external_reference_id",
          "company_name",
          "company_address"
        ],
        "properties": {
          "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.",
            "maxLength": 255
          },
          "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. Re-sending an unchanged URL is a no-op; omitting the field keeps the seller current logo. An unreachable URL or a file that is not a PNG or JPEG fails the request with 422."
          }
        }
      },
      "BulkUpsertSellersRequest": {
        "type": "object",
        "required": [
          "sellers"
        ],
        "properties": {
          "sellers": {
            "type": "array",
            "minItems": 1,
            "maxItems": 100,
            "items": {
              "$ref": "#/components/schemas/CreateSellerBody"
            }
          }
        }
      },
      "BulkUpsertSellersResponse": {
        "type": "object",
        "properties": {
          "sellers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BulkSellerResult"
            }
          },
          "total_created": {
            "type": "integer",
            "minimum": 0
          },
          "total_updated": {
            "type": "integer",
            "minimum": 0
          },
          "total_errors": {
            "type": "integer",
            "minimum": 0
          }
        }
      },
      "BulkSellerResult": {
        "type": "object",
        "properties": {
          "uuid": {
            "$ref": "#/components/schemas/UUID"
          },
          "external_reference_id": {
            "$ref": "#/components/schemas/ExternalId"
          },
          "company_name": {
            "$ref": "#/components/schemas/Name"
          },
          "status": {
            "type": "string",
            "enum": [
              "created",
              "updated",
              "error"
            ],
            "description": "Per-row outcome."
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Error messages for the row when `status` is `error`."
          }
        }
      }
    }
  }
}
```

# 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)
* [Get a seller by UUID](https://docs.mondu.ai/reference/get_api-v1-sellers-uuid.md)
* [Update a seller by UUID](https://docs.mondu.ai/reference/put_api-v1-sellers-uuid.md)