@lorenstuff/amazon-selling-partner-api
Version:
A package for interacting with the Amazon Selling Partner API.
17 lines • 1.58 kB
TypeScript
import { AmazonSellingPartnerAPIClient } from "./AmazonSellingPartnerAPIClient.js";
import { CancelShipmentResponse, CreateShipmentRequest, CreateShipmentResponse, GetAccountResponse, GetRatesRequest, GetRatesResponse, GetShipmentResponse, GetTrackingInformationResponse, PurchaseLabelsRequest, PurchaseLabelsResponse, PurchaseShipmentRequest, PurchaseShipmentResponse, RetrieveShippingLabelRequest, RetrieveShippingLabelResponse } from "../types/shipping-api/v1.js";
/** A client for v1 of the Shipping endpoints of the Amazon Selling Partner API. */
export declare class AmazonSellingPartnerShippingAPIClient {
amazonSellingPartnerApiClient: AmazonSellingPartnerAPIClient;
constructor(amazonSellingPartnerApiClient: AmazonSellingPartnerAPIClient);
cancelShipment(shipmentId: string): Promise<CancelShipmentResponse>;
createShipment(body: CreateShipmentRequest): Promise<CreateShipmentResponse>;
getAccount(): Promise<GetAccountResponse>;
getRates(body: GetRatesRequest): Promise<GetRatesResponse>;
getShipment(shipmentId: string): Promise<GetShipmentResponse>;
getTrackingInformation(trackingId: string): Promise<GetTrackingInformationResponse>;
purchaseLabels(shipmentId: string, body: PurchaseLabelsRequest): Promise<PurchaseLabelsResponse>;
purchaseShipment(body: PurchaseShipmentRequest): Promise<PurchaseShipmentResponse>;
retrieveShippingLabel(shipmentId: string, trackingId: string, body: RetrieveShippingLabelRequest): Promise<RetrieveShippingLabelResponse>;
}
//# sourceMappingURL=AmazonSellingPartnerShippingAPIClient.d.ts.map