UNPKG

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.

14 lines (13 loc) 368 B
import { BaseService } from '../infrastructure'; import { Policy } from '../interfaces'; /** * A service for reading a shop's policies. */ export declare class Policies extends BaseService { constructor(shopDomain: string, accessToken: string); /** * Gets a list of the shop's policies. */ list(): Promise<Policy[]>; } export default Policies;