Withdraw an open request for a tailored plan
const url = 'https://api.emite.cr/v1/billing/plan-requests/example/withdraw';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”object
Identifier of the request — the :id of POST /billing/plan-requests/:id/withdraw.
open while the team has not answered; quoted once a quote was sent for it; declined by the team; withdrawn by the company.
Documents per month the company said it expects to emit; null if not given.
People the company said will use the account; null if not given.
Where the team should write, as sent. null when none was given: the team then writes to the person who made the request.
The phone number to call, as sent; null if not given.
What the company needs, in its own words; null if not given.
The quote that answered it, once one was sent (GET /billing/quotes).
When the company filed the request.
When it stopped being open: answered, declined or withdrawn.
Example
{ "status": "open"}