Light mode version of Land Your Home
V1Stages

Put Stage Dependency

PUT
/v1/stages/{stageId}/dependency

Sets what the stage depends on: another stage of the same transaction, or null for nothing. A stage depends on at most one other and dependencies can't loop (400 invalid_request). This executed request clears the first stage's dependency (it has none) and returns it.

Required variables:

  • baseUrl
  • apiKey
  • userToken
  • newStageId (set by transactions/Post Transaction Stage)

Authorization

bearerAuth userTokenAuth
AuthorizationBearer <token>

Partner API key (lyh_...): identifies the calling partner, its scopes and rate limit.

In: header

X-User-Token<token>

The user's OAuth 2.1 access token, issued by Land Your Home's OAuth server to this partner's OAuth client. Requests run as this user.

In: header

Path Parameters

stageId*string

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/stages/string/dependency"
{  "data": {    "id": "fc5cfa3d-db26-40e2-a76f-d911c06955c4",    "transactionId": "9a5424e0-2413-4890-a5ca-6e90f4604ae9",    "title": "Searches Ordered",    "description": "Local authority and environmental searches ordered",    "progress": "Not Started",    "progressNote": null,    "expectedUpdate": null,    "expectedCompletion": null,    "assignedToYou": true,    "assigned": true,    "dependsOnStageId": null,    "createdAt": "2026-10-02T08:30:34.119354+00:00",    "updatedAt": "2026-10-02T08:30:34.119354+00:00"  }}