# Update partnership details

`provider_relationships.update`

Update agreed partnership terms or this workspace's private standing, labels, and standing note. This does not change lifecycle state or commission ledger facts. Reuse client_request_id only for an identical retry.

[Partnerships guide](https://docs.levr.ai/mcp/resources/provider_relationships.md)

Availability depends on live discovery and your access to the record. Do not infer MCP calls from REST paths.

Operation: write. Required OAuth scopes: mcp.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "changes": {
      "additionalProperties": false,
      "minProperties": 1,
      "properties": {
        "labels": {
          "items": {
            "maxLength": 64,
            "type": "string"
          },
          "maxItems": 50,
          "type": "array"
        },
        "partnership_terms": {
          "maxLength": 50000,
          "type": "string"
        },
        "standing": {
          "enum": [
            "preferred",
            "standard",
            "watch",
            "do_not_prioritize"
          ],
          "type": "string"
        },
        "standing_note": {
          "maxLength": 10000,
          "type": "string"
        }
      },
      "type": "object"
    },
    "client_request_id": {
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "provider_slug": {
      "description": "Stable public identifier for the referenced resource.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "relationship_id": {
      "description": "Copy relationship_id from outbound_channels.list/get or inbound_channels.list/get; not a channel, invitation or request ID. Prefix: prel_.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "provider_slug",
    "relationship_id",
    "changes",
    "client_request_id"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "not": {
        "required": [
          "error"
        ]
      },
      "properties": {
        "ok": {
          "const": true
        }
      },
      "required": [
        "data"
      ]
    },
    {
      "not": {
        "required": [
          "data"
        ]
      },
      "properties": {
        "ok": {
          "const": false
        }
      },
      "required": [
        "error"
      ]
    }
  ],
  "properties": {
    "data": {
      "additionalProperties": false,
      "properties": {
        "relationship": {
          "additionalProperties": false,
          "properties": {
            "frontend_link": {
              "type": "string"
            },
            "id": {
              "description": "Stable public identifier for the referenced resource.",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            "labels": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "partnership_terms": {
              "type": "string"
            },
            "receiver": {
              "additionalProperties": false,
              "properties": {
                "name": {
                  "type": "string"
                },
                "provider_slug": {
                  "description": "Stable public identifier for the referenced resource.",
                  "maxLength": 255,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "provider_slug",
                "name"
              ],
              "type": "object"
            },
            "sender": {
              "additionalProperties": false,
              "properties": {
                "name": {
                  "type": "string"
                },
                "provider_slug": {
                  "description": "Stable public identifier for the referenced resource.",
                  "maxLength": 255,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "provider_slug",
                "name"
              ],
              "type": "object"
            },
            "standing": {
              "type": "string"
            },
            "standing_note": {
              "type": "string"
            },
            "status": {
              "type": "string"
            },
            "updated_at": {
              "format": "date-time",
              "type": "string"
            }
          },
          "required": [
            "id",
            "status",
            "sender",
            "receiver",
            "partnership_terms",
            "standing",
            "labels",
            "standing_note",
            "frontend_link",
            "updated_at"
          ],
          "type": "object"
        }
      },
      "required": [
        "relationship"
      ],
      "type": "object"
    },
    "error": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "details": {
          "additionalProperties": true,
          "description": "Optional bounded, agent-safe correction or recovery facts.",
          "type": "object"
        },
        "message": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    },
    "meta": {
      "additionalProperties": false,
      "properties": {
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "request_id"
      ],
      "type": "object"
    },
    "ok": {
      "description": "Whether the tool completed successfully.",
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "meta"
  ],
  "type": "object"
}
```

Check the result, then read the affected record to confirm your change.
