Generate a unique shareable link for the customer's cart for a specific sales channel. This link enables easy sharing of the cart contents with other users, facilitating collaborative shopping experiences.
Arguments
getShareCartLinkRequestInput
GetShareCartLinkRequestInputCart share link request schema used to get the share link to share cart to any other user. This includes cart id and meta json.
Mutation
1mutation getCartShareLink(2 $getShareCartLinkRequestInput: GetShareCartLinkRequestInput3) {4 getCartShareLink(5 getShareCartLinkRequestInput: $getShareCartLinkRequestInput6 ) {7 share_url8 token9 }10}
Try it
Input Variables
1{2 "getShareCartLinkRequestInput": {3 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",4 "meta": {}5 }6}
Response
1{2 "getCartShareLink": {3 "share_url": "share_url",4 "token": "token"5 }6}
Was this section helpful?