Available queries

Associated queryReturns multiple results
Refund
Refunds✔️

Available fields

LabelTypeNotesNull
account_managerAccount managerThe account manager associated to this document✔️
bill_toAddressThe billing address✔️
changedDateThe date of the refund's last modification
createdDateThe date of the refund's creation
created_fromProduct returnThe product return this document was created from
currencyCurrencyThe currency used in this document✔️
customerCustomerThe customer this document is addressed to✔️
discrepancydecimal(12,2)The discrepancy of the refund✔️
idintegerThe id of the document
internal_notesstringNotes about this document that only you will see✔️
labelstringThe order number of this specific refund, see below. Automatically generated
line_itemsLine itemsThe line items of the document
locationLocationThe location used in the document✔️
notesstringNotes about this document that you AND the customer will see✔️
price_levelPrice levelThe price level used in this document
refund_statusstringThe status of the refund ("refunded", "cancelled")
seasonSeasonThe season used int this document✔️
shipping_costdecimal(10,2)The shipping cost✔️
shipping_taxesTaxesThe shipping taxes used in this document✔️
subtotaldecimal(12,2)The subtotal of this document
taxesTaxesThe taxes used in this document✔️
tax_typeObjectThe type of taxes in this document✔️
totaldecimal(12,2)The total of this document
total_taxesTotal taxesThe total taxes of this document
total_unitsdecimal(17,7)The total units of this order
userUserThe user who created this order

Example of a query

query{
  Refunds{
    edges{
      node{
        account_manager{
          id
        }
        bill_to{
          country
        }
        changed
        created
        created_from{
          id
        }
        currency{
          iso
        }
        customer{
          id
        }
        discrepancy
        id
        internal_notes
        label
        line_items{
          edges{
            node{
              id
            }
          }
        }
        location{
          id
        }
        notes
        price_level{
          id
        }
        refund_status
        season{
          label
        }
        shipping_cost
        shipping_taxes{
          edges{
            node{
              id
            }
          }
        }
        subtotal
        taxes{
          edges{
            node{
              id
            }
          }
        }
        tax_type
        total
        total_taxes{
          edges{
            node{
              id
            }
          }
        }
        total_units
        user{
          display_name
        }
      }
    }
  }
}