PUT
/
Customer
/
{customerId}
curl --request PUT \
  --url https://api-sandbox.payabli.com/api/Customer/{customerId} \
  --header 'Content-Type: application/json' \
  --header 'requestToken: <api-key>' \
  --data '{
  "customerNumber": "3456-7645A",
  "customerUsername": "myusername",
  "customerPsw": "mypassword",
  "customerStatus": 1,
  "company": "Sunshine LLC",
  "firstname": "John",
  "lastname": "Smith",
  "phone": "1234567890",
  "email": "example@email.com",
  "address": "777 Main St",
  "address1": "Apt 6",
  "city": "Miami",
  "state": "FL",
  "zip": "33000",
  "country": "US",
  "shippingAddress": "123 Walnut St",
  "shippingAddress1": "STE 900",
  "shippingCity": "Johnson City",
  "shippingState": "TN",
  "shippingZip": "37619",
  "shippingCountry": "US",
  "balance": 988.44,
  "timeZone": -5,
  "additionalFields": {},
  "identifierFields": [
    "email"
  ],
  "createdAt": "2022-07-01 15:00:01"
}'
{
  "isSuccess": true,
  "responseText": "Success",
  "responseCode": 1,
  "responseData": " ",
  "pageIdentifier": null
}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Path Parameters

customerId
integer
required

Payabli-generated customer ID. Maps to "Customer ID" column in PartnerHub.

Example:

998

Body

CustomerData object to update.

Data pertaining to single customer. See customerData Object Model for a complete reference.

Response

200 - application/json

Success

The response is of type object.