Interface

LineItemProducts is an interface, implemented by the following types:

EntityType name
VariantsvariantType
ServicesserviceType

Available queries

Associated queryReturns multiple results
LineItemProducts✔️, but doesn't use the edge structure

Available fields

LabelTypeNotesNull
idintegerThe product or service's id
labelstringThe product or service's label
typestringThe product or service's type (ex : "variant" or "service")

Example of a query

query{
  LineItemProducts{
    id
    label
    type
    ... on variantType {
      barcode
    }
    ... on serviceType {
      deposit
    }
	}
}