GraphQl Doc

Setup addon for GraphQl at here: https://github.com/landofcoder/module-flashsales-graph-ql

Query:

Query get flashsales by id:

{

lofFlashSalesById (flashsales_id: Int) {

flashsales_id

event_name

from_date

to_date

sort_order

category_id

is_private_sale

thumbnail_image

header_banner_image

restricted_landing_page

grant_event_view

grant_event_product_price

grant_checkout_items

grant_checkout_items_groups

grant_event_view_groups

grant_event_product_price_groups

display_cart_mode

display_product_mode

cart_button_title

message_hidden_add_to_cart

is_active

status

}

}

Query list flashsales:

{

lofFlashSales (

filter : {flashsales_id: Int, event_name: String, status: String,..}

pageSize: 5

currentPage: 1

} {

items {

flashsales_id

event_name

from_date

to_date

sort_order

category_id

is_private_sale

thumbnail_image

header_banner_image

restricted_landing_page

grant_event_view

grant_event_product_price

grant_checkout_items

grant_checkout_items_groups

grant_event_view_groups

grant_event_product_price_groups

display_cart_mode

display_product_mode

cart_button_title

message_hidden_add_to_cart

is_active

status

}

total_count

}

}

Last updated