The customer object
The customer object in the Shortcut API - every field, an example, and the endpoints that return it.
A customer: someone the workspace serves.
Fields
id
id
The customer's id.
object
"customer"
Always customer.
firstName
string
First name.
lastName
string
Last name.
companyName
string or null
Company name, when the customer is a business.
email
string or null
Email address, or null when the customer has none on file.
phone
string or null
Phone number as entered in the app.
status
active, inactive, invited
active customers are served; inactive customers were deactivated.
tags
array of objects
Tags in the order they were attached.
tags[].id
id
The tag's id.
tags[].name
string
The tag's name as shown in the app.
externalReferences
array of objects
Ids this customer has in your other systems, set with externalReference or the external upsert.
externalReferences[].source
string
The system the id comes from.
externalReferences[].externalId
string
The object's id in that system.
createdAt
timestamp
When the customer was created, ISO 8601 in UTC.
updatedAt
timestamp
When the customer last changed, ISO 8601 in UTC.
properties
array of property objects
The customer's properties, oldest first. Only in answers from POST /v1/customers, GET /v1/customers/{id}, PUT /v1/customers/{id}/external-references/{source}, DELETE /v1/customers/{id}/external-references/{source}, GET /v1/customers/external/{source}/{externalId}, PUT /v1/customers/external/{source}/{externalId}.
Example
Endpoints
GET /v1/customers
List customers
POST /v1/customers
Create a customer
GET /v1/customers/{id}
Get a customer
PATCH /v1/customers/{id}
Update a customer
POST /v1/customers/{id}/deactivate
Deactivate a customer
PUT /v1/customers/{id}/external-references/{source}
Link a customer to your id
DELETE /v1/customers/{id}/external-references/{source}
Unlink a customer from your id
POST /v1/customers/{id}/reactivate
Reactivate a customer
GET /v1/customers/external/{source}/{externalId}
Get a customer by your id
PUT /v1/customers/external/{source}/{externalId}
Create or update a customer by your id
Last updated