Product API

Product API

 

This API retrieves product details and performs a description search.
Type: GET
URI:
../v1/product
Version:
The current version is v1.

Parameters

Name Description Example
query Keyword search query against product description, with multi-character wildcard operator COKE* or *LIGHT* or *FANTA* or *ZERO* or *DIET* or *CAPRI* or *SCHWEPPES*
maxRows Maximum number of rows to return 20
materials Material numbers separated by a comma 109219
language Language the product details are returned in EN, FR or NL
apiKey Key generated by developer.cokecce.com Get yours now
format
(optional)
Internet media type you want for response format json or xml
callback (optional) JSONP callback name myFunctionName


Sample Calls

search

http://api.cokecce.com/v1/product/search?query=%2AFANTA%2A&maxRows=3&language=EN&format=json&apiKey=xxxxxx


details

http://api.cokecce.com/v1/product/details?materials=109219%2C+100304&language=EN&format=json&apiKey=xxxxxx


Back to Available Methods


Response

search


{
   "productDetails":{
      "products":[
         {
            "material":"100303",
            "description":"12ZCAN 4X6P FANTA GRAPE"
         },
         {
            "material":"100304",
            "description":"12ZCAN 4X6P FANTA ORANGE"
         },
         {
            "material":"100427",
            "description":"12ZCAN 4X6P FANTA RED SODA"
         }
      ]
   }
}

details


{
   "productDetails":{
      "products":[
         {
            "material":"109219",
            "description":"33CL CAN X24 SPRITE"
         },
         {
            "material":"100304",
            "description":"12ZCAN 4X6P FANTA ORANGE"
         }
      ]
   }
}
 
Response Codes

Value Description
200 Valid request that generated content
204 The server successfully processed the request, but is not returning any content
400 The result cannot be fulfilled due to bad syntax
500 Internal server error


Help / Questions?

  Looking for support and answers? Check out our forum!

Still can't find your answer? Email Us @
apisupport@cokecce.com or use the contact us form.