The basket recommendations endpoint returns curated recommendations for a user profile based on the garments in their basket (which can be empty).
This endpoint provides personalized item recommendations based on the user's profile and preferences.
The JWT for the user
List of garment identifiers representing the user's basket.
List of garment identifiers to be excluded from the recommendations.
The type of garment identifiers provided in ids and excluded_ids.
The desired number of recommended items to return.
The attribute to sort results by. Currently only 'price' is supported.
The direction to sort results by.
The desired response format. If 'simple', only basic garment identifiers are returned. If 'detailed', more comprehensive garment metadata is included.
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.
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
If true, user information will be included in the response where applicable
Information about the curated recommendations
The basket recommendations endpoint returns curated recommendations for a user profile based on the garments in their basket (which can be empty).
This endpoint provides personalized item recommendations based on the user's profile and preferences.
The unique event ID for tracking purposes
The recommended items for the current basket
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
Metadata for the garments in the response
Whether the user has completed the dressipi signup quiz
The user's first name, if they have supplied it