UNPKG

inventora-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.

21 lines (18 loc) 842 B
import { ListOptions, SinceIdOptions, FieldOptions, DateOptions, PublishedOptions } from "./base"; export interface CommentListOptions extends ListOptions, FieldOptions, DateOptions, PublishedOptions { // Retrieve only comments of a certain blog blog_id?: number; // Retrieve only comments for a certain article of a blog article_id?: number; // Filter results by their status. status?: "pending" | "published" | "unapproved"; }; export interface CommentCountOptions extends SinceIdOptions, DateOptions, PublishedOptions { // Count only comments of a certain blog blog_id?: number; // Count only comments for a certain article of a blog article_id?: number; // Filter results by their status. status?: "pending" | "published" | "unapproved"; } export interface CommentGetOptions extends FieldOptions {};