Deals

Delete deal stage

Changed on

Removes an open stage. Its deals move to move_deals_to, which is required while the stage has deals. If it was the quote_sent stage, that flag passes to the destination, or to the last remaining stage. Answers 400 with code invalid_removal when move_deals_to is missing or is the stage itself, or when it is the last open stage. won and lost answer 404.

delete/deal_stages/{key}

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

key, string required

The stage's key (e.g. qualified), its id in GET /deal_stages. won and lost cannot be changed or removed.

Query parameters

move_deals_to, string

Stage key to move this stage's deals to: another open stage, won or lost. Required while the stage has deals.

Response

Stage deleted

DeleteResponse required
id, string required
object, string required
deleted, true required

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    3 more changes in this revision