# SkySlope

> Create and update SkySlope listings and sales, add sellers, buyers, commissions and checklist notes, move files between stages, close sales, search files and documents, and manage your contact directory, with triggers for new, changed, closed and canceled files, new documents and checklist notes.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/skyslope

## Actions

### Add buyer to sale

Add a buyer to a sale, up to five.

**Inputs**

- Sale (`sale_guid`, text, required): The sale. Pick one, or give its saleGuid from an earlier step.
- First name (`first_name`, text, required): Their first name.
- Last name (`last_name`, text, required): Their last name.
- Email (`email`, text): Their email address.
- Phone (`phone_number`, text): Their phone number, ten digits, such as 9165550100.
- Company (`company`, text): Their company, for a trust or other entity.
- Trust or other entity (`is_entity`, true/false): Whether this is a trust, company or other entity rather than a person.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "newContacts": [
        "example"
      ],
      "saleGuid": "example"
    },
    "warnings": [
      "example"
    ]
  }
}
```

### Add listing commissions

Add a listing's commissions, as a percent or an amount for each side, not both. A listing needs them to become Active, and they can be added once.

**Inputs**

- Listing (`listing_guid`, text, required): The listing. Pick one, or give its listingGuid from an earlier step.
- Listing side (%) (`listing_commission_percent`, number): The listing side's commission, as a percent from 0 to 100. From 0 to 100.
- Listing side ($) (`listing_commission_amount`, number): The listing side's commission, in dollars. At least 0.
- Buyer side (%) (`sale_commission_percent`, number): The buyer side's commission, as a percent from 0 to 100. From 0 to 100.
- Buyer side ($) (`sale_commission_amount`, number): The buyer side's commission, in dollars. At least 0.
- Office gross commission (`office_gross_commission`, number): The office's gross commission, in dollars. At least 0.
- Breakdown (`commission_breakdown`, text): Notes on how the commission breaks down.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "listingGuid": "example"
    },
    "warnings": [
      "example"
    ]
  }
}
```

### Add note to sale checklist item

Add a note to one item on a sale's checklist, for everyone with access to the sale. Notes can't be edited or deleted.

**Inputs**

- Sale (`sale_guid`, text, required): The sale. Pick one, or give its saleGuid from an earlier step.
- Checklist item ID (`checklist_item_id`, number, required): The checklist item: its activityId in the sale's checklist (Get sale). At least 1.
- Note (`note`, text, required): The note.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {},
    "warnings": [
      "example"
    ]
  }
}
```

### Add seller to listing

Add a seller to a listing, up to five. A listing needs one to become Active.

**Inputs**

- Listing (`listing_guid`, text, required): The listing. Pick one, or give its listingGuid from an earlier step.
- First name (`first_name`, text, required): Their first name.
- Last name (`last_name`, text, required): Their last name.
- Email (`email`, text): Their email address.
- Phone (`phone_number`, text): Their phone number, ten digits, such as 9165550100.
- Company (`company`, text): Their company, for a trust or other entity.
- Trust or other entity (`is_entity`, true/false): Whether this is a trust, company or other entity rather than a person.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "contactGuid": "example",
      "listingGuid": "example"
    },
    "warnings": [
      "example"
    ]
  }
}
```

### Close sale

Close a sale on the day it closed. A sale that is already closed, archived or a dead deal can't be closed.

**Inputs**

- Sale (`sale_guid`, text, required): The sale. Pick one, or give its saleGuid from an earlier step.
- Closing date (`actual_closing_date`, date, required): The day the sale closed.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {},
    "warnings": [
      "example"
    ]
  }
}
```

### Convert listing to sale

Turn an Active listing into a sale, copying its contacts and commissions. The sale price and MLS number default to the listing's.

**Inputs**

- Listing (`listing_guid`, text, required): The listing. Pick one, or give its listingGuid from an earlier step.
- Sale checklist type (`sale_checklist_type_id`, number, required): The sale checklist to use; it must belong to the listing's office.
- Sale price (`sale_price`, number): The sale price, in dollars. Leave empty for the list price. At least 0.
- Contract accepted (`contract_acceptance_date`, date): The day the contract was accepted.
- Escrow closing date (`escrow_closing_date`, date): The day escrow is due to close.
- Escrow number (`escrow_number`, text): The escrow or closing number.
- MLS number (`mls_number`, text): The MLS number.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "saleGuid": "example"
    },
    "warnings": [
      "example"
    ]
  }
}
```

### Create contact

Add a contact to your SkySlope directory. Only a broker can share one with everyone.

**Inputs**

- First name (`first_name`, text, required): Their first name.
- Last name (`last_name`, text, required): Their last name.
- Email (`email`, text, required): Their email address.
- Company (`company`, text): Their company.
- Street number (`street_number`, text): Street number of their address.
- Street name (`street_name`, text): Street name of their address.
- City (`city`, text): City of their address.
- State (`state`, text): State of their address, such as CA.
- ZIP code (`zip`, text): ZIP code of their address.
- Phone (`phone`, text): Their phone number, ten digits.
- Alternate phone (`alternate_phone`, text): Another phone number, ten digits.
- Fax (`fax`, text): Their fax number, ten digits.
- Shared (`is_shared`, true/false): Share the contact with everyone in the brokerage (brokers only).
- Company contact (`is_company`, true/false): Whether the contact is a company rather than a person.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "alternatePhone": "example",
      "city": "example",
      "company": "example",
      "contactGuid": "example",
      "email": "example",
      "fax": "example",
      "firstName": "example",
      "isCompany": true,
      "isShared": true,
      "lastName": "example",
      "phone": "example",
      "state": "example",
      "streetName": "example",
      "streetNumber": "example",
      "zip": "example"
    },
    "warnings": [
      "example"
    ]
  }
}
```

### Create listing

Create a listing for an agent. It stays Incomplete until it has a seller (Add seller to listing) and commissions (Add listing commissions).

**Inputs**

- Agent (`agent_guid`, text, required): The listing agent.
- Checklist type (`checklist_type_id`, number, required): The listing checklist to use.
- List price (`listing_price`, number, required): The list price, in dollars. At least 0.
- Expiration date (`expiration_date`, date, required): The day the listing agreement expires.
- Listing date (`listing_date`, date): The day the property was listed.
- Street number (`street_number`, text, required): The street number, such as 1600.
- Street name (`street_name`, text, required): The street name, such as Main St.
- Unit (`unit`, text): The unit or suite, if any.
- City (`city`, text, required): The city.
- State (`state`, text, required): The state. One of: `AL` (Alabama), `AK` (Alaska), `AZ` (Arizona), `AR` (Arkansas), `CA` (California), `CO` (Colorado), `CT` (Connecticut), `DE` (Delaware), `DC` (District of Columbia), `FL` (Florida), and 44 more.
- ZIP code (`zip`, text, required): The ZIP code.
- County (`county`, text): The county.
- Year built (`year_built`, number): The year the property was built. From 1600 to 2100.
- Property type (`property_type_id`, number): The kind of property, such as Residential.
- Property subtype (`property_subtype_id`, number): The property subtype, which depends on the property type.
- Office (`office_guid`, text): The office to create it in. Leave empty for the agent's office.
- MLS number (`mls_number`, text): The MLS number.
- Representation (`representation_type`, text): Which side the agent represents. Leave empty for Listing. One of: `Listing`, `Lease Landlord` (Lease (landlord)).
- Co-listing agent (`co_listing_agent_guid`, text): A co-listing agent.
- Source ID (`source_id`, number): Where the business came from, as the source ID SkySlope gives it. Needed only when your brokerage requires a source.
- Other source (`other_source`, text): The source in words, when the source chosen is Other.
- Office lead (`is_office_lead`, true/false): Whether the business came from an office lead.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "listingGuid": "example"
    },
    "warnings": [
      "example"
    ]
  }
}
```

### Create sale

Create a sale (a transaction) for an agent in an office.

**Inputs**

- Agent (`agent_guid`, text, required): The agent.
- Office (`office_guid`, text, required): The office to create it in.
- Checklist type (`checklist_type_id`, number, required): The sale checklist to use.
- Street number (`street_number`, text): The street number, such as 1600.
- Street name (`street_name`, text): The street name, such as Main St.
- Unit (`unit`, text): The unit or suite, if any.
- City (`city`, text): The city.
- State (`state`, text): The state. One of: `AL` (Alabama), `AK` (Alaska), `AZ` (Arizona), `AR` (Arkansas), `CA` (California), `CO` (Colorado), `CT` (Connecticut), `DE` (Delaware), `DC` (District of Columbia), `FL` (Florida), and 44 more.
- ZIP code (`zip`, text): The ZIP code.
- County (`county`, text): The county.
- Year built (`year_built`, number): The year the property was built. From 1600 to 2100.
- Property type (`property_type_id`, number): The kind of property, such as Residential.
- Property subtype (`property_subtype_id`, number): The property subtype, which depends on the property type.
- Representation (`deal_type`, text): Which side the agent represents. Leave empty for Purchase. One of: `Purchase` (Purchase (buyer)), `Listing`, `Both Purchase & Listing` (Both sides (buyer and seller)), `Lease Tenant` (Lease (tenant)), `Lease Landlord` (Lease (landlord)), `Both Lease Tenant & Landlord` (Lease (tenant and landlord)), `Referral`, `BPO` (Broker price opinion), `Other`.
- Sale price (`sale_price`, number): The sale price, in dollars. At least 0.
- Contract accepted (`contract_acceptance_date`, date): The day the contract was accepted.
- Escrow closing date (`escrow_closing_date`, date): The day escrow is due to close.
- Escrow number (`escrow_number`, text): The escrow or closing number.
- MLS number (`mls_number`, text): The MLS number.
- Source ID (`source_id`, number): Where the business came from, as the source ID SkySlope gives it. Needed only when your brokerage requires a source.
- Other source (`other_source`, text): The source in words, when the source chosen is Other.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "saleGuid": "example"
    },
    "warnings": [
      "example"
    ]
  }
}
```

### Delete contact

Delete a directory contact you created.

**Inputs**

- Contact (`contact_guid`, text, required): The directory contact. Pick one, or give its contactGuid from an earlier step.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "contactGuid": "example",
    "deleted": true
  }
}
```

### Get listing

Get a listing with its property, sellers, stage, checklist and commissions.

**Inputs**

- Listing (`listing_guid`, text, required): The listing. Pick one, or give its listingGuid from an earlier step.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "listing": {
        "agentGuid": "example",
        "checklist": {
          "activities": [
            {
              "activityId": 1,
              "activityName": "example",
              "dateAssigned": "example",
              "docs": [
                "example"
              ],
              "modifiedOn": "example",
              "order": 1,
              "status": "example",
              "typeName": "example"
            }
          ],
          "typeId": 1,
          "typeName": "example"
        },
        "checklistModifiedOn": "example",
        "checklistType": "example",
        "coListingAgentGuid": "example",
        "company": "example",
        "createdByGuid": "example",
        "createdOn": "example",
        "deadDate": "example",
        "expirationDate": "example",
        "fileId": "example",
        "listingDate": "example",
        "listingEmail": "example",
        "listingGuid": "example",
        "listingPrice": 1,
        "mlsNumber": "example",
        "officeGuid": "example",
        "otherSource": "example",
        "property": {
          "areasqft": "example",
          "city": "example",
          "county": "example",
          "direction": "example",
          "realPropertySubtypeId": 1,
          "realPropertyTypeId": 1,
          "state": "example",
          "streetAddress": "example",
          "streetNumber": "example",
          "unit": "example",
          "yearBuilt": 1,
          "zip": "example"
        },
        "realPropertySubtype": "example",
        "realPropertyType": "example",
        "representationType": "example",
        "sellers": [
          {
            "company": "example",
            "contactGuid": "example",
            "email": "example",
            "firstName": "example",
            "lastName": "example",
            "phoneNumber": "example"
          }
        ],
        "source": "example",
        "sourceId": 1,
        "stage": {
          "id": 1,
          "name": "example"
        },
        "status": "example",
        "type": "example"
      }
    },
    "warnings": [
      "example"
    ]
  }
}
```

### Get sale

Get a sale with its property, buyers, sellers, dates, stage and checklist.

**Inputs**

- Sale (`sale_guid`, text, required): The sale. Pick one, or give its saleGuid from an earlier step.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "sale": {
        "actualClosingDate": "example",
        "agentGuid": "example",
        "buyers": [
          {
            "company": "example",
            "contactGuid": "example",
            "email": "example",
            "firstName": "example",
            "lastName": "example",
            "phoneNumber": "example"
          }
        ],
        "checklist": {
          "activities": [
            {
              "activityId": 1,
              "activityName": "example",
              "dateAssigned": "example",
              "docs": [
                "example"
              ],
              "modifiedOn": "example",
              "order": 1,
              "status": "example",
              "typeName": "example"
            }
          ],
          "typeId": 1,
          "typeName": "example"
        },
        "checklistModifiedOn": "example",
        "checklistType": "example",
        "contractAcceptanceDate": "example",
        "createdByGuid": "example",
        "createdOn": "example",
        "deadDate": "example",
        "dealType": "example",
        "escrowClosingDate": "example",
        "escrowNumber": "example",
        "listingGuid": "example",
        "listingPrice": 1,
        "mlsNumber": "example",
        "officeGuid": "example",
        "property": {
          "areasqft": "example",
          "city": "example",
          "county": "example",
          "direction": "example",
          "realPropertySubtypeId": 1,
          "realPropertyTypeId": 1,
          "state": "example",
          "streetAddress": "example",
          "streetNumber": "example",
          "unit": "example",
          "yearBuilt": 1,
          "zip": "example"
        },
        "realPropertySubtype": "example",
        "realPropertyType": "example",
        "saleGuid": "example",
        "salePrice": 1,
        "sellers": [
          {
            "company": "example",
            "contactGuid": "example",
            "email": "example",
            "firstName": "example",
            "lastName": "example",
            "phoneNumber": "example"
          }
        ],
        "source": "example",
        "sourceId": 1,
        "stage": {
          "id": 1,
          "name": "example"
        },
        "status": "example",
        "statusId": 1
      }
    },
    "warnings": [
      "example"
    ]
  }
}
```

### List checklist types

List the checklist types for listings or for sales, with the IDs that Create listing and Create sale take.

**Inputs**

- For (`transaction_type`, text, required): Listing or sale checklists. One of: `Listing`, `Sale`.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "checklistTypes": [
        {
          "checklistTypeId": 1,
          "checklistTypeName": "example"
        }
      ]
    },
    "warnings": [
      "example"
    ]
  }
}
```

### List contacts

List the contacts in your SkySlope directory, optionally filtered by name, company, email or address.

**Inputs**

- First name (`first_name`, text): Only contacts with this first name.
- Last name (`last_name`, text): Only contacts with this last name.
- Company (`company`, text): Only contacts at this company.
- Email (`email`, text): Only contacts with this email address.
- City (`city`, text): Only contacts in this city.
- State (`state`, text): Only contacts in this state.
- ZIP code (`zip`, text): Only contacts in this ZIP code.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "contacts": [
        {
          "alternatePhone": "example",
          "city": "example",
          "company": "example",
          "email": "example",
          "fax": "example",
          "firstName": "example",
          "id": "example",
          "isCompany": true,
          "isShared": true,
          "lastName": "example",
          "phone": "example",
          "state": "example",
          "streetName": "example",
          "streetNumber": "example",
          "zip": "example"
        }
      ]
    },
    "warnings": [
      "example"
    ]
  }
}
```

### List listing documents

List a listing's documents with their names, pages, checklist items and links.

**Inputs**

- Listing (`listing_guid`, text, required): The listing. Pick one, or give its listingGuid from an earlier step.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "documents": [
        {
          "checklistItemId": 1,
          "checklistItemName": "example",
          "extension": "example",
          "fileName": "example",
          "fileSize": 1,
          "folder": "example",
          "id": "example",
          "modifiedDate": "example",
          "name": "example",
          "pages": 1,
          "uploadDate": "example",
          "url": "example"
        }
      ]
    },
    "warnings": [
      "example"
    ]
  }
}
```

### List listings

List the brokerage's listings, ten to a page, optionally within a date range or for one agent.

**Inputs**

- From date (`from_date`, date): Start of the date range SkySlope filters the list by.
- To date (`to_date`, date): End of the date range, the whole day included.
- Agent (`agent_guid`, text): Only files of this agent.
- Created by (`created_by_guid`, text): Only files this user created.
- Page (`page_number`, number): Which page of ten to return. Leave empty for the first. From 1 to 1000.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "listings": [
        {
          "checklistModifiedOn": "example",
          "expirationDate": "example",
          "listingGuid": "example",
          "listingPrice": 1,
          "mlsNumber": "example",
          "propertyAddress": "example",
          "realPropertySubtype": "example",
          "realPropertyType": "example",
          "reviewerGuid": "example",
          "status": "example"
        }
      ]
    },
    "warnings": [
      "example"
    ]
  }
}
```

### List sale documents

List a sale's documents with their names, pages, checklist items and links.

**Inputs**

- Sale (`sale_guid`, text, required): The sale. Pick one, or give its saleGuid from an earlier step.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "documents": [
        {
          "checklistItemId": 1,
          "checklistItemName": "example",
          "extension": "example",
          "fileName": "example",
          "fileSize": 1,
          "folder": "example",
          "id": "example",
          "modifiedDate": "example",
          "name": "example",
          "pages": 1,
          "uploadDate": "example",
          "url": "example"
        }
      ]
    },
    "warnings": [
      "example"
    ]
  }
}
```

### List sales

List the brokerage's sales, ten to a page, optionally within a date range or for one agent.

**Inputs**

- From date (`from_date`, date): Start of the date range SkySlope filters the list by.
- To date (`to_date`, date): End of the date range, the whole day included.
- Agent (`agent_guid`, text): Only files of this agent.
- Created by (`created_by_guid`, text): Only files this user created.
- Page (`page_number`, number): Which page of ten to return. Leave empty for the first. From 1 to 1000.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "sales": [
        {
          "actualClosingDate": "example",
          "checklistModifiedOn": "example",
          "escrowClosingDate": "example",
          "propertyAddress": "example",
          "realPropertySubtype": "example",
          "realPropertyType": "example",
          "reviewerGuid": "example",
          "saleGuid": "example",
          "status": "example"
        }
      ]
    },
    "warnings": [
      "example"
    ]
  }
}
```

### List users

List the brokerage's users (agents, brokers and staff), optionally only one office's or one email address.

**Inputs**

- Office (`office_guid`, text): Only users with access to this office.
- Email (`email`, text): Only the user with this email address.
- Include deactivated (`include_deactivated`, true/false): Include deactivated users too.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "users": [
        {
          "city": "example",
          "contactId": 1,
          "email": "example",
          "firstName": "example",
          "lastName": "example",
          "officeGuids": [
            "example"
          ],
          "phone": "example",
          "publicId": "example",
          "state": "example",
          "userGuid": "example",
          "userType": "example"
        }
      ]
    },
    "warnings": [
      "example"
    ]
  }
}
```

### Search listings and sales

Find listings and sales with full details by when they were created, changed or closed, their address, email, state, ZIP, status or stage. At least one filter is needed.

**Inputs**

- Find (`file_type`, text): Listings, sales or both. Leave empty for both. One of: `all` (Listings and sales), `listing` (Listings only), `sale` (Sales only). Default: `all`.
- Created after (`created_after`, date and time): Only files created after this time.
- Created before (`created_before`, date and time): Only files created before this time.
- Changed after (`modified_after`, date and time): Only files changed after this time.
- Changed before (`modified_before`, date and time): Only files changed before this time.
- Checklist changed after (`checklist_modified_after`, date and time): Only files whose checklist changed after this time.
- Closed after (`closed_after`, date and time): Only sales closed after this time (listings are left out).
- Closed before (`closed_before`, date and time): Only sales closed before this time (listings are left out).
- Statuses (`statuses`, list): Only files in these statuses. Leave empty for every status. One or more of: `active`, `pending`, `closed`, `incomplete`, `expired`, `canceledPending` (Cancellation pending), `canceledApproved` (Canceled), `archived`.
- Property address (`property_address`, text): Part of the property address, such as Sacramento.
- File email (`email`, text): The listing's or sale's email address.
- State (`state`, text): The property's state abbreviation, such as CA.
- ZIP code (`zip`, text): The property's ZIP code.
- Stage (`stage`, text): Only files in this stage, by its name.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "count": 1,
    "listings": [
      {
        "actualClosingDate": "example",
        "agentGuid": "example",
        "checklistType": "example",
        "contractAcceptedDate": "example",
        "createdOn": "example",
        "deadDate": "example",
        "email": "example",
        "escrowClosingDate": "example",
        "expirationDate": "example",
        "listingDate": "example",
        "listingGuid": "example",
        "listingPrice": 1,
        "mlsNumber": "example",
        "modifiedOn": "example",
        "objectType": "example",
        "officeGuid": "example",
        "property": {
          "areasqft": "example",
          "city": "example",
          "county": "example",
          "direction": "example",
          "realPropertySubtypeId": 1,
          "realPropertyTypeId": 1,
          "state": "example",
          "streetAddress": "example",
          "streetNumber": "example",
          "unit": "example",
          "yearBuilt": 1,
          "zip": "example"
        },
        "saleGuid": "example",
        "salePrice": 1,
        "stage": {
          "id": 1,
          "name": "example"
        },
        "status": "example"
      }
    ],
    "sales": [
      {
        "actualClosingDate": "example",
        "agentGuid": "example",
        "checklistType": "example",
        "contractAcceptedDate": "example",
        "createdOn": "example",
        "deadDate": "example",
        "email": "example",
        "escrowClosingDate": "example",
        "expirationDate": "example",
        "listingDate": "example",
        "listingGuid": "example",
        "listingPrice": 1,
        "mlsNumber": "example",
        "modifiedOn": "example",
        "objectType": "example",
        "officeGuid": "example",
        "property": {
          "areasqft": "example",
          "city": "example",
          "county": "example",
          "direction": "example",
          "realPropertySubtypeId": 1,
          "realPropertyTypeId": 1,
          "state": "example",
          "streetAddress": "example",
          "streetNumber": "example",
          "unit": "example",
          "yearBuilt": 1,
          "zip": "example"
        },
        "saleGuid": "example",
        "salePrice": 1,
        "stage": {
          "id": 1,
          "name": "example"
        },
        "status": "example"
      }
    ]
  }
}
```

### Update contact

Change a directory contact you created. Only the fields filled in change.

**Inputs**

- Contact (`contact_guid`, text, required): The directory contact. Pick one, or give its contactGuid from an earlier step.
- First name (`first_name`, text): A new first name.
- Last name (`last_name`, text): A new last name.
- Email (`email`, text): A new email address.
- Company (`company`, text): A new company.
- Street number (`street_number`, text): A new street number.
- Street name (`street_name`, text): A new street name.
- City (`city`, text): A new city.
- State (`state`, text): A new state.
- ZIP code (`zip`, text): A new zip code.
- Phone (`phone`, text): A new phone.
- Alternate phone (`alternate_phone`, text): A new alternate phone.
- Fax (`fax`, text): A new fax.
- Shared (`is_shared`, true/false): Share the contact with everyone in the brokerage (brokers only).
- Company contact (`is_company`, true/false): Whether the contact is a company rather than a person.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "contact": {
        "alternatePhone": "example",
        "city": "example",
        "company": "example",
        "email": "example",
        "fax": "example",
        "firstName": "example",
        "id": "example",
        "isCompany": true,
        "isShared": true,
        "lastName": "example",
        "phone": "example",
        "state": "example",
        "streetName": "example",
        "streetNumber": "example",
        "zip": "example"
      }
    },
    "warnings": [
      "example"
    ]
  }
}
```

### Update listing

Change a listing's price, dates, MLS number, property type or source. Only the fields filled in change.

**Inputs**

- Listing (`listing_guid`, text, required): The listing. Pick one, or give its listingGuid from an earlier step.
- List price (`listing_price`, number): A new list price, in dollars. At least 0.
- Expiration date (`expiration_date`, date): A new expiration date.
- Listing date (`listing_date`, date): A new listing date.
- MLS number (`mls_number`, text): The MLS number.
- Representation (`representation_type`, text): Which side the agent represents. One of: `Listing`, `Lease Landlord` (Lease (landlord)).
- Co-listing agent (`co_listing_agent_guid`, text): A co-listing agent.
- Property type (`property_type_id`, number): The kind of property.
- Property subtype (`property_subtype_id`, number): The property subtype.
- Source ID (`source_id`, number): Where the business came from, as the source ID SkySlope gives it. Needed only when your brokerage requires a source.
- Other source (`other_source`, text): The source in words, when the source chosen is Other.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {},
    "warnings": [
      "example"
    ]
  }
}
```

### Update listing stage

Move a listing to one of your brokerage's stages.

**Inputs**

- Listing (`listing_guid`, text, required): The listing. Pick one, or give its listingGuid from an earlier step.
- Stage (`stage_id`, number, required): The stage to move it to.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "listingGuid": "example",
      "stageId": 1
    },
    "warnings": [
      "example"
    ]
  }
}
```

### Update sale

Change a sale's prices, dates, escrow number, representation or property type. Only the fields filled in change; to close it, use Close sale.

**Inputs**

- Sale (`sale_guid`, text, required): The sale. Pick one, or give its saleGuid from an earlier step.
- Sale price (`sale_price`, number): A new sale price, in dollars. At least 0.
- List price (`listing_price`, number): A new list price, in dollars. At least 0.
- Contract accepted (`contract_acceptance_date`, date): A new contract acceptance date.
- Escrow closing date (`escrow_closing_date`, date): A new escrow closing date.
- Escrow number (`escrow_number`, text): A new escrow or closing number.
- MLS number (`mls_number`, text): The MLS number.
- Representation (`deal_type`, text): Which side the agent represents. One of: `Purchase` (Purchase (buyer)), `Listing`, `Both Purchase & Listing` (Both sides (buyer and seller)), `Lease Tenant` (Lease (tenant)), `Lease Landlord` (Lease (landlord)), `Both Lease Tenant & Landlord` (Lease (tenant and landlord)), `Referral`, `BPO` (Broker price opinion), `Other`.
- Property type (`property_type_id`, number): The kind of property.
- Property subtype (`property_subtype_id`, number): The property subtype.
- Source ID (`source_id`, number): Where the business came from, as the source ID SkySlope gives it. Needed only when your brokerage requires a source.
- Other source (`other_source`, text): The source in words, when the source chosen is Other.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {},
    "warnings": [
      "example"
    ]
  }
}
```

### Update sale stage

Move a sale to one of your brokerage's stages.

**Inputs**

- Sale (`sale_guid`, text, required): The sale. Pick one, or give its saleGuid from an earlier step.
- Stage (`stage_id`, number, required): The stage to move it to.

**Outputs**

- `data` (object): The response from SkySlope.

**Example output**

```json
{
  "data": {
    "links": [
      {
        "href": "example",
        "method": "example",
        "rel": "example"
      }
    ],
    "value": {
      "saleGuid": "example",
      "stageId": 1
    },
    "warnings": [
      "example"
    ]
  }
}
```
