Create Customer
createCustomerCreate Customer
Create a customer record with contact, location, and tag details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City for the address. | |
| No | Email address for the person or customer. | ||
| notes | No | Internal notes about the customer. | |
| phone | No | Phone number for the person or customer. | |
| state | No | State, province, or region for the address. | |
| company | No | Company or organization name associated with the customer. | |
| address1 | No | Primary street address line. | |
| address2 | No | Secondary street address line, such as suite or apartment. | |
| last_name | No | Customer last name. | |
| photo_url | No | Public image URL downloaded and stored as the customer photo before the record is created. Returns 400 if the URL cannot be fetched or is not a valid image. Accepts at most 500 characters. | |
| tag_slugs | No | Tag slugs to attach to the customer. | |
| first_name | Yes | Customer first name. | |
| postal_code | No | Postal or ZIP code for the address. | |
| signed_up_at | No | When the customer signed up. Optional instant for request bodies: Unix timestamp as integer (seconds), or a date/time string of at most 50 characters that PHP Carbon can parse. For strings, ISO-8601 / RFC 3339 (for example 2026-04-28T15:30:00Z) is the recommended format in examples and client integrations. Invalid values fail validation. When the field is omitted or null, the API uses the current server time where that behavior is documented on the operation. | |
| location_slug | No | Slug of an existing project location. Returns 404 if the slug is not found. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Short code or application-level status code for this resource. | |
| data | No | Response payload for the request. | |
| success | No | Indicates whether the request completed successfully. |