Important: The offer 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 offers.Schema
Field Descriptions
Required Fields
Optional Fields
Example
Best Practices
- UUID Format: Use valid UUID v4 format for all ID fields
- Date/Time Format: Use ISO 8601 format for date-time fields
- Region Codes: Use ISO 3166-1 alpha-2 country codes (e.g., “CA” for Canada, “US” for United States)
- Offer Types: Use consistent offer types across your system (e.g., “percentage”, “fixed”)
- Value Format: Use decimal numbers for monetary values
- List Format: Use comma-separated values for allowed_branches and allowed_days
- Data Dependencies: Ensure shop_id references an existing shop