Build with Estii

Move a deal's dates

POST
/v1/deal/{id}/reschedule

Requires read_write scope.

Accepts a signed relative offset (+2w, -1m, +10d) or an absolute YYYY-MM-DD date, and resolves either to a Monday. A deal past draft is snapshotted first, and phases pinned to a fixed date move by the same offset. A shift landing on the deal's current start succeeds without writing.

Authorization

bearerAuth
AuthorizationBearer <token>

A personal access token (estp_) or space API key (ests_).

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/deal/string/reschedule" \  -H "Content-Type: application/json" \  -d '{    "space": "string",    "shift": "string"  }'
{  "deal": {    "id": "string",    "name": "string",    "status": "string",    "updated_at": 0,    "space_id": "string",    "currency": "string",    "price": 0,    "margin": 0,    "probability": 0,    "archived": true,    "created_at": 0,    "owner_email": "string",    "description": "string",    "target_price": 0,    "target_margin": 0,    "start": 0,    "due": 0,    "closed_reason": "string",    "pending_at": 0,    "requested_by_email": "string",    "requested_to_email": "string",    "account": "string"  },  "start": 0,  "previous_start": 0,  "version_created": true,  "phases_moved": [    {      "id": "string",      "name": "string"    }  ],  "changed": true}
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}