CartInput
Input for creating a new cart.
Input Definition
input CartInput {
lines: [CartLineInput]
buyerIdentity: BuyerIdentityInput
}Fields
Example
mutation CreateCart {
createCart(input: {
lines: [
{
merchandiseId: 12345
quantity: 2
}
]
buyerIdentity: {
email: "customer@example.com"
countryCode: "US"
}
}) {
cart {
id
lines {
id
quantity
}
}
}
}