@ribajs/shopify
Version:
Shopify extension for Riba.js
23 lines (22 loc) • 828 B
TypeScript
import { ShopifyCustomer } from "./customer.js";
import { ShopifyDiscount } from "./discount.js";
export interface ShopifyOrderCustomAttributes {
[key: string]: string;
}
export interface ShopifyOrder {
attributes: ShopifyOrderCustomAttributes;
cancelled: boolean;
cancelled_at: string;
cancel_reason: "items unavailable" | "fraudulent order" | "customer changed/cancelled order" | "other";
cancel_reason_label: string;
created_at: string;
customer: ShopifyCustomer;
customer_url: string;
discounts: ShopifyDiscount;
email: string;
financial_status: "pending" | "authorized" | "paid" | "partially_paid" | "refunded" | "partially_refunded" | "voided";
financial_status_label: string;
fulfillment_status: any;
fulfillment_status_label: string;
[key: string]: any;
}