query

sharedCartDetails

Get cart items from the shared cart link based on unique token.
Arguments
token
String!
Required
Token of the shared short link. .
Response
Cart of share cart which inclued cart items, promise, checkout mode, comment, GSTIN etc.
error
String
Error details if any error occurs which includes type of error, error code and error message.
Query
1query sharedCartDetails($token: String!) {
2 sharedCartDetails(token: $token) {
3 cart {
4 buy_now
5 cart_id
6 checkout_mode
7 comment
8 coupon_text
9 delivery_charge_info
10 gstin
11 id
12 is_valid
13 last_modified
14 message
15 restrict_checkout
16 uid
17 custom_cart_meta
18 }
19 error
20 }
21}
Try it
Input Variables
1{
2 "token": "token"
3}
Response
1{
2 "sharedCartDetails": {
3 "cart": {
4 "buy_now": true,
5 "cart_id": 42,
6 "checkout_mode": "checkout_mode",
7 "comment": "comment",
8 "coupon_text": "coupon_text",
9 "delivery_charge_info": "delivery_charge_info",
10 "gstin": "gstin",
11 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",
12 "is_valid": true,
13 "last_modified": "last_modified",
14 "message": "message",
15 "restrict_checkout": true,
16 "uid": "uid",
17 "custom_cart_meta": {}
18 },
19 "error": "error"
20 }
21}