# Edit an invitation on TikTok (/ms/growseller/docs/api-reference/target-collaboration/patch-invitations-invitation_id)

PATCH /invitations/{invitation_id}

```json
{
  "tags": [
    "Target Collaboration"
  ],
  "summary": "Edit an invitation on TikTok",
  "operationId": "patch-invitations-invitation_id",
  "parameters": [
    {
      "name": "invitation_id",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string",
        "title": "Invitation Id"
      }
    },
    {
      "name": "shop_id",
      "in": "query",
      "required": true,
      "schema": {
        "type": "string",
        "title": "Shop Id"
      }
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/SubmittedBody"
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "success": {
                "type": "boolean"
              },
              "data": {
                "type": "object"
              },
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "timestamp": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "A rate limit is reached; wait Retry-After seconds",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "success": {
                "type": "boolean"
              },
              "error": {
                "type": "string"
              },
              "error_code": {
                "type": "string"
              },
              "details": {
                "type": [
                  "object",
                  "null"
                ]
              },
              "timestamp": {
                "type": "string"
              }
            },
            "example": {
              "success": false,
              "error": "The API shows at most 5 pages of 100 rows for one search. Narrow it with filters or search.",
              "error_code": "PAGE_LIMIT",
              "details": {
                "rows": 100,
                "pages": 5
              },
              "timestamp": "2026-11-21T09:00:00Z"
            }
          }
        }
      }
    },
    "4XX": {
      "description": "An error (see error_code)",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "success": {
                "type": "boolean"
              },
              "error": {
                "type": "string"
              },
              "error_code": {
                "type": "string"
              },
              "details": {
                "type": [
                  "object",
                  "null"
                ]
              },
              "timestamp": {
                "type": "string"
              }
            },
            "example": {
              "success": false,
              "error": "The API shows at most 5 pages of 100 rows for one search. Narrow it with filters or search.",
              "error_code": "PAGE_LIMIT",
              "details": {
                "rows": 100,
                "pages": 5
              },
              "timestamp": "2026-11-21T09:00:00Z"
            }
          }
        }
      }
    }
  },
  "x-mcp-tool": "target_collaboration_write",
  "x-mcp-action": "update_invitation"
}
```