Empresas

Endpoint para actualizar la información de una empresa

Changed on

Este endpoint permite actualizar la información de la empresa enviada cómo parámetro, ten en cuenta que únicamente se actualizará la información enviada y por lo tanto no es necesario enviar toda la información de la empresa. Si cambias la identification (NIT) de la empresa, su habilitación ante la DIAN (governmentStatus) se reinicia, porque la DIAN habilita al NIT y no a la empresa: deberás realizar de nuevo el proceso de habilitación con el nuevo NIT.

patch/companies/{id}

Request

  • Base URL
    https://sandbox-api.alegra.com/e-provider/col/v1
  • URL
    https://sandbox-api.alegra.com/e-provider/col/v1/companies/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

Id de la empresa

Request body

Schema required(unresolved $ref)

Response

(unresolved $ref)

Changes

    • warning

      the /// request property's maxLength was set to 2048

    • warning

      the /// request property's maxLength was set to 2048

    • warning

      the /// request property's maxLength was set to 2048

    • warning

      the /// request property's maxLength was set to 2048

    • warning

      the /// request property's maxLength was set to 2048

    • warning

      the /// request property's maxLength was set to 2048

    • warning

      the /// request property's maxLength was set to 2048

    • warning

      changed the pattern of the request property from ^$|.{15,}$ to ^$|^[\s\S]{15,}$

    • info

      added the new optional request property //

    • info

      the request property's maxLength was increased from 193 to 200