cartCreate
Create a new cart. All fields on input are optional — call with no input to create an empty cart, or pass initial lines, buyer identity, attributes, discount codes, email and a shipping address to skip the corresponding follow-up calls.
cartCreate(
input: CartCreateInput
): CartCreatePayload!
Arguments
cartCreate.input ● CartCreateInput input
Optional initial cart contents — lines, buyer identity, email, address, attributes, discount codes
Type
CartCreatePayload object
Result of cartCreate.