API Documentation >> API 2.0 Main >> Entities >> Metaproduct

Metaproduct Entity

{
    metaproduct: {
        idMetaproduct:                      // metaproduct ID
        localization: [                     // a name entity per supported language
            {
                name:                       // metaproduct's name in the given language
                idLanguage:                 // language ID
                languageName:               // language's name in English
            }
        ]
    }
    product: [                              // entities for all products belonging to the metaproduct
        {}
    ]
    links: {}                               // HATEOAS links
}

See also: Product Entity

Example Entity

[
    {
        metaproduct: {
            idMetaproduct: 9074
            localization: [
                {
                    idLanguage: 1
                    languageName: "English"
                    name: "Tarmogoyf"
                }
                {
                    idLanguage: 2
                    languageName: "French"
                    name: "Tarmogoyf"
                }
                {
                    idLanguage: 3
                    languageName: "German"
                    name: "Tarmogoyf"
                }
                {
                    idLanguage: 4
                    languageName: "Spanish"
                    name: "Tarmogoyf"
                }
                {
                    idLanguage: 2
                    languageName: "Italian"
                    name: "Tarmogoyf"
                }
            ]
            product: [
                {
                    idProduct: 282324
                    idMetaproduct: 9074
                    countReprints: 3
                    enName: "Tarmogoyf"
                    localization: [
                        {
                            name: "Tarmogoyf"
                            idLanguage: 1
                            languageName: "English"
                        }
                        {...}
                    ]
                    website: "/Products/Singles/Modern+Masters+2015/Tarmogoyf"
                    image: "'./img/cards/Modern_Masters_2015/tarmogoyf.jpg"
                    gameName: "Magic the Gathering"
                    categoryName: "Magic Single"
                    number: "165"
                    rarity: "Mythic"
                    expansionName: "Modern Masters 2015"
                    links: []
                }
                {...}
            ]
            links: [...]
        }
    }
]