---
agentTools:
  projectIndex: https://wiwink.readme.io/llms.txt
---

# Update Installer

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Wiwink API",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://developers.wiwink.com/api"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer",
        "x-default": "<your-api-key>"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/installers/{id}": {
      "patch": {
        "summary": "Update Installer",
        "description": "",
        "operationId": "update-installer",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of the installer.",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "country_id": {
                    "type": "integer",
                    "description": "Customer country. Posible values are the ones listed in countries API.",
                    "format": "int32"
                  },
                  "state_id": {
                    "type": "integer",
                    "description": "Installer state. Posible values are the ones listed in states API.",
                    "format": "int32"
                  },
                  "name": {
                    "type": "string",
                    "description": "Name."
                  },
                  "corporate_name": {
                    "type": "string",
                    "description": "Corporate name."
                  },
                  "phone": {
                    "type": "string",
                    "description": "Phone number."
                  },
                  "email": {
                    "type": "string",
                    "description": "Email address."
                  },
                  "zipcode": {
                    "type": "string",
                    "description": "Zip code."
                  },
                  "city": {
                    "type": "string",
                    "description": "City."
                  },
                  "address": {
                    "type": "string",
                    "description": "Address."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"data\": {\n    \"id\": 222,\n    \"country_id\": null,\n    \"state_id\": null,\n    \"name\": \"Víctor Razo\",\n    \"corporate_name\": \"Víctor Razo\",\n    \"phone\": \"444555666\",\n    \"email\": \"storrez@example.com\",\n    \"address\": null,\n    \"zipcode\": null,\n    \"city\": null\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "example": 222,
                          "default": 0
                        },
                        "country_id": {},
                        "state_id": {},
                        "name": {
                          "type": "string",
                          "example": "Víctor Razo"
                        },
                        "corporate_name": {
                          "type": "string",
                          "example": "Víctor Razo"
                        },
                        "phone": {
                          "type": "string",
                          "example": "444555666"
                        },
                        "email": {
                          "type": "string",
                          "example": "storrez@example.com"
                        },
                        "address": {},
                        "zipcode": {},
                        "city": {}
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true,
  "_id": "5fc95bf5cedbb60012732d63:631737e58cafd0006ce9747f"
}
```