Last update:
March 19, 2024
addOrUpdateCartPayment mutation¶
This mutation:
- Adds or updates cart payment.
- Supports partial update, with all fields in
command.payment
andcommand.payment.billingAddress
being optional.
Arguments¶
The InputAddOrUpdateCartPaymentType
represents the input object type used for adding or updating a payment for a cart.
Field | Description |
---|---|
cartId String |
The Id of the cart to which the payment will be added or updated. |
storeId String! |
The Id of the store associated with the cart. |
cartName String |
The name of the cart. |
userId String |
The Id of the user who owns the cart. |
currencyCode String |
The currency code for the cart. |
cultureName String |
The culture or language associated with the cart. |
cartType String |
The type of the cart. |
payment InputPaymentType! |
The payment details to be added or updated for the cart. |
Possible returns¶
Possible return | Description |
---|---|
CartType |
The properties and fields associated with a shopping cart. |