Schema Documentation

cartFee

Description

The cart object

Response

Returns a CartFee

Arguments
NameDescription
id - ID!

Example

Query
query cartFee($id: ID!){  cartFee(id: $id){    amountidnametaxClasstaxabletotal  }}
Variables
{"id":4}
Response
{"data":{"cartFee":{"amount":123.45,"id":"4","name":"abc123","taxClass":"INHERIT_CART","taxable":false,"total":123.45}}}
©  2021-2023WPGraphQL WooCommerce.All rights reserved.