pub struct Listings;Implementations§
Source§impl Listings
impl Listings
pub async fn get_listings_item( client: &mut Client, seller_id: &str, sku: &str, country_marketplace: CountryMarketplace, included_data: Vec<IncludedData>, ) -> Result<Response, Errors>
pub async fn put_listings_item()
pub async fn patch_listings_item( client: &mut Client, seller_id: &str, sku: &str, country_marketplace: CountryMarketplace, validation_preview: bool, body: &str, ) -> Result<Response, Errors>
Sourcepub async fn wrapped_patch_listings_item(
client: &mut Client,
seller_id: &str,
sku: &str,
country_marketplace: CountryMarketplace,
validation_preview: bool,
new_price: f64,
) -> Result<Response, Errors>
pub async fn wrapped_patch_listings_item( client: &mut Client, seller_id: &str, sku: &str, country_marketplace: CountryMarketplace, validation_preview: bool, new_price: f64, ) -> Result<Response, Errors>
This is a simple way to change prices
Sourcepub async fn search_listings_items(
client: &mut Client,
seller_id: String,
marketplace: CountryMarketplace,
issue_locale: Option<String>,
included_data: Option<Vec<String>>,
identifiers: Option<Vec<String>>,
identifiers_type: Option<String>,
variation_parent_sku: Option<String>,
package_hierarchy_sku: Option<String>,
created_after: Option<String>,
created_before: Option<String>,
last_updated_after: Option<String>,
last_updated_before: Option<String>,
with_issue_severity: Option<Vec<String>>,
with_status: Option<Vec<String>>,
without_status: Option<Vec<String>>,
sort_by: Option<String>,
sort_order: Option<String>,
page_size: Option<u32>,
page_token: Option<String>,
) -> Result<Response, Errors>
pub async fn search_listings_items( client: &mut Client, seller_id: String, marketplace: CountryMarketplace, issue_locale: Option<String>, included_data: Option<Vec<String>>, identifiers: Option<Vec<String>>, identifiers_type: Option<String>, variation_parent_sku: Option<String>, package_hierarchy_sku: Option<String>, created_after: Option<String>, created_before: Option<String>, last_updated_after: Option<String>, last_updated_before: Option<String>, with_issue_severity: Option<Vec<String>>, with_status: Option<Vec<String>>, without_status: Option<Vec<String>>, sort_by: Option<String>, sort_order: Option<String>, page_size: Option<u32>, page_token: Option<String>, ) -> Result<Response, Errors>
Search for and return a list of selling partner listings items
Rate (requests per second): 5 Burst: 5
§Parameters
- client: Reference to the HTTP client
- seller_id: Required selling partner identifier
- marketplace: The marketplace to search in (max count: 1)
- issue_locale: Optional locale for issue localization (e.g., “en_US”, “fr_CA”)
- included_data: Optional data sets to include (default: summaries)
- identifiers: Optional list of product identifiers (max: 20)
- identifiers_type: Required when identifiers are provided
- variation_parent_sku: Optional SKU to filter variation children
- package_hierarchy_sku: Optional SKU to filter package hierarchy
- created_after: Optional filter for items created after date
- created_before: Optional filter for items created before date
- last_updated_after: Optional filter for items updated after date
- last_updated_before: Optional filter for items updated before date
- with_issue_severity: Optional filter by issue severity levels
- with_status: Optional filter by status
- without_status: Optional filter to exclude status
- sort_by: Optional attribute to sort by (default: lastUpdatedDate)
- sort_order: Optional sort direction (default: DESC)
- page_size: Optional results per page (max: 20, default: 10)
- page_token: Optional pagination token
Auto Trait Implementations§
impl Freeze for Listings
impl RefUnwindSafe for Listings
impl Send for Listings
impl Sync for Listings
impl Unpin for Listings
impl UnwindSafe for Listings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more