amazon_sp_api/models/
sellers.rs1use reqwest::{Method, Response};
2use crate::error_handling::Errors;
3use crate::general::Client;
4
5pub struct Sellers;
6impl Sellers {
7 pub async fn get_marketplace_participations(client: &mut Client) -> Result<Response, Errors> {
8 const URL: &str = "/sellers/v1/marketplaceParticipations";
9
10 client.make_request(URL, Method::GET, None::<Vec<(String, String)>> ).await
11 }
12 pub async fn get_account(client: &mut Client) -> Result<Response, Errors> {
13 const URL: &str = "/sellers/v1/account";
14 client.make_request(URL, Method::GET, None::<Vec<(String, String)>> ).await
15 }
16}