Update Customer

The Customers API enables you to create and manage customers within your integration.

The endpoint below will enable you to update a customer's details.

PATCH /customers/:id

Request

{
    "phone_number": "+2348012345678",
}

Response

{
    "data": {
        "id": "6f7e1e7f-93d1-4fcc-b7a4-738f869615c8",
        "first_name": "Test",
        "last_name": "Customer",
        "email": "test@custom.er",
        "phone_number": "+2348012345678",
        "billing_address": {
            "line1": "123 Test lane",
            "line2": "3456 Mike Drive",
            "city": "Anon",
            "state": "Acme",
            "zip_code": "12345",
            "country": "US"
        }
    }
}

Last updated