Documentation Index
Fetch the complete documentation index at: https://docs.hellocobi.com/llms.txt
Use this file to discover all available pages before exploring further.
Important: The branch model has a dependency on the shop model. The
shop_id field must reference an existing shop in the system. It’s
recommended to upload shop data before uploading branch data.Schema
Field Descriptions
Required Fields
| Field | Type | Format | Description |
|---|---|---|---|
branch_id | string | UUID | Unique identifier for the branch |
shop_id | string | UUID | ID of the shop this branch belongs to (must reference a valid shop) |
name | string | - | Name of the branch |
region | string | - | Geographic region (2-letter country code, e.g., “CA” for Canada) |
Optional Fields
| Field | Type | Format | Description |
|---|---|---|---|
latitude | number | - | Latitude coordinate of the branch location |
longitude | number | - | Longitude coordinate of the branch location |
created | string | date-time | Timestamp when the record was created |
updated | string | date-time | Timestamp when the record was last updated |
is_deleted | boolean | - | Flag indicating if the record is marked as deleted |
Example
Best Practices
- UUID Format: Use valid UUID v4 format for branch_id and shop_id
- Data Dependencies: Ensure shop_id references an existing shop
- Region Codes: Use ISO 3166-1 alpha-2 country codes (e.g., “CA” for Canada, “US” for United States)
- Coordinates: When providing latitude and longitude, ensure they are valid geographic coordinates
- Data Consistency: Ensure consistent data across all branch records