Update a customer

Changed on
put/customers/{id}

Request

  • Base URL
    https://gateway.pmnts-sandbox.io/v1.0
  • URL
    https://gateway.pmnts-sandbox.io/v1.0/customers/{id}
  • Auth
    HTTP basic

Path parameters

idstring required

ID or Reference

Request body

first_namestring
last_namestring
referencestring
emailstring

The customer's email address

ip_addressstring
card_tokenstring
force_linkboolean

Set to true to force the update through when it would otherwise be rejected

Response

200

successfulboolean
testboolean

Example response

{
  "successful": true,
  "response": {
    "id": "071-C-K7IY0XBJ",
    "reference": "abcd123456",
    "first_name": "Harrold",
    "last_name": "Holt",
    "created_at": "2018-01-18T17:04:23+11:00",
    "address": {
      "address": "1 Harriet Road",
      "city": "Kooliablin",
      "state": "NSW",
      "postcode": "2222",
      "country": "Australia"
    },
    "card_token": "fke8kly5",
    "card_number": "512345XXXXXX2346"
  },
  "test": true
}

Changes