Companies
Add services to a company
Changed onOrders services for a company that already exists. Only EinCreation can be added for now. All or nothing: if any service cannot be added, none is. An EIN added before formation completes starts when formation completes; one added after starts right away. Idempotent on the Idempotency-Key header: a successful call is replayed for the same key. If the call fails, the key is released; fix the request and retry with the same key.
post/v1/partner/companies/{companyId}/services
Request
- Base URLhttps://api.test.doola.com
- AuthAPI key in header Authorization
- TypeScripthttps://skmtc.dev/doola/apis/doola-partner-api/docs/v1/partner/companies/:companyId/services/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
companyIdstring required
doola company ID (KSUID).
Headers
Idempotency-Keystring required
Unique key that makes the call safe to retry. Reuse the same value to retry.
Request body
Example request
{
"services": [
{
"service": "EinCreation",
"variant": "Expedite"
}
]
}Response
Services added. Returns every service on the company. The EIN's status is the one it was added with; read the company for its current status.
Example response
{
"doolaCompanyId": "3D2Cdx5oRRidDXYmTu09O1bHjeC",
"services": [
{
"name": "Registered Agent"
}
]
}Changes
- info
endpoint added
- info