POST

Projects.Edit

Alias of Projects.Update — update a staff project (dashboard save_project update path).

Permissions

  • User must be logged in with a valid bearer token.
  • The user must be from the same company domain as the request Host (call the API on that account subdomain or allowed custom domain). A token from another company returns success=0, error user_not_in_company.
  • Returned or changed records are limited by the user permissions, team access, folder access, and account settings.

Action

  • Updates the requested Projects record after validating permissions and input fields.

Push Service

No push is sent because this function only reads data or returns helper information.

Automation

No automation is run for this function.

Special Instructions

  • On a company subdomain (e.g. https://{user_domain}.bull36.com) the user must match that Host — Login and protected APIs reject another company with success=0, error user_not_in_company. On a main brand host (bull36.com, biz1.co.il, mastrocrm.com, …) the company domain gate is skipped.
  • Requires project_id of an org project (created_by = owner).
  • Same body fields as Projects.Add plus project_id.
  • Does not change user_id / created_by (dashboard behavior).

Required Parameters

NameTypeSampleExplanation
project_id
post
int900Project id. Aliases: id, data_id, update_id.
project_name
post
stringWebsite redesign v2Project name. Alias: name.

Optional Parameters

NameTypeSampleWhat it gives
client_id
post
int12614595Customer id. Aliases: customer_id, cust_id.
organizations_user
post
mixed[47,52]Team member ids. Aliases: member, member_ids, team_members.
default_user
post
mixed[47]Default assignee user ids.
credentials
post
stringftp loginCredentials text.
note
post
stringUpdated notesProject note.
tags
post
mixed1,2Tag ids.
private_project
post
int01 = private project.
use_as_template
post
int0Template flag.
allow_add_mission
post
int0Allow add mission flag.
show_hide_tag
post
int1Show/hide tags.
mission_dependency
post
int0Mission dependency flag.
done
post
int0Done flag.
custom_fields
post
mixed{"project-priority":"high"}Custom fields object or project-* keys.

Authentication

Send the bearer token returned by Login in the request header. The user must be from the same company domain as this Host — a token from another company is rejected (user_not_in_company).

Authorization: Bearer YOUR TOKEN

Sample Request

{
    "url": "\/app\/Projects.Edit",
    "method": "POST",
    "headers": {
        "Authorization": "Bearer YOUR TOKEN"
    },
    "body": {
        "project_id": "900",
        "project_name": "Website redesign v2",
        "client_id": "12614595"
    },
    "url_user": "https:\/\/{user}.bull36.com\/app\/Projects.Edit",
    "url_domain": "https:\/\/{domain}\/app\/Projects.Edit"
}

Endpoint

POST /app/Projects.Edit
POST https://{user}.bull36.com/app/Projects.Edit
POST https://{domain}/app/Projects.Edit

Sample Output

{
    "success": 1,
    "id": 900,
    "project_id": 900,
    "message": "Your Projects Details Update"
}

JavaScript Example

const token = 'YOUR TOKEN';
const body = new URLSearchParams({ project_id: '900', project_name: 'Website redesign v2' });
const res = await fetch('/app/Projects.Edit', { method: 'POST', headers: { Authorization: 'Bearer ' + token }, body });
console.log(await res.json());

Error Example

{
    "success": 0,
    "error": "not_found",
    "message": "Project not found"
}