Skip to main content

Update the company data

PUT 

/company/company_data/

This endpoint allows updating the information of the company associated with the authenticated user. It updates both basic data and the address, and synchronizes the changes with Stripe.

Updatable fields:

  • name: Trade name
  • socialName: Legal name
  • taxid: Tax ID (NIF/CIF)
  • email: Contact email
  • phone: Phone number
  • address: Object with complete address

Validations:

  • The email must have a valid format
  • The address is validated and normalized with Google Maps
  • Changes are automatically synchronized with Stripe

Request example:

{
companyData: {
name: Nuevo Nombre S.L.,
socialName: NUEVO NOMBRE SOCIEDAD LIMITADA,
taxid: B87654321,
email: nuevo@email.com,
phone: +34987654321,
address: {
street: Calle Nueva 456,
city: Barcelona,
zipcode: 08001,
country: España
}
}
}

Request

Responses

Updated company data