Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 2.36 KB

ProductApi.md

File metadata and controls

49 lines (30 loc) · 2.36 KB

\ProductApi

All URIs are relative to https://virtserver.swaggerhub.com/magicCashew/keepa/1.0.0

Method HTTP request Description
Product Get /product Retrieve the product for the specified ASIN and domain.

Product

[]Category Product(ctx, key, domain, optional) Retrieve the product for the specified ASIN and domain.

Retrieves the product object for the specified ASIN and domain. If our last update is older than one hour it will be automatically refreshed before delivered to you to ensure you get near to real-time pricing data. You can request products via either their ASIN (preferred) or via UPC and EAN codes. You can not use both parameters, asin and code, in the same request. Keepa can not track Amazon Fresh and eBooks.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
key string Your private API key.
domain int32 Integer value for the Amazon locale you want to access. (1-com, 2-co.uk, 3-de, 4-fr, 5-co.jp, 6-ca, 7-cn, 8-it, 9-es, 10-in, 11-com.mx, 12-com.br, 13-com.au)
optional *ProductOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a ProductOpts struct

Name Type Description Notes

asin | optional.String| The ASIN of the product you want to request. For batch requests a comma separated list of ASINs (up to one hundred). | code | optional.String| The product code of the product you want to request. We currently allow UPC, EAN and ISBN-13 codes. For batch requests a comma separated list of codes (up to one hundred). Multiple ASINs can have the same product code, so requesting a product code can return multiple products. |

Return type

[]Category

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]