send("/listings/2021-08-01/items/{$sellerId}/{$sku}", [ 'method' => 'DELETE', 'query' => $queryParams, ]); } public function deleteListingsItemAsync($sellerId, $sku, $queryParams = []) { return $this->sendAsync("/listings/2021-08-01/items/{$sellerId}/{$sku}", [ 'method' => 'DELETE', 'query' => $queryParams, ]); } /** * Operation getListingsItem * * @param string $sellerId A selling partner identifier, such as a merchant account or vendor code. * @param string $sku A selling partner provided identifier for an Amazon listing. * * @param array $queryParams * - *marketplaceIds* array - A comma-delimited list of Amazon marketplace identifiers for the request. * - *issueLocale* string - A locale for localization of issues. 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. * - *includedData* array - A comma-delimited list of data sets to include in the response. Default: summaries. * */ public function getListingsItem($sellerId, $sku, $queryParams = []) { return $this->send("/listings/2021-08-01/items/{$sellerId}/{$sku}", [ 'method' => 'GET', 'query' => $queryParams, ]); } public function getListingsItemAsync($sellerId, $sku, $queryParams = []) { return $this->sendAsync("/listings/2021-08-01/items/{$sellerId}/{$sku}", [ 'method' => 'GET', 'query' => $queryParams, ]); } /** * Operation patchListingsItem * * @param string $sellerId A selling partner identifier, such as a merchant account or vendor code. * @param string $sku A selling partner provided identifier for an Amazon listing. * * @param array $queryParams * - *marketplaceIds* array - A comma-delimited list of Amazon marketplace identifiers for the request. * - *issueLocale* string - A locale for localization of issues. 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 patchListingsItem($sellerId, $sku, $queryParams = [], $body = []) { return $this->send("/listings/2021-08-01/items/{$sellerId}/{$sku}", [ 'method' => 'PATCH', 'query' => $queryParams, 'json' => $body ]); } public function patchListingsItemAsync($sellerId, $sku, $queryParams = [], $body = []) { return $this->sendAsync("/listings/2021-08-01/items/{$sellerId}/{$sku}", [ 'method' => 'PATCH', 'query' => $queryParams, 'json' => $body ]); } /** * Operation putListingsItem * * @param string $sellerId A selling partner identifier, such as a merchant account or vendor code. * @param string $sku A selling partner provided identifier for an Amazon listing. * * @param array $queryParams * - *marketplaceIds* array - A comma-delimited list of Amazon marketplace identifiers for the request. * - *issueLocale* string - A locale for localization of issues. 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 putListingsItem($sellerId, $sku, $queryParams = [], $body = []) { return $this->send("/listings/2021-08-01/items/{$sellerId}/{$sku}", [ 'method' => 'PUT', 'query' => $queryParams, 'json' => $body ]); } public function putListingsItemAsync($sellerId, $sku, $queryParams = [], $body = []) { return $this->sendAsync("/listings/2021-08-01/items/{$sellerId}/{$sku}", [ 'method' => 'PUT', 'query' => $queryParams, 'json' => $body ]); } }