Prerequisites
- An API key from the Developer Platform with
customers:readandcustomers:write— see Authentication - A place in your system to store the CurbWaste customer UUID after create
Step 1 — Create and store the UUID
displayName is required. Optional: email, phone, companyName.
data.id from the response into your system (shown as $CUSTOMER_ID below).
Step 2 — Update when contact fields change
displayName, email, phone, or companyName.
Step 3 — Find candidates before linking
Use list +searchTerm when you need to discover an existing CurbWaste record (matches displayName, CRM customerId, email, or phone), then fetch or store that id.
Stay current without polling
Register webhooks forcustomer.created / customer.updated and upsert locally on envelope data.id. See Webhook setup.
Related
Webhook setup
Ingest create/update events instead of polling.
Customers
Identifiers, profile fields, and how customers connect to other domains.
Customers API
Paths, params, and response shapes for
/v1/customers.