Skip to main content
PATCH
Send only the fields you want to change. Anything you leave out keeps its current value, so a CRM workflow can update a phone number without touching the rest of the customer. To pause a customer, send "paused": true. They stop receiving leads, just as when you pause them in Juiced. Send "paused": false to start their leads again. The same rules apply as when you edit a customer in Juiced:
  • Each email can belong to one active customer in your account. An email another active customer uses is refused with validation_failed.
  • Lead caps and budgets are only accepted when they’re turned on in your account settings.
  • Once a customer has an address, it can be changed but not cleared.
Every change shows on the customer’s activity timeline under your API key’s label.

Authorizations

Authorization
string
header
required

An API key from Configure → API Keys (it starts with jz_live_), sent as a bearer token. See API Keys.

Path Parameters

id
string
required

The customer's ID.

Pattern: ^cus_[0-9a-z]{26}$

Body

application/json

Send only the fields to change. Fields you leave out keep their current values. Any other field, such as auto-recharge settings, is ignored.

name
string

The customer's business or display name.

Maximum string length: 255
email
string<email>

Must include a domain with a TLD. Unique across your active customers, so an email another active customer uses is refused with validation_failed.

Maximum string length: 255
phone
string | null

A US, Canadian, Australian or Latvian phone number. Send null to clear it.

address
string | null

Once set, it can be changed but not cleared.

Maximum string length: 255
address_2
string | null
Maximum string length: 255
city
string | null

Once set, it can be changed but not cleared.

Maximum string length: 255
state
string | null

Once set, it can be changed but not cleared.

Maximum string length: 255
zip
string | null

Checked against country, or the customer's stored country when country isn't sent. Once set, it can be changed but not cleared.

country
enum<string> | null

Required with state or zip when the customer has no country yet. Once set, it can be changed but not cleared.

Available options:
US,
CA,
AU,
LV
paused
boolean

Pausing stops the customer receiving leads, exactly as pausing them in Juiced does. Send false to unpause.

can_access_bidding
boolean
can_access_club
boolean
daily_lead_cap
integer | null

Most leads a day. Accepted only when the matching cap or budget is turned on in your account settings, and ignored otherwise. Send null to remove the limit.

Required range: 1 <= x <= 2147483647
weekly_lead_cap
integer | null

Most leads a week. Accepted only when the matching cap or budget is turned on in your account settings, and ignored otherwise. Send null to remove the limit.

Required range: 1 <= x <= 2147483647
monthly_lead_cap
integer | null

Most leads a month. Accepted only when the matching cap or budget is turned on in your account settings, and ignored otherwise. Send null to remove the limit.

Required range: 1 <= x <= 2147483647
daily_budget
number | null

Most spent a day, in dollars. Accepted only when the matching cap or budget is turned on in your account settings, and ignored otherwise. Send null to remove the limit.

Required range: 1 <= x <= 21474836
weekly_budget
number | null

Most spent a week, in dollars. Accepted only when the matching cap or budget is turned on in your account settings, and ignored otherwise. Send null to remove the limit.

Required range: 1 <= x <= 21474836
monthly_budget
number | null

Most spent a month, in dollars. Accepted only when the matching cap or budget is turned on in your account settings, and ignored otherwise. Send null to remove the limit.

Required range: 1 <= x <= 21474836

Response

The updated customer.

data
Customer · object
version
enum<string>
Available options:
v1