You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/API/Request.php
+51Lines changed: 51 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -264,6 +264,57 @@ public static function getProductRequest($domainID, $offers, $statsStartDate, $s
264
264
}
265
265
266
266
267
+
/**
268
+
* Retrieves the product for the specified ASIN and domain.
269
+
* If our last update is older than 1 hour it will be automatically refreshed before delivered to you to ensure you get near to real-time pricing data.
270
+
*
271
+
* @param $domainID int Amazon locale of the product {@link AmazonLocale}
272
+
* @param $offers int If specified (= not null) Determines the number of marketplace offers to retrieve. <b>Not available for Amazon China.</b>
273
+
* @param $statsStartDate string Must ISO8601 coded date (with or without time in UTC). Example: 2015-12-31 or 2015-12-31T14:51Z. If specified (= not null) the product object will have a stats field with quick access to current prices, min/max prices and the weighted mean values in the interval specified statsStartDate to statsEndDate. .
274
+
* @param $statsEndDate string the end of the stats interval. See statsStartDate.
275
+
* @param $buybox bool If specified and true the product and statistics object will include all available buy box related data
276
+
* @param $update int If the product's last refresh is older than <i>update</i>-hours force a refresh. Use this to speed up requests if up-to-date data is not required. Might cost an extra token if 0 (= live data). Default 1.
277
+
* @param $history bool Whether or not to include the product's history data (csv field). If you do not evaluate the csv field set to false to speed up the request and reduce traffic.
278
+
* @param $rental bool If true the rental price will be collected when available. <b>Can only be used in conjunction with the offers parameter. Not available for Amazon China.
279
+
* @param $rating bool If true the product object will include our existing RATING and COUNT_REVIEWS history of the csv field, regardless if the offers parameter is used <b>Not available for Amazon China.
280
+
* @param $fbafees bool If true fbaFees will be retrieved. <b>Can only be used in conjunction with the offers parameter. Not available for Amazon China, India and Brazil.
281
+
* @param $onlyLiveOffers bool
282
+
* @param $days int If specified and has positive value X the product object will limit all historical data to the recent X days.
283
+
* @param $asins string[] ASINs to request, must contain between 1 and 100 ASINs - or max 20 ASINs if the offers parameter is used.
284
+
* @param array $params Array of additional request parameters
Copy file name to clipboardExpand all lines: src/objects/Product.php
+38-2Lines changed: 38 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -315,8 +315,7 @@ class Product
315
315
public$lastEbayUpdate = 0;
316
316
317
317
/**
318
-
* Availability of the Amazon offer {@link Product.AvailabilityType}. If Amazon offer exists but does not hold the buy box the value will be 2 (unknown).
319
-
* To request the Amazon availability in such cases the offers parameter is required.
318
+
* Availability of the Amazon offer {@link Product.AvailabilityType}.
320
319
* @var int
321
320
*/
322
321
public$availabilityAmazon = -1;
@@ -339,6 +338,43 @@ class Product
339
338
*/
340
339
public$salesRankReferenceHistory = null;
341
340
341
+
/**
342
+
* If the product is listed in the launchpad
343
+
* @var boolean|null
344
+
*/
345
+
public$launchpad = false;
346
+
347
+
/**
348
+
* Rental details
349
+
* @var string|null
350
+
*/
351
+
public$rentalDetails = false;
352
+
353
+
/**
354
+
* Rental details
355
+
* @var \Keepa\helper\RentalObject|null
356
+
*/
357
+
public$rentalPrices = false;
358
+
359
+
/**
360
+
* Rental seller id
361
+
* @var string|null
362
+
*/
363
+
public$rentalSellerId = null;
364
+
365
+
/**
366
+
* Amazon offer shipping delay. Integer array with 2 entries, indicating min and max shipping delay in hours.
367
+
* @var int[]|null
368
+
*/
369
+
public$availabilityAmazonDelay = null;
370
+
371
+
/**
372
+
* Audience rating. The rating suggests the age for which the media is appropriate.
373
+
* Example: PG-13 (Parents Strongly Cautioned)
374
+
* @var string|null
375
+
*/
376
+
public$audienceRating = null;
377
+
342
378
/**
343
379
* States the last time we have updated the product rating and review count, in Keepa Time minutes.<br>
344
380
* Use {@link KeepaTime#keepaMinuteToUnixInMillis(int)} (long)} to get an uncompressed timestamp (Unix epoch time).
0 commit comments