Customers
Update a customer
Update a customer
put/customers/{customer_id}
Request
- Base URLhttps://app-sandbox.resolvepay.com/api
- Auth
- HTTP bearer
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
customer_idstring required
ID of the customer to update
Request body
Example request
{
"external_id": "CUS-123456",
"business_address": "111 Main Street",
"business_city": "San Francisco",
"business_state": "CA",
"business_zip": "94104",
"business_country": "US",
"business_ap_email": "ap@example.com",
"business_ap_phone": "(202) 456-1414",
"business_ap_phone_extension": "123",
"business_name": "Example, Inc.",
"email": "user@example.com"
}Response
An object representing the customer.
Example response
{
"id": "PMMlaE5wbg0",
"merchant_id": "MER456789",
"external_id": "CUS-123456",
"created_at": "2020-01-01T00:00:00.750Z",
"updated_at": "2020-01-01T00:00:00.750Z",
"source": "MERCHANT_USER",
"business_address": "111 Main Street",
"business_city": "San Francisco",
"business_state": "CA",
"business_zip": "94104",
"business_country": "US",
"business_age_range": "5-10",
"business_ap_email": "ap@example.com",
"business_ap_phone": "(202) 456-1414",
"business_ap_phone_extension": "123",
"business_name": "Example, Inc.",
"business_trade_name": "Example Trading Company",
"business_phone": "(202) 456-1414",
"business_type": "corporation",
"email": "user@example.com",
"personal_name_first": "James",
"personal_name_last": "Bond",
"personal_phone": "(202) 456-1414",
"amount_approved": 10000,
"amount_authorized": 10000,
"amount_available": 10000,
"amount_balance": 2000,
"amount_unapplied_payments": 1000,
"advance_rate": 0.75,
"net_terms_enrollment_url": "www.app.resolvepay.com/merchant-id/activate/123456",
"net_terms_enrollment_expires_at": "2020-01-01T00:00:00.750Z",
"credit_check_requested_at": "2020-01-01T00:00:00.750Z",
"duns_number": "00-123-4567",
"credit_decisions": [
{
"id": "abc123",
"created_at": "2020-01-01T00:00:00.750Z",
"decision": "approved",
"amount": 10000,
"advance_rate": 0.75,
"decline_code": "no_business_found",
"hold_code": "past_due"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.