---
updatedAt: 2025-12-11T02:07:05.000Z
agentTools:
  projectIndex: https://docs.beeteller.com/v1.0-international-pix/llms.txt
---

# Updating a merchant

This endpoint allows you to update an existing merchant’s information, including fields such as name, city, industry, and category. The ID provided in the path parameter must be the merchant ID generated by our system. Use this endpoint whenever merchant details need to be modified or corrected.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "international-pix",
    "version": "1.0-international-pix"
  },
  "servers": [
    {
      "url": "https://api-test.beeteller.com/pix-pos"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/merchant/{id}/update/": {
      "put": {
        "description": "",
        "operationId": "put_merchant{id}update",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "example": "43438568-422d-48b4-907a-b210c8878682"
                    },
                    "name": {
                      "type": "string",
                      "example": "Test Merchant"
                    },
                    "industry": {
                      "type": "string",
                      "example": "OTHERS"
                    },
                    "category": {
                      "type": "string",
                      "example": "NEW CATEGORY"
                    },
                    "city": {
                      "type": "string",
                      "example": "Test City"
                    },
                    "merchant_id": {
                      "type": "string",
                      "example": "71628176312"
                    },
                    "created_at": {
                      "type": "string",
                      "example": "2025-12-10T22:36:11.000926-03:00"
                    },
                    "is_active": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    }
                  }
                },
                "examples": {
                  "OK": {
                    "summary": "OK",
                    "value": {
                      "id": "43438568-422d-48b4-907a-b210c8878682",
                      "name": "Test Merchant",
                      "industry": "OTHERS",
                      "category": "NEW CATEGORY",
                      "city": "Test City",
                      "merchant_id": "71628176312",
                      "created_at": "2025-12-10T22:36:11.000926-03:00",
                      "is_active": true
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "The merchant's ID, generated after the merchant's creation"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "industry": {
                    "type": "string"
                  },
                  "city": {
                    "type": "string"
                  },
                  "category": {
                    "type": "string"
                  }
                }
              },
              "examples": {
                "Example to update all fields": {
                  "summary": "Example to update all fields",
                  "value": {
                    "name": "Test Merchant",
                    "industry": "OTHERS",
                    "category": "NEW CATEGORY",
                    "city": "Test City"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```