<?php
|
/**
|
* This class is autogenerated by the Spapi class generator
|
* Date of generation: 2022-05-26
|
* Specification: https://github.com/amzn/selling-partner-api-models/blob/main/models/listings-restrictions-api-model/listingsRestrictions_2021-08-01.json
|
* Source MD5 signature: 2319e2bbf9d421f571cd0457aa9944b7
|
*
|
*
|
* Selling Partner API for Listings Restrictions
|
* The Selling Partner API for Listings Restrictions provides programmatic access to restrictions on Amazon catalog listings.
|
|
For more information, see the [Listings Restrictions API Use Case Guide](doc:listings-restrictions-api-v2021-08-01-use-case-guide).
|
*/
|
namespace DoubleBreak\Spapi\Api;
|
use DoubleBreak\Spapi\Client;
|
|
class ListingsRestrictions extends Client {
|
|
/**
|
* Operation getListingsRestrictions
|
*
|
* @param array $queryParams
|
* - *asin* string - The Amazon Standard Identification Number (ASIN) of the item.
|
* - *conditionType* string - The condition used to filter restrictions.
|
* - *sellerId* string - A selling partner identifier, such as a merchant account.
|
* - *marketplaceIds* array - A comma-delimited list of Amazon marketplace identifiers for the request.
|
* - *reasonLocale* string - A locale for reason text localization. When not provided, the default language code of the first marketplace is used. Examples: "en_US", "fr_CA", "fr_FR". Localized messages default to "en_US" when a localization is not available in the specified locale.
|
*
|
*/
|
public function getListingsRestrictions($queryParams = [])
|
{
|
return $this->send("/listings/2021-08-01/restrictions", [
|
'method' => 'GET',
|
'query' => $queryParams,
|
]);
|
}
|
|
public function getListingsRestrictionsAsync($queryParams = [])
|
{
|
return $this->sendAsync("/listings/2021-08-01/restrictions", [
|
'method' => 'GET',
|
'query' => $queryParams,
|
]);
|
}
|
}
|