Skip to main content

Documentation Portal

GetCatalogPrices Method

GetCatalogPrices (FullProductCatalogRequest request)

Receives a catalogue conversion request from a merchant and returns the requested list of country and currency prices for the catalogue .

Request URL (link to the QA environment):

http://{globale_api_domain}/Browsing/GetCatalogPrices

Sample

Request Body:

{    
    "Countries": [
        {         
            "CountryCode": "FR"         
        },
        {            
            "CountryCode": "DE"            
        }
    ],    
    "Products": [{            
            "ProductCode": "565571",            
            "OriginalCurrencyCode": "GBP",            
            "OriginalSalePrice": 100.0000,            
            "VATRate": 0.0,            
            "ProductClassCode": null,            
            "IsPriceIncludeVAT": null            
        },
        {            
            "ProductCode": "565571",            
            "OriginalCurrencyCode": "GBP",            
            "OriginalSalePrice": 20.000,            
            "VATRate": 20.0,            
            "ProductClassCode": null,            
            "IsPriceIncludeVAT": null            
        }
    ]    
}

Response:

{    
    "Products": [
        {            
            "ProductCode": "P1",            
            "Countries": [
                {                    
                    "CountryCode": "FR",                    
                    "Currency": {                        
                        "CurrencyCode": "EUR",                        
                        "Price": 142.95                        
                    }                    
                },
                {                    
                    "CountryCode": "DE",                    
                    "Currency": {                        
                        "CurrencyCode": "EUR",                        
                        "Price": 141.95                        
                    }                    
                }                
            ]            
        },
        {            
            "ProductCode": "P2",            
            "Countries": [
                {                    
                    "CountryCode": "FR",                    
                    "Currency": {                        
                        "CurrencyCode": "EUR",                        
                        "Price": 23.95                        
                    }                    
                },
                {                    
                    "CountryCode": "DE",                    
                    "Currency": {                        
                        "CurrencyCode": "EUR",                        
                        "Price": 23.95                        
                    }                    
                }                
            ]            
        }        
    ]    
}

Request Body

FullProductCatalogRequest request

Full request specification.

Includes: Products.

For each product: Countries.

Response Body

FullProductCatalogResponse class