CustomerReview
Type: schema
Description
List of reviews posted by the user.
TypeScript Definition
typescript
CustomerReview: {{
id?: $Read<string>;
product_id: string;
product_name?: $Read<string>;
product_image_url?: $Read<string>;
status?: $Read<string>;
rating: number;
review_text: string;
/** Format: date-time */
review_date?: string;
average_rating?: $Read<number>;
tags?: string[];
images?: $Read<{
blur_url?: $Read<string>;
thumbnail_url?: $Read<string>;
standard_url?: $Read<string>;
}[]>;
videos?: $Read<{
cover_image_url?: $Read<string>;
video_preview_url?: $Read<string>;
" playback"?: {
hls?: string;
dash?: string;
};
duration?: $Read<string>;
size?: $Read<string>;
}[]>;
/** Format: double */
listing_price?: $Read<number>;
/** Format: double */
selling_price?: $Read<number>;
order_number: $Read<string>;
/** Format: date-time */
created_at?: $Read<string>;
/** Format: date-time */
modified_at?: $Read<string>;
};
/** CustomSlabsBasedOnAmount */
}OpenAPI Schema
json
{
"title": "CustomerReview",
"description": "List of reviews posted by the user.",
"type": "object",
"externalDocs": {
"url": "https://llm-docs.commercengine.io/storefront/schemas/CustomerReview",
"description": "API reference for the CustomerReview schema"
},
"required": [
"product_id",
"rating",
"review_text",
"order_number"
],
"properties": {
"id": {
"type": "string",
"readOnly": true
},
"product_id": {
"type": "string"
},
"product_name": {
"type": "string",
"readOnly": true
},
"product_image_url": {
"type": "string",
"readOnly": true
},
"status": {
"type": "string",
"readOnly": true
},
"rating": {
"type": "number"
},
"review_text": {
"type": "string"
},
"review_date": {
"type": "string",
"format": "date-time"
},
"average_rating": {
"type": "number",
"readOnly": true
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"blur_url": {
"type": "string",
"readOnly": true
},
"thumbnail_url": {
"type": "string",
"readOnly": true
},
"standard_url": {
"type": "string",
"readOnly": true
}
}
},
"readOnly": true
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"cover_image_url": {
"type": "string",
"readOnly": true
},
"video_preview_url": {
"type": "string",
"readOnly": true
},
" playback": {
"type": "object",
"properties": {
"hls": {
"type": "string"
},
"dash": {
"type": "string"
}
}
},
"duration": {
"type": "string",
"readOnly": true
},
"size": {
"type": "string",
"readOnly": true
}
}
},
"readOnly": true
},
"listing_price": {
"type": "number",
"format": "double",
"readOnly": true
},
"selling_price": {
"type": "number",
"format": "double",
"readOnly": true
},
"order_number": {
"type": "string",
"readOnly": true
},
"created_at": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"modified_at": {
"type": "string",
"format": "date-time",
"readOnly": true
}
}
}Auto-generated from OpenAPI spec and TypeScript definitions