Update a customer
Fields to update a customer with.
Email address of the business' accounts payable person or department.
Phone number of the business' accounts payable person or department.
Phone number extension of the business' accounts payable person or department.
- Mock serverhttps://docs.resolvepay.com/_mock/partners-api/openapi/customers/{customer_id}
- Sandbox serverhttps://app-sandbox.resolvepay.com/api/customers/{customer_id}
- bearerAuth
- basicAuth
curl -i -X PUT \
'https://docs.resolvepay.com/_mock/partners-api/openapi/customers/{customer_id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"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",
"default_terms": "net7"
}'An object representing the customer.
ID of the sub-merchant this customer belongs to. Only present for single-merchant partners.
Optional customer identifier from your system. This value is not required to be unique and can be used with the external_id list filter.
Country of the business' primary location according to the ISO 3166-1 alpha 2 standard.
String indicating age of the business in years.
Email address of the business' accounts payable person or department.
Phone number of the business' accounts payable person or department.
Phone number extension of the business' accounts payable person or department.
Trade name of the business, if different than business_name.
String indicating the business' type of legal entity.
First name of the person applying on behalf of the business.
Personal phone number of the customer representative applying for terms.
Current amount of the credit line available for purchases.
Current amount of a customer's unapplied payments.
Set default terms that will apply to this customer's invoices. Can be overridden when requesting an advance.
The advance rate that will be used to determine the amount advanced for this customer's invoices.
Current credit status of this customer. See #request-a-credit-check for more details.
Current net terms enrollment status of this customer. See #fetchCustomer for more details.
The URL for a customer to complete enrollment requirements when net_terms_status is pending_enrollment. See #fetchCustomer for more details.
The date by which the customer must be enrolled in this net terms offer, not null when net_terms_status is pending_enrollment.
The date a credit check was requested.
Dun & Bradstreet unique nine-digit identifier for businesses that is associated with a business's Live Business Identity
{ "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, "default_terms": "net7", "advance_rate": 0.75, "credit_status": "approved", "net_terms_status": "enrolled", "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", "archived": false, "duns_number": "00-123-4567", "credit_decisions": [ { … } ] }