Available queries

Associated queryReturns multiple results
CreditNote
CreditNotes✔️

Available fields

LabelTypeNotesNull
account_managerAccountManagerThe account manager associated to the credit note✔️
bill_toAddressThe billing address✔️
changedDateThe date of the credit note's last modification
createdDateThe date of the credit note's creation
created_from_invoiceInvoiceIf this credit note was created from an invoice, return a sub-query on this invoice✔️
created_from_typestringThe type of document this credit note was created from
created_from_product_returnProductReturnIf this credit note was created from a product return, return a sub-query on this product return✔️
credit_note_statusstringThe status of the credit note ("pending", "credited", "partially_credited", "cancelled")
currencyCurrencyThe currency used in this credit note✔️
customerCustomerThe customer this credit note is addressed to✔️
internal_notesstringNotes about this credit note that only you will see✔️
global_discountdecimal(12,2)The global discount applied to the credit note✔️
idintegerThe id of the credit note
labelstringThe order number of this specific credit note. Automatically generated
line_itemsLine itemsThe line items of the credit note
locationLocationThe location used in this credit note✔️
notesstringNotes about this credit note that you AND the customer will see✔️
price_levelPrice levelThe price level used in this credit note✔️
seasonSeasonThe season used for this credit note✔️
shipping_costdecimal(10,2)The shipping cost of this order✔️
shipping_taxesTaxesThe shipping taxes of this order✔️
subtotaldecimal(12,2)The subtotal of this order
taxesTaxesThe taxes applied to this order✔️
tax_typeObjectThe type of the taxes of this order ("Inclusive", "Exclusive")✔️
totaldecimal(12,2)The total cost of this order
total_taxesTotalTaxesThe total taxes of this order
total_unitsdecimal(17,7)The total units of this order
userUserThe user who created this order

Example of a query

query{
  CreditNotes{
    edges{
      node{
        account_manager{
          id
        }
        bill_to{
          country
        }
        changed
        created
        created_from_invoice{
          id
        }
        created_from_type
        created_from_product_return{
          id
        }
        credit_note_status
        currency{
          iso
        }
        customer{
          label
        }
        internal_notes
        global_discount
        id
        label
        line_items{
          edges{
            node{
              id
            }
          }
        }
        location{
          id
        }
        notes
        price_level{
          id
        }
        season{
          id
        }
        shipping_cost
        shipping_taxes{
          edges{
            node{
              id
            }
          }
        }
        subtotal
        taxes{
          edges{
            node{
              id
            }
          }
        }
      }
    }
  }
}