composer require landofcoder/module-productlabel-graphql
php bin/magento module:enable Lof_ProductLabelGraphQl
php bin/magento setup:upgrade --keep-generated
php bin/magento cache:clean
``landofcoder/module-rma-graph-ql``
Graph QL supports for Magento 2 RMA extension.
{
LofRmaById(
rma_id: String
){
rma_id
increment_id
order_increment_id
return_address
customer_id
status_id
order_id
created_at
updated_at
user_id
store_id
last_reply_name
last_reply_at
is_admin_read
parent_rma_id
customer_email
status
order_date
order_status
shipping_address
messages {
message_id
rma_id
user_id
customer_id
customer_name
text
is_html
is_visible_in_frontend
is_customer_notified
created_at
updated_at
is_read
customer_email
}
}
items
}
{
LofRmaList(
search: String
filter: RmaFilterInput
pageSize: Int = 20
currentPage: Int = 1
){
items{
rma_id
increment_id
order_increment_id
return_address
customer_id
status_id
order_id
created_at
updated_at
user_id
store_id
last_reply_name
last_reply_at
is_admin_read
parent_rma_id
customer_email
status
order_date
order_status
shipping_address
messages {
message_id
rma_id
user_id
customer_id
customer_name
text
is_html
is_visible_in_frontend
is_customer_notified
created_at
updated_at
is_read
customer_email
}
}
total_count: Int
}
}
{
LofRmaOrders(
order_id: String
){
entity_id
order_date
status
number
items: [OrderItemInterface]
invoices: [Invoice]
shipments: [OrderShipment]
credit_memos: [CreditMemo]
payment_methods: [OrderPaymentMethod]
shipping_address
billing_address
carrier
shipping_method
comments: [SalesCommentItem]
increment_id
order_number
created_at
grand_total
}
}
{
LofRmaOrders(
search: String
filter: OrderFilterInput
pageSize: Int = 20
currentPage: Int = 1
){
items{
entity_id
order_date
status
number
items: [OrderItemInterface]
invoices: [Invoice]
shipments: [OrderShipment]
credit_memos: [CreditMemo]
payment_methods: [OrderPaymentMethod]
shipping_address
billing_address
carrier
shipping_method
comments: [SalesCommentItem]
increment_id
order_number
created_at
grand_total
}
total_count: Int
}
}
{
LofRmaCreateRma(input: RmaInput!)
}
{
LofRmaConfirmShipping(input: ConfirmInput!)
}
{
LofRmaSendMessage(input: RmaMessageInput!)
}