@shipengine/connect
Version:
The official developer tooling for building ShipEngine connect apps
17 lines (16 loc) • 642 B
TypeScript
import { Seller } from '../../types';
import AppsAPIClient from '..';
export default class Sellers {
private client;
constructor(apiClient: AppsAPIClient);
/**
* Gets the sellers for an application scoped to the given API key.
* @returns {Promise<Seller[]>} Promise that resolves to an Seller.
*/
getSellersForAppId(appId: string): Promise<Seller[]>;
/**
* Creates a seller for an application scoped to the given API key.
* @returns {Promise<Seller>} Promise that resolves to an Seller.
*/
createSeller(appId: string, email: string, password: string, country: string): Promise<Seller>;
}