- 4 Minutes to read
- Print
- DarkLight
Get information about an item by id
- 4 Minutes to read
- Print
- DarkLight
Fetches information about a garment. The garment format is implicitly set to detailed.
The JWT for the user
An identifier for the source item. The interpretation of this item is controlled by the identifier_type
parameter
How dressipi should interpret the item id. Not all of these may be available, depending on the information in the product feed and how it is processed. Contact dressipi for examples of these types for your specific integration.
In general
- product-code is the style + color identifier from the feed
- sku is style without color or size (can be supplemented with an extra parameter specifying the color + size variant)
If true, pretty print Json output. This increases response size and should usually be off in production environments
Controls whether dressipi garment ids (raw_garment_id) are included in response
A list of garment attributes to fetch. Only supported for garment_format=document or detailed. Custom fields may be available - contact dressipi for details
A locale parameter describing what stock information to use and what language to return text in (if applicable). This parameter will only function if the corresponding information is in the product feed & processed accordingly. If stock local and UI language are not the same, specify the language parameter in addition to this one.
Allows you to specify a locale used for feed attributes such as product name that should be localized using a different locale to price & stock information. This parameter will only function if the corresponding information is in the product feed & processed accordingly.
Information about the garment
Fetches information about a garment. The garment format is implicitly set to detailed.
The garment_id
. The type of identifier used depends on the requests' garment_format
The internal dressipi id for the garment. This may be omitted depending on garment_format
An alternative identifier to identify the product, hidden when not provided in feed
Whether garment has extended verdicts. Only presents for verdicts/dislikes, also not present if format=retailer_ids
Whether outfits can be generated. not present if format=retailer_ids
Information about the recommended size
Information about size immediately bigger than the recommended one (if available)
Information about size immediately smaller than the recommended one (if available)
If whys have been requested & if the profile has shape data, a list of human readable reasons for recommendation
If verdicts have been requested, the approval status of the garment (true=like, false=dislike, nil=no verdict given)
If owned has been requested, whether the use has previously purchased the product
A numerical score for the garment (out of 10)
A human readable interpretation of the score
If features have been requested, a list of whitelisted feature objects
The id for the feature
The human readable name for the feature
The feature category of the feature
The category id for the product.
The garment department (female male girls boys).
If eans have been requested, the array of eans present in the product feed.
The category name for the product.
Array of the product occasions. Only present if format=detailed
The retailer name for the product. Only present if format=detailed
The array of image_urls present in the product feed. Only present if format=detailed
The brand name for the product. Only present if format=detailed
The product name. Only present if format=detailed
The current price, as it appears in the feed. Only present if format=detailed
The previous price, as it appears in the feed. Only present if format=detailed
The URL for the PDP for the garment. Only present if format=detailed
The status of the garment. Only present if format=detailed
Product feed attributes, as agreed with dressipi
The name of the attribute
The value of the attribute (if string valued)
The value of the attribute (if array valued)
garment not found
Generic error object
A human readable error message