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}/companiesAuthorization
AuthorizationBearer token (JWT) · headerrequiredPath parameters
shop_idintegerrequiredRequest body
requiredapplication/jsonnamestringrequiredid_numberstringTax id (RUT), stored without dots and dash.
activity_codeintegeremail_domainstringNew customers with this email domain join the company.
Responses
201
The created company
403
Access denied
422
Invalid or duplicate values, or unknown fields