Skip to content
This repository has been archived by the owner on Mar 13, 2021. It is now read-only.

Commit

Permalink
W.I.P.
Browse files Browse the repository at this point in the history
  • Loading branch information
pierce-h committed Sep 8, 2020
1 parent 149dcc3 commit 12ab69b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/core/api-client/resources/sellers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,17 @@ export default class Sellers {

return response;
}

/**
* Gets the sellers for an application scoped to the given API key.
* @returns {Promise<Seller[]>} Promise that resolves to an Seller.
*/
async createSeller(appId: string): Promise<Seller[]> {
const response = await this.client.call<Seller[]>({
endpoint: `apps/${appId}/sellers`,
method: "GET",
});

return response;
}
}

0 comments on commit 12ab69b

Please sign in to comment.