Skip to content

Commit 5617b58

Browse files
base amount attribute is deprecated in cart object
1 parent 285fe6e commit 5617b58

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/_includes/graphql/cart-object.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Attribute | Data Type | Description
88
`billing_address` | [BillingCartAddress][BillingCartAddress] | Contains the billing address specified in the customer's cart
99
`email` | String | The customer's email address
1010
`id` | ID! | The ID of the cart
11-
`is_virtual` | Boolean | Indicates whether the cart contains only virtual products
11+
`is_virtual` | Boolean! | Indicates whether the cart contains only virtual products
1212
`items` | [[CartItemInterface]][CartItemInterface] | Contains the items in the customer's cart
1313
`prices` | [CartPrices][CartPrices] | Contains subtotals and totals
1414
`selected_payment_method` | [SelectedPaymentMethod][SelectedPaymentMethod] | Selected payment method

src/guides/v2.3/graphql/queries/cart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ query {
564564

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

569569
## Output attributes {#cart-output}
570570

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

0 commit comments

Comments
 (0)