CustomerReadyForReview
Type: schema
Description
List of products and orders for which customer can write review.
TypeScript Definition
typescript
CustomerReadyForReview: {{
product_id?: string;
product_name?: $Read<string>;
product_image_url?: $Read<string>;
/** Format: double */
selling_price?: $Read<number>;
/** Format: double */
listing_price?: $Read<number>;
order_number?: $Read<string>;
variant_id?: $Read<string | null>;
variant_name?: $Read<string | null>;
/** @description Seller ID. Relevant for marketplace stores; `null` otherwise. */
seller_id?: $Read<string | null>;
/** @description Seller detail. Relevant for marketplace stores; `null` otherwise. */
seller_detail?: $Read<components["schemas"]["SellerInfo"] | null>;
};
/**
* CustomerReview
* @description List of reviews posted by the user.
*/
}Component References
| Reference | Resolves To |
|---|---|
components["schemas"]["SellerInfo"] | SellerInfo |
OpenAPI Schema
json
{
"title": "CustomerReadyForReview",
"description": "List of products and orders for which customer can write review.",
"type": "object",
"externalDocs": {
"url": "https://llm-docs.commercengine.io/storefront/schemas/CustomerReadyForReview",
"description": "API reference for the CustomerReadyForReview schema"
},
"properties": {
"product_id": {
"type": "string"
},
"product_name": {
"type": "string",
"readOnly": true
},
"product_image_url": {
"type": "string",
"readOnly": true
},
"selling_price": {
"type": "number",
"format": "double",
"readOnly": true
},
"listing_price": {
"type": "number",
"format": "double",
"readOnly": true
},
"order_number": {
"type": "string",
"readOnly": true
},
"variant_id": {
"type": [
"string",
"null"
],
"readOnly": true
},
"variant_name": {
"type": [
"string",
"null"
],
"readOnly": true
},
"seller_id": {
"description": "Seller ID. Relevant for marketplace stores; `null` otherwise.",
"type": [
"string",
"null"
],
"readOnly": true
},
"seller_detail": {
"description": "Seller detail. Relevant for marketplace stores; `null` otherwise.",
"oneOf": [
{
"$ref": "#/components/schemas/SellerInfo"
},
{
"type": "null"
}
],
"readOnly": true
}
}
}Auto-generated from OpenAPI spec and TypeScript definitions