/create_cart.graphql Secret
Created
September 29, 2021 13:32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutation createCart($cartInput: CartInput) { | |
cartCreate(input: $cartInput) { | |
cart { | |
id | |
lines(first:10) { | |
edges { | |
node { | |
merchandise { | |
... on ProductVariant { | |
product { | |
title | |
} | |
title | |
} | |
} | |
} | |
} | |
} | |
attributes { | |
key | |
value | |
} | |
estimatedCost { | |
totalAmount { | |
amount | |
currencyCode | |
} | |
subtotalAmount { | |
amount | |
currencyCode | |
} | |
totalTaxAmount { | |
amount | |
currencyCode | |
} | |
totalDutyAmount { | |
amount | |
currencyCode | |
} | |
} | |
} | |
} | |
} |
Hi Shayne
Is there any way we use use it by CURL,
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Shayne
We are really struggling to get this right on a private app. Trying to create a cart for a customer and then email them a url to checkout - is this possible?
Any advice?
Thanks
Deon