# Business

Register and manage business accounts on the Cekat platform.

## Register Business

> Register a new business account and receive a Cekat API key. This is the first step for partners onboarding new clients onto the Cekat platform.

```json
{"openapi":"3.0.3","info":{"title":"Cekat Open API","version":"1.0.0"},"tags":[{"name":"Business","description":"Register and manage business accounts on the Cekat platform."}],"servers":[{"url":"https://api.cekat.ai","description":"Production server"},{"url":"http://localhost:3000","description":"Local development server"}],"security":[{"PartnerApiKey":[]}],"components":{"securitySchemes":{"PartnerApiKey":{"type":"apiKey","in":"header","name":"x-partner-api-key","description":"Partner-level API key. Required only for the business registration endpoint."}}},"paths":{"/register":{"post":{"summary":"Register Business","tags":["Business"],"operationId":"Business_Register_Business","description":"Register a new business account and receive a Cekat API key. This is the first step for partners onboarding new clients onto the Cekat platform.","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"business_name":{"description":"The display name of your business on the Cekat platform.","type":"string"},"email":{"description":"Business email address used for login and notifications.","type":"string"},"phone_number":{"description":"Business phone number in international format, e.g. `6285695209520`.","type":"string"},"password":{"description":"Password for the business account (min. 6 characters).","type":"string"},"referral_code":{"description":"Partner referral code, e.g. `orderonline`. Required if registering via a partner.","type":"string"},"user_id":{"description":"External user ID from your platform (e.g. OrderOnline user ID).","type":"string"},"personal_access_key":{"description":"Personal access key from your external platform, used for partner authentication.","type":"string"}}}}}},"responses":{"201":{"description":"Register Business","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"status_code":{"type":"integer"},"cekat_api_key":{"type":"string"}}}}}},"400":{"description":"Bad request — check required fields and formats."},"401":{"description":"Unauthorized — API key is missing or invalid."},"404":{"description":"Resource not found."}}}}}}
```
