Skip to content

Withdraw an open request for a tailored plan

POST
/v1/billing/plan-requests/{id}/withdraw
curl --request POST \
--url https://api.emite.cr/v1/billing/plan-requests/example/withdraw \
--header 'Authorization: Bearer <token>'

Only while it is open: an answered request is 409 PLAN_REQUEST_NOT_OPEN.

id
required
string
Media typeapplication/json
object
id
required

Identifier of the request — the :id of POST /billing/plan-requests/:id/withdraw.

string format: uuid
status
required

open while the team has not answered; quoted once a quote was sent for it; declined by the team; withdrawn by the company.

string
Allowed values: open quoted declined withdrawn
expectedMonthlyDocs
required

Documents per month the company said it expects to emit; null if not given.

number
nullable
expectedMembers
required

People the company said will use the account; null if not given.

number
nullable
contactEmail
required

Where the team should write, as sent. null when none was given: the team then writes to the person who made the request.

string
nullable
contactPhone
required

The phone number to call, as sent; null if not given.

string
nullable
notes
required

What the company needs, in its own words; null if not given.

string
nullable
quoteId
required

The quote that answered it, once one was sent (GET /billing/quotes).

string format: uuid
nullable
createdAt
required

When the company filed the request.

string format: date-time
decidedAt
required

When it stopped being open: answered, declined or withdrawn.

string format: date-time
nullable
Example
{
"status": "open"
}