# End, clean, extend, change the products of or merge invitations, in the background (/ms/growseller/docs/api-reference/target-collaboration/post-invitations-bulk)

One job for the action (COLLAB_END / CLEAN / EXTEND / PRODUCTS / MERGE) over its
invitations; it works from our table as the last Sync left it.

POST /invitations/bulk

```json
{
  "tags": [
    "Target Collaboration"
  ],
  "summary": "End, clean, extend, change the products of or merge invitations, in the background",
  "description": "One job for the action (COLLAB_END / CLEAN / EXTEND / PRODUCTS / MERGE) over its\ninvitations; it works from our table as the last Sync left it.",
  "operationId": "post-invitations-bulk",
  "parameters": [
    {
      "name": "shop_id",
      "in": "query",
      "required": true,
      "schema": {
        "type": "string",
        "title": "Shop Id"
      }
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/app__invitations__routes__BulkBody"
        }
      }
    }
  },
  "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": "change_invitations"
}
```