GraphQL: Properties
Read properties with their customers, organization, parent property and jobs, and create, update or delete properties.
| Operation | Type | Description |
|---|---|---|
property(id) | Query | Get one property |
properties(first, after, filter, sort) | Query | List properties |
createProperty(input) | Mutation | Create a property |
updateProperty(id, input) | Mutation | Update a property |
deleteProperty(id) | Mutation | Delete a property |
Property fields
| Field | Type | Description |
|---|---|---|
id | ID! | Property UID |
property_name | String! | Unique within your account |
property_description | String | |
property_address | Address | |
property_tags | [String] | |
is_active | Boolean | |
custom_fields | [CustomField!]! | |
customers | CustomerConnection! | Linked customers. Paginated, with first (default 10), after, filter: CustomerFilter and sort: CustomerSort |
organization | Organization | |
parent_property | Property | |
no_of_jobs | Int | Number of jobs at this property |
jobs | JobConnection! | Paginated, with first (default 10), after, filter: JobFilter and sort: JobSort |
created_at | DateTime | |
updated_at | DateTime |
Get a property
property(id: ID!) returns one property, or null if the UID doesn't exist in your account.
query PropertyDetails($id: ID!, $jobsAfter: String) {
property(id: $id) {
id
property_name
property_description
property_address { street city state country zip_code geo_coordinates }
property_tags
custom_fields { label value }
no_of_jobs
is_active
customers { nodes { id customer_full_name customer_contact_no { mobile } } }
organization { id organization_name }
parent_property { id property_name }
jobs(first: 10, after: $jobsAfter, sort: { field: SCHEDULED_START_TIME, direction: DESC }) {
nodes { work_order_number job_title scheduled_start_time current_status { status_name } }
page_info { has_next_page end_cursor }
}
}
}{ "id": "<property_uid>", "jobsAfter": null }List properties
properties(first, after, filter, sort) returns a paginated list.
PropertyFilter
| Field | Type | Matches |
|---|---|---|
name | String | Properties whose name starts with this text, ignoring letter case |
customer_uid | ID | Properties linked to this customer |
organization_uid | ID | The property's organization |
is_active | Boolean | Active or inactive properties |
created_after / created_before | DateTime | Range on created_at |
updated_after | DateTime | Properties changed at or after this time |
custom_field | [CustomFieldFilter!] | { label, value } exact matches |
PropertySortField: CREATED_AT, UPDATED_AT
Example: a customer's active properties
query CustomerProperties($customer: ID!, $after: String) {
properties(first: 25, after: $after, filter: { customer_uid: $customer, is_active: true }) {
nodes { id property_name property_address { street city } organization { organization_name } }
page_info { has_next_page end_cursor }
}
}{ "customer": "<customer_uid>", "after": null }Example: an organization's properties by name and custom field, most recently updated first
query OrgProperties($org: ID!, $name: String, $cf: [CustomFieldFilter!]) {
properties(
first: 50
filter: { organization_uid: $org, name: $name, custom_field: $cf }
sort: { field: UPDATED_AT, direction: DESC }
) {
nodes { id property_name property_tags parent_property { property_name } updated_at }
page_info { has_next_page end_cursor }
}
}{
"org": "<organization_uid>",
"name": "acme tower",
"cf": [{ "label": "Gate code", "value": "1234" }]
}Example: properties created in a date range
query PropertiesCreated($from: DateTime!, $to: DateTime!) {
properties(
first: 100
filter: { created_after: $from, created_before: $to }
sort: { field: CREATED_AT, direction: ASC }
) {
nodes { id property_name created_at }
page_info { has_next_page end_cursor }
}
}{ "from": "2026-10-01T00:00:00Z", "to": "2026-10-31T23:59:59Z" }Create a property
createProperty(input: PropertyCreateInput!)
PropertyCreateInput
| Field | Type | Required | Description |
|---|---|---|---|
property_name | String | Yes | Must be unique. A duplicate returns HTTP_409 Property Name Already Exists |
property_address | AddressInput | Yes | |
property_description | String | No | |
customer_uids | [ID!] | No | Customers to link. Every UID must exist |
organization_uid | ID | No | |
parent_property_uid | ID | No | |
property_tags | [String!] | No | |
custom_fields | [CustomFieldInput!] | No | { label value } |
mutation CreateProperty($input: PropertyCreateInput!) {
createProperty(input: $input) {
property {
id
property_name
property_address { city }
customers { nodes { customer_full_name } }
organization { organization_name }
parent_property { property_name }
property_tags
}
user_errors { field message code }
}
}{
"input": {
"property_name": "Acme Tower - Block B",
"property_description": "12-floor commercial block",
"property_address": { "street": "500 Howard St", "city": "San Francisco", "state": "California", "country": "United States", "zip_code": "94105" },
"customer_uids": ["<customer_uid>"],
"organization_uid": "<organization_uid>",
"parent_property_uid": "<parent_property_uid>",
"property_tags": ["commercial"],
"custom_fields": [{ "label": "Gate code", "value": "1234" }]
}
}Possible user_errors messages include Property Address is missing, Incorrect Customer UID sent and Invalid Customer Organization UID.
Update a property
updateProperty(id: ID!, input: PropertyUpdateInput!)
PropertyUpdateInput: property_name, property_description, property_address, customer_uids, organization_uid, property_tags, custom_fields
property_addressandcustom_fieldsreplace the stored values. Always send the complete address.customer_uidsreplaces the linked customers. If you leave it out, the linked customers don't change.property_tagsreplaces the stored tags.- The organization doesn't change unless you send
organization_uid.
mutation UpdateProperty($id: ID!, $input: PropertyUpdateInput!) {
updateProperty(id: $id, input: $input) {
property { id property_name property_address { street city zip_code } organization { organization_name } }
user_errors { field message code }
}
}{
"id": "<property_uid>",
"input": {
"property_name": "Acme Tower - Block B (East)",
"property_address": { "street": "500 Howard St", "city": "San Francisco", "state": "California", "country": "United States", "zip_code": "94105" }
}
}Delete a property
deleteProperty(id: ID!)
mutation DeleteProperty($id: ID!) {
deleteProperty(id: $id) {
deleted_id
user_errors { field message code }
}
}{ "id": "<property_uid>" }Updated about 21 hours ago
