Skip to content
BolderBolder Developers
Esc
↑↓navigate↵open⌘Jpreview

Create a company

Needs customers.write. The name is unique per seller, and so are the tax id (validated as a Chilean RUT) and the email domain. Unknown fields are rejected with 422.

POST/shops/{shop_id}/companies
Authorization
AuthorizationBearer token (JWT) · headerrequired
Path parameters
shop_idintegerrequired
Request body
requiredapplication/json
namestringrequired
id_numberstring

Tax id (RUT), stored without dots and dash.

activity_codeinteger
email_domainstring

New customers with this email domain join the company.

Responses
201

The created company

403

Access denied

422

Invalid or duplicate values, or unknown fields

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'https://api.onbolder.com/v2/shops/1/companies' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "id_number": "string",
  "activity_code": 0,
  "email_domain": "string"
}'
Response
The created company

Was this page helpful?