Skip to content

Latest commit

 

History

History
41 lines (36 loc) · 4.97 KB

ProductDto.md

File metadata and controls

41 lines (36 loc) · 4.97 KB

ProductDto

Properties

Name Type Description Notes
name Option<String> Relative path to product in Google Retail system. [optional]
id Option<String> Product id in Google Retail system. [optional]
r#type Option<String> Product type. Possible values: PRIMARY, VARIANT. If the product has variant list and the request specifies the variantIds, requested variants will be the first in the response. [optional]
primary_product_id Option<String> Product ID that is primary in relation to the current one [optional]
collection_member_ids Option<Vec> The of the collection members when product type is COLLECTION [optional]
gtin Option<String> Global Trade Item Number can be used by a company to uniquely identify all of its trade items.GTIN defines trade items as products or services that are priced, ordered or invoiced at any point in the supply chain. [optional]
categories Option<Vec> Product categories (array). [optional]
title Option<String> Product title. [optional]
brands Option<Vec> Product brands. [optional]
description Option<String> Product description. [optional]
language_code Option<String> Language of the title/description and other string attributes. Use language tags defined by [BCP 47][https://www.rfc-editor.org/rfc/bcp/bcp47.txt]. For product search this field is in use. It defaults to 'en-US' if unset. [optional]
attributes Option<::std::collections::HashMap<String, crate::models::ProductCustomAttribute>> Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. Max entries count: 200. Length limit of 128 characters. [optional]
tags Option<Vec> Product tags (array). [optional]
price_info Option<crate::models::ProductDtoPriceInfo> [optional]
rating Option<crate::models::ProductDtoRating> [optional]
available_time Option<crate::models::ProductDtoAvailableTime> [optional]
availability Option<String> The online availability of the product. Default to IN_STOCK [optional]
available_quantity Option<i32> The available quantity of the item. [optional]
fulfillment_infos Option<Veccrate::models::FulfillmentInfo> Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods. [optional]
uri Option<String> Link to the appropriate product. [optional]
images Option<Veccrate::models::Image> Product Image. [optional]
audience Option<crate::models::ProductDtoAudience> [optional]
color_info Option<crate::models::ProductDtoColorInfo> [optional]
sizes Option<Vec> Product sizes (array). [optional]
materials Option<Vec> The material of the product. For example, 'leather', 'wooden'. A maximum of 20 values are allowed. Length limit of 128 characters [optional]
patterns Option<Vec> The pattern or graphic print of the product. For example, 'striped', 'polka dot', 'paisley'. A maximum of 20 values are allowed per product. Length limit of 128 characters. [optional]
conditions Option<Vec> The condition of the product. Strongly encouraged to use the standardvalues: 'new', 'refurbished', 'used'. A maximum of 5 values are allowed per product. Length limit of 128 characters. [optional]
publish_time Option<crate::models::ProductDtoPublishTime> [optional]
retrievable_fields Option<crate::models::ProductDtoRetrievableFields> [optional]
promotions Option<Veccrate::models::Promotion> The promotions applied to the product. A maximum of 10 values are allowed per product. [optional]
variants Option<Veccrate::models::ProductDto> If the product has variant list and the request specifies the variantIds, requested variants will be the first in the response. [optional]

[Back to Model list] [Back to API list] [Back to README]