import type { ListingsItemPatchRequest, ListingsItemPutRequest, ListingsItemSubmissionResponse } from "./data-contracts"; import type { HttpClient, RequestParams } from "../../http-client"; export declare class Listings { private http; constructor(http: HttpClient); /** * @description Delete a listings item for a selling partner. **Note:** The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). * * @tags listings * @name DeleteListingsItem * @request DELETE:/listings/2020-09-01/items/{sellerId}/{sku} */ deleteListingsItem: (sellerId: string, sku: string, query: { /** * A comma-delimited list of Amazon marketplace identifiers for the request. * @example "ATVPDKIKX0DER" */ marketplaceIds: 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. * @example "en_US" */ issueLocale?: string; }, params?: RequestParams) => Promise; /** * @description Partially update (patch) a listings item for a selling partner. Only top-level listings item attributes can be patched. Patching nested attributes is not supported. **Note:** The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). * * @tags listings * @name PatchListingsItem * @request PATCH:/listings/2020-09-01/items/{sellerId}/{sku} */ patchListingsItem: (sellerId: string, sku: string, query: { /** * A comma-delimited list of Amazon marketplace identifiers for the request. * @example "ATVPDKIKX0DER" */ marketplaceIds: 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. * @example "en_US" */ issueLocale?: string; }, body: ListingsItemPatchRequest, params?: RequestParams) => Promise; /** * @description Creates a new or fully-updates an existing listings item for a selling partner. **Note:** The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). * * @tags listings * @name PutListingsItem * @request PUT:/listings/2020-09-01/items/{sellerId}/{sku} */ putListingsItem: (sellerId: string, sku: string, query: { /** * A comma-delimited list of Amazon marketplace identifiers for the request. * @example "ATVPDKIKX0DER" */ marketplaceIds: 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. * @example "en_US" */ issueLocale?: string; }, body: ListingsItemPutRequest, params?: RequestParams) => Promise; }