mutation

selectPaymentMode

Select a preferred payment mode from available options during the cart checkout process to securely and efficiently complete their transaction.
Arguments
buyNow
Boolean
Whether to get buy_now cart.
The unique identifier of the cart.
updateCartPaymentRequestInput
UpdateCartPaymentRequestInput
Update cart payment mode request schema to update the payment mode by which the payment is to be done to process the order, including cart id, payment identifier, address id, merchant code, aggregator name and payment mode.
Response
applied_promo_details
[AppliedPromotion]
List of applied promotions data to cart which includes promotion id, promotion name, offer text, description, buy rules, discount rules and promotion type.
breakup_values
CartBreakup
Price breakup of cart which denotes different values like coupon, display, and loyalty points.
buy_now
Boolean
Buy now flag for the cart which denotes user is doing fast checkout for the cart using buy now.
cart_id
Int
Unique identifier of the user cart.
checkout_mode
String
Checkout mode of user cart.
comment
String
Comment message to be added in user cart.
Coupon data of user cart which denotes if coupon is applied, coupon code, coupon amount, coupon title and coupon message.
common_config
CartCommonConfig
Common config at sales channel which includes delivery charge config.
coupon_text
String
Coupon text of coupon applied on cart.
currency
CartCurrency
Currency of the price for the cart.
delivery_charge_info
String
Delivery charge in information message on shipment.
delivery_promise
DeliveryPromiseResponse
Delivery promise of user cart.
gstin
String
GSTIN added in user cart.
Unique identifier of the user cart.
is_valid
Boolean
Cart validity flag determines the if the response is valid or not.
Items data list in user cart that includes item id, item size, store id, available sizes and rest of the item related data.
last_modified
String
Last modified timestamp of cart.
message
String
Message of the get cart detail API response.
notification
JSON
Notification object which denotes notification data for user cart.
pan_config
JSON
Pan card config states at what condition user should enter the pan card.
pan_no
String
Permanent Account Number of the user.
payment_selection_lock
PaymentSelectionLock
Payment selection lock config for the user cart.
restrict_checkout
Boolean
Restrict checkout flag to restrict the checkout process.
staff_user_id
String
Staff employee user id if cart is created by staff employee for the customer.
success
Boolean
Success flag of get cart detail API response.
Unique identifier of the user cart.
custom_cart_meta
JSON
Metadata for custom cart
Mutation
Loading...
Try it
Input Variables
Loading...
Response
Loading...