CartInput input object

Specifies the input fields to create a cart.

Input fields

  • attributes ([AttributeInput!])

    An array of key-value pairs that contains additional information about the cart.

  • buyerIdentity (CartBuyerIdentityInput)

    The customer associated with the cart.

  • discountCodes ([String!])

    The discount codes to apply to the cart.

  • A list of merchandise lines to add to the cart.

  • note (String)

    A note that is associated with the cart. For example, the note can be a personalized message to the buyer.

Specifies the input fields to create a cart.

Input fields

  • attributes ([AttributeInput!])

    An array of key-value pairs that contains additional information about the cart.

  • buyerIdentity (CartBuyerIdentityInput)

    The customer associated with the cart.

  • discountCodes ([String!])

    The discount codes to apply to the cart.

  • A list of merchandise lines to add to the cart.

  • note (String)

    A note that is associated with the cart. For example, the note can be a personalized message to the buyer.