• Home
  • Our APIs
  • Guides
  • Our Products
    • Nothing Found
  • Home
  • Our APIs
  • Guides
  • Our Products
    • Nothing Found
    1.0.0
    Introduction
    Authentication
    Customers
      get
      Get Customer List
      post
      Create Customer
      get
      Get Customer List
      get
      Get Customer
      put
      Update Customer
    Payments
    Transactions

Update Customer

Endpoint to update a customer by division and customer id

Securityapi_key
Request
path Parameters
divisionID
required
string

Division Identifier.

customerId
required
string

Customer Identifier.

Request Body schema: application/json

Customer Request Body

name
required
string

The customer's name.

email
required
string

The customer's email address.

Array of objects (ICard)

List of all cards associated with the customer.

phoneNumber
required
string

The customer's phone number.

postcode
string

The customer's postcode.

addressNumber
string

The customer's address number.

addressLineOne
string

The customer's address line one.

addressLineTwo
string

The customer's address line two.

state
string

The customer's state.

city
string

The customer's city.

country
string

The customer's country.

isActive
required
boolean

Whether the customer is active.

Responses
200

OK

400
401

Invalid API key/MID.

403

Forbidden from performing this action.

404
500
put/divisions/{divisionID}/customers/{customerId}
Request samples
  • Payload
application/json
{
  • "name": "Test Customer",
  • "email": "[email protected]",
  • "cards": [
    • {
      • "lastFourDigits": "string",
      • "token": "string",
      • "holder": "string",
      • "expiryYear": "string",
      • "expiryMonth": "string",
      • "type": "visa",
      • "isActive": true
      }
    ],
  • "phoneNumber": 61431306461,
  • "postcode": 2000,
  • "addressNumber": "12 Kings Road",
  • "addressLineOne": "Sydney CBD",
  • "addressLineTwo": "string",
  • "state": "NSW",
  • "city": "Sydney",
  • "country": "Australia",
  • "isActive": false
}
Response samples
  • 200
  • 400
  • 401
  • 403
  • 404
  • 500
application/json
{
  • "customer": {
    • "name": "Test Customer",
    • "email": "[email protected]",
    • "cards": [
      • {
        • "lastFourDigits": "string",
        • "token": "string",
        • "holder": "string",
        • "expiryYear": "string",
        • "expiryMonth": "string",
        • "type": "visa",
        • "isActive": true
        }
      ],
    • "phoneNumber": 61431306461,
    • "postcode": 2000,
    • "addressNumber": "12 Kings Road",
    • "addressLineOne": "Sydney CBD",
    • "addressLineTwo": "string",
    • "state": "NSW",
    • "city": "Sydney",
    • "country": "Australia",
    • "isActive": false
    }
}
Legal
  • Privacy Policy
Support
  • Contact us
© Copyright Till Payments 2023. All right reserved.