Calling URL:

https://buybox.click/{BB-ID}/buybox.json?{par}={wartość}


where:

  • {BB-ID}  - widget ID to be downloaded from the publisher's panel
  • {par}  - parameters describing the product and configuration

Parameters:

  • number  - GTIN code of a product,e.g. ISBN or EAN 
  • name - name of a product 
  • info - additional attribute (description below)
  • abpar1  , abpar2  , abpar3  -abpar parameters 
  • campaign- shop ID  (to be downloaded from the publisher’spanel); it is used to narrow the results to the selected shop


Additional attributes (
info  parameter )

  • Books – name and surname of the author
  • Films - name and surname of the director
  • Music –the performer
  • Electronics – name of the manufacturer


Examples:

https://buybox.click/623/buybox.json?number=9788380871182&name=Zero%20to%20One&info=Peter%20Thiel


Returned data:  

  • product URL address
  • price  - the price of the product
  • name  - the name of the shop
  • type  - format (if applicable, e.g. book, ebook, audiobook)
  • icon  - URL of the shop’s icon
  • logo  - URL address of the shop’s logotype
Czy udało Ci się znaleźć odpowiedź na swoje pytanie?