Update a customer
Portée requise
customers:writeLa clé API doit porter cette portée, sinon Kivoo répond 403 insufficient_scope.PATCH
/v1/customers/{id}Change the name, email or phone of a buyer; null clears the email or the phone, one of the two must stay.
Autorisation
apiKey AuthorizationBearer <clé API>
Clé API de la boutique, kv_live_…
Dans: header
Paramètres de chemin
id*string
Corps de la requête
application/json
Définitions TypeScript
Utilise le type request body en TypeScript.
Corps de la réponse
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://api.kivoo.africa/v1/customers/string" \ -H "Authorization: Bearer kv_live_EXAMPLE0000000000000000000000000000000000" \ -H "Content-Type: application/json" \ -d '{ "name": "Aminata D." }'{ "id": "7d9e1f2a-3b4c-4d5e-8f6a-7b8c9d0e1f2a", "name": "Aminata Diallo", "email": "aminata@example.com", "phone": "+237655000000", "ordersCount": 3, "totalPaid": 15000, "currency": "XAF", "createdAt": "2026-09-12T10:03:00.000Z"}