Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
feat: adding filters (#895)
Browse files Browse the repository at this point in the history
  • Loading branch information
yasamanloghman authored Nov 20, 2023
1 parent d467e80 commit c0eea88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/types/order.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export interface OrderBase {
}
shipping_address: OrderShippingAddress
billing_address: OrderBillingAddress
external_ref?: string
}

export interface Order extends Identifiable, OrderBase {
Expand Down Expand Up @@ -169,6 +170,7 @@ export interface OrderFilter {
product_sku?: string
created_at?: number | string
updated_at?: number | string
external_ref?: string
}
like?: {
name?: string
Expand All @@ -180,6 +182,7 @@ export interface OrderFilter {
billing_postcode?: string
account_id?: string
account_member_id?: string
external_ref?: string
}
ge?: {
with_tax?: number
Expand Down

0 comments on commit c0eea88

Please sign in to comment.