curl --location --request PUT 'https://api.gigstack.io/v2/clients/?team' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Juan Pérez García",
"email": "juan.perez.updated@ejemplo.com",
"company": "Empresa SA de CV - Sucursal Norte",
"phone": "+52 55 1234 5678",
"legal_name": "Juan Pérez García",
"tax_id": "PEGJ800101ABC",
"use": "P01",
"tax_system": "601",
"address": {
"country": "Mexico",
"street": "Av. Insurgentes Sur",
"zip": "03100",
"city": "Ciudad de México",
"state": "CDMX",
"exterior": "123",
"interior": "4B",
"municipality": "Benito Juárez",
"neighborhood": "Del Valle"
},
"bcc": [
"admin@empresa.com",
"contabilidad@empresa.com"
],
"metadata": {
"updated_reason": "Address change",
"priority_client": true
},
"defaults": {
"keep_full_legal_name": true,
"issue_automatic_invoices": true,
"issue_invoiceable_receipts": true
}
}'