File tree Expand file tree Collapse file tree 1 file changed +157
-1
lines changed
Expand file tree Collapse file tree 1 file changed +157
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ magento 2 marketplace graphql extension
5050 address
5151 banner_pic
5252 city
53- commission_id
5453 company_description
5554 company_locality
5655 contact_number
@@ -91,9 +90,166 @@ magento 2 marketplace graphql extension
9190 }
9291 }
9392}
93+ ```
94+
95+ 2 . Get List Sellers with Filter options
96+
97+ ```
98+ {
99+ lofSellerList (
100+ filter: SellerFilterInput,
101+ pageSize: Int = 20,
102+ currentPage: Int = 1,
103+ sort: SellerSortInput
104+ ) {
105+ total_count
106+ items {
107+ seller_rates {
108+ items {
109+ created_at
110+ customer_id
111+ detail
112+ email
113+ nickname
114+ rate1
115+ rate2
116+ rate3
117+ rating_id
118+ seller_id
119+ status
120+ title
121+ }
122+ total_count
123+ }
124+ sale
125+ seller_id
126+ name
127+ thumbnail
128+ country
129+ address
130+ group
131+ products {
132+ items {
133+ sale
134+ id
135+ name
136+ url_key
137+ rating_summary
138+ sku
139+ image {
140+ url
141+ label
142+ }
143+ description {
144+ html
145+ }
146+ short_description {
147+ html
148+ }
149+ product_brand
150+ price_range {
151+ maximum_price {
152+ discount {
153+ amount_off
154+ percent_off
155+ }
156+ final_price {
157+ currency
158+ value
159+ }
160+ regular_price {
161+ currency
162+ value
163+ }
164+ }
165+ minimum_price {
166+ discount {
167+ amount_off
168+ percent_off
169+ }
170+ final_price {
171+ currency
172+ value
173+ }
174+ regular_price {
175+ currency
176+ value
177+ }
178+ }
179+ }
180+ price {
181+ regularPrice {
182+ amount {
183+ currency
184+ }
185+ }
186+ }
187+ }
188+ total_count
189+ }
190+ }
191+ }
192+ }
193+ ```
94194
195+ 3 . Filter products by seller ID
95196
197+ ```
198+ fragment ShopProduct on ProductInterface {
199+ id
200+ rating_summary
201+ description {
202+ html
203+ }
204+ name
205+ image {
206+ url
207+ }
208+ url_key
209+ price_range {
210+ minimum_price {
211+ regular_price {
212+ value
213+ currency
214+ }
215+ }
216+ maximum_price {
217+ discount {
218+ percent_off
219+ }
220+ final_price {
221+ value
222+ currency
223+ }
224+ regular_price {
225+ value
226+ }
227+ }
228+ }
229+ }
96230
231+ fragment PageInfo on SearchResultPageInfo {
232+ current_page
233+ page_size
234+ total_pages
235+ }
97236
237+ lofProductBySellerId(
238+ seller_id: Int!
239+ search: String = ""
240+ filter: ProductAttributeFilterInput
241+ pageSize: Int = 20
242+ currentPage: Int = 1
243+ sort: ProductAttributeSortInput
244+ ) {
245+ items {
246+ ...ShopProduct
247+ }
248+ page_info {
249+ ...PageInfo
250+ }
251+ total_count
252+ }
253+ ```
98254
99255
You can’t perform that action at this time.
0 commit comments