@lorenstuff/amazon-selling-partner-api
Version:
A package for interacting with the Amazon Selling Partner API.
24 lines • 712 B
TypeScript
export interface CreateRestrictedDataTokenRequest {
targetApplication?: string;
restrictedResources: RestrictedResource[];
}
export interface CreateRestrictedDataTokenResponse {
restrictedDataToken: string;
expiresIn: number;
}
export interface Error {
code: string;
message: string;
details?: string;
}
export interface ErrorList {
errors: Error[];
}
export type Method = "GET" | "PUT" | "POST" | "DELETE";
export interface RestrictedResource {
method: Method;
path: string;
dataElements?: RestrictedResourceDataElement[];
}
export type RestrictedResourceDataElement = "buyerInfo" | "shippingAddress" | "buyerTaxInformation";
//# sourceMappingURL=v2021-03-01.d.ts.map