Skip to main content

SearchOffersFilterInput

No description

input SearchOffersFilterInput {
createdByDapperIDs: [String!]
byMomentIDs: [String!]
byType: SearchOffersType
byOfferState: SearchOffersState
byPrice: PriceRangeFilterInput
byEditions: [EditionsFilterInput]
byOfferTypes: [OfferType!]
byOfferVisibility: OfferVisibilityFilter
byParallels: [Int!]
}

Fields

createdByDapperIDs ● [String!] list scalar

createdByDapperIDs will filter all offers created by users (using their dapper IDs)

byMomentIDs ● [String!] list scalar

byMomentIDs will filter all offers for the given moments (list of moment IDs)

byType ● SearchOffersType enum

byType will filter all offers using the Type enum:

  • MADE: filter offers created by the logged user
  • RECEIVED: filter offers received for the logged user

byOfferState ● SearchOffersState enum

byOfferState will filter all offers using the State enum (by default it will return OPENED offers):

  • OPENED: filter offers which are not completed
  • COMPLETED: filter offers which are completed
  • CANCELED: filter offers which are completed but not purchased
  • PURCHASED: filter offers which are completed and purchased
  • ALL: return all offers

byPrice ● PriceRangeFilterInput input

byPrice will only return offers with prices falling inside the specified price range

byEditions ● [EditionsFilterInput] list input

byEditions will filter all offers for the given editions

byOfferTypes ● [OfferType!] list enum

byOfferTypes will filter all offers by offer-types (Serial, Edition)

byOfferVisibility ● OfferVisibilityFilter enum

byVisibility will filter all offers by offer visibility (hidden, unhidden)

byParallels ● [Int!] list scalar

byParallels will filter all offers by moment/edition subedition

Member of

SearchOffersInput input