💡Tags

GET

Route:/api/v1/tags/{id}

Get tags of product with id ={id}.

Response

{
    "category": string,
    "subcategory": string,
    "attributes": ProductAttributes,
    "details": "string"
}

POST

Route: /api/v1/similar/{id}

Generate tags of product with id ={id}.

Response

{
    "category": string,
    "subcategory": string,
    "attributes": ProductAttributes,
    "details": string
}

Used Types

All attributes strictly follow the Taxonomy

interface ProductAttributes {
    colour: string | null;
    material: string | null;
    size: string | null;
    pattern: string | null;
    neckType: string | null;
    sleeveLength: string | null;
    closure: boolean | null;
    closureType: string | null;
    length: string | null;
    lining: string | null;
    texture: string | null;
    fit: string | null;
    gender: string | null;
    fashionStyle: string | null;
    eraTrend: string | null;
    designElements: string | null;
    culturalInfluence: string | null;
    marketingCalendarCollections: string | null;
    occasions: string | null;
    season: string | null;
    activities: string | null;
    careType: string | null;
    weatherSuitability: string | null;
    ageGroup: string | null;
    bodyType: string | null;
    sustainability: string | null;
    priceRange: string | null;
    locality: string | null;
}

Last updated