GraphQL: Properties

Read properties with their customers, organization, parent property and jobs, and create, update or delete properties.

OperationTypeDescription
property(id)QueryGet one property
properties(first, after, filter, sort)QueryList properties
createProperty(input)MutationCreate a property
updateProperty(id, input)MutationUpdate a property
deleteProperty(id)MutationDelete a property

Property fields

FieldTypeDescription
idID!Property UID
property_nameString!Unique within your account
property_descriptionString
property_addressAddress
property_tags[String]
is_activeBoolean
custom_fields[CustomField!]!
customersCustomerConnection!Linked customers. Paginated, with first (default 10), after, filter: CustomerFilter and sort: CustomerSort
organizationOrganization
parent_propertyProperty
no_of_jobsIntNumber of jobs at this property
jobsJobConnection!Paginated, with first (default 10), after, filter: JobFilter and sort: JobSort
created_atDateTime
updated_atDateTime

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

FieldTypeMatches
nameStringProperties whose name starts with this text, ignoring letter case
customer_uidIDProperties linked to this customer
organization_uidIDThe property's organization
is_activeBooleanActive or inactive properties
created_after / created_beforeDateTimeRange on created_at
updated_afterDateTimeProperties 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

FieldTypeRequiredDescription
property_nameStringYesMust be unique. A duplicate returns HTTP_409 Property Name Already Exists
property_addressAddressInputYes
property_descriptionStringNo
customer_uids[ID!]NoCustomers to link. Every UID must exist
organization_uidIDNo
parent_property_uidIDNo
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_address and custom_fields replace the stored values. Always send the complete address.
  • customer_uids replaces the linked customers. If you leave it out, the linked customers don't change.
  • property_tags replaces 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>" }

Did this page help you?