Important: The transaction model has a dependency on the shop model. The
shop_id field must reference an existing shop. It’s recommended to upload
shop data before uploading transactions.Schema
Field Descriptions
Required Fields
Optional Fields
Example
Best Practices
- UUID Format: Use valid UUID v4 format for all ID fields
- Numeric Values: Use decimal numbers for monetary values
- Region Codes: Use ISO 3166-1 alpha-2 country codes (e.g., “CA” for Canada, “US” for United States)
- Data Consistency: Ensure consistent data across all transaction records
- Discount Information: Provide complete discount details when available
- Data Dependencies: Ensure shop_id references an existing shop