AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Adobe incatalog12/18/2023 To define a custom filter, see Filtering with custom attributes. For example, in a response, price is an object that contains a monetary value and a currency code.īy default, you can use the following attributes as filters. However, returned attributes can be a different, complex data type. Magento processes the attribute values specified in a ProductAttributeFilterInput as simple data types (strings, integers, Booleans). The following example filter searches for products that have a name that contains the string Bag with a price that’s less than or equal to 40.įilter: A filter contains at least one attribute, a comparison operator, and the value that is being searched for. The ProductAttributeFilterInput object determines which attributes will be used to narrow the results in a products query. If multiple keywords are specified, each keyword is evaluated separately.Įach query must contain a search or filter attribute, or both. This is the same type of search that is performed from the storefront. The search attribute causes Magento to perform a full text search on the specified keywords. Specifies which attribute to sort on, and whether to return the results in ascending or descending order Specifies which page of results to return. Specifies the maximum number of results to return at once. See filter attribute object for more information Identifies which attributes to search for and return. Performs a full-text search using the specified key words Products( search: String filter: ProductAttributeFilterInput pageSize: Int currentPage: Int sort: ProductAttributeSortInput ): ProductsĮach query attribute is defined below: Attribute PayPal Website Payments Pro Hosted Solution.Express Checkout for other PayPal solutions.WishlistItemInterface attributes and implementations.ShipmentItemInterface attributes and implementations. ![]() RequisitionListItemInterface attributes and implementations.OrderItemInterface attributes and implementations.NegotiableQuoteAddressInterface attributes and implementations.InvoiceItemInterface attributes and implementations.CreditMemoItemInterface attributes and implementations.CartItemInterface attributes and implementations.setNegotiableQuoteShippingMethods mutation.setNegotiableQuoteShippingAddress mutation.setNegotiableQuotePaymentMethod mutation.setNegotiableQuoteBillingAddress mutation.redeemGiftCardBalanceAsStoreCredit mutation.moveItemsBetweenRequisitionLists mutation.copyItemsBetweenRequisitionLists mutation.
0 Comments
Read More
Leave a Reply. |