Schema Documentation

TaxLine

Description

a tax line object

Fields
Field NameDescription
databaseId - Int The ID of the order item in the database
id - ID! The ID of the order item in the database
isCompound - Boolean Is this a compound tax rate?
label - String Tax rate label
metaData - [MetaData] Object meta data
Arguments
key - String

Retrieve meta by key

keysIn - [String]

Retrieve multiple metas by key

multiple - Boolean

Retrieve meta with matching keys

orderId - Int The Id of the order the order item belongs to.
rateCode - String Tax rate code/name
shippingTaxTotal - String Tax line's shipping tax total
taxRate - TaxRate Tax line's tax rate
taxTotal - String Tax total (not including shipping taxes)
Example
{"databaseId":123,"id":"4","isCompound":true,"label":"xyz789","metaData":[MetaData],"orderId":123,"rateCode":"xyz789","shippingTaxTotal":"xyz789","taxRate":TaxRate,"taxTotal":"abc123"}
©  2021-2023WPGraphQL WooCommerce.All rights reserved.