Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Updating base_amount attribute in cart object graphql #7061

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/_includes/graphql/cart-object.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Attribute | Data Type | Description
`billing_address` | [BillingCartAddress][BillingCartAddress] | Contains the billing address specified in the customer's cart
`email` | String | The customer's email address
`id` | ID! | The ID of the cart
`is_virtual` | Boolean | Indicates whether the cart contains only virtual products
`is_virtual` | Boolean! | Indicates whether the cart contains only virtual products
`items` | [[CartItemInterface]][CartItemInterface] | Contains the items in the customer's cart
`prices` | [CartPrices][CartPrices] | Contains subtotals and totals
`selected_payment_method` | [SelectedPaymentMethod][SelectedPaymentMethod] | Selected payment method
Expand Down
4 changes: 2 additions & 2 deletions src/guides/v2.3/graphql/queries/cart.md
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ query {

Attribute | Data Type | Description
--- | --- | ---
`cart_id` | String | A 32-character string that is created when you [create a cart]({{page.baseurl}}/graphql/mutations/create-empty-cart.html)
`cart_id` | String! | A 32-character string that is created when you [create a cart]({{page.baseurl}}/graphql/mutations/create-empty-cart.html)

## Output attributes {#cart-output}

Expand Down Expand Up @@ -622,7 +622,7 @@ Attribute | Data Type | Description
--- | --- | ---
`amount` | Money! | The cost of shipping using this shipping method
`available` | Boolean! | Indicates whether this shipping method can be applied to the cart
`base_amount` | Money | The base shipping cost, not including taxes or other cost adjustment. Could be null if method is not available
`base_amount` | Money | Deprecated. This attribute is not applicable for GraphQL
`carrier_code` | String! | A string that identifies a commercial carrier or an offline shipping method
`carrier_title` | String! | The label for the carrier code
`error_message` | String | Describes an error condition
Expand Down