shopify-admin-api
Version:
Shopify Admin API is a NodeJS library built to help developers easily authenticate and make calls against the Shopify API. It was inspired by and borrows heavily from ShopifySharp.
20 lines (19 loc) • 767 B
TypeScript
import * as Options from '../options';
import { BaseService } from '../infrastructure';
import { Shop } from '../interfaces';
/**
* A service for manipulating Shopify shops.
*/
export declare class Shops extends BaseService {
constructor(shopDomain: string, accessToken: string);
/**
* Returns shop data for the shop.
* @param options Options for filtering the result.
*/
get(options?: Options.FieldOptions): Promise<Shop>;
/**
* Forces the shop to uninstall your Shopify app. Uninstalling an application is an irreversible operation. Be entirely sure that you no longer need to make API calls for the shop in which the application has been installed.
*/
forceUninstallApp(): Promise<undefined>;
}
export default Shops;