# CartCreatePayload Payload returned by the cartCreate mutation ## Type Definition ```graphql type CartCreatePayload { cart: Cart userErrors: [UserError]! } ``` ## Fields | Field | Type | Description | |-------|------|-------------| | `cart` | `Cart` | The created cart | | `userErrors` | `[UserError]!` | List of errors that occurred during cart creation | ## Relationships The `CartCreatePayload` type is returned by the `cartCreate` mutation. It contains a reference to the newly created `Cart` object and a list of `UserError` objects that describe any validation errors or issues encountered during the cart creation process. ## Example ```graphql mutation { cartCreate { cart { id checkoutUrl } userErrors { field message } } } ``` ## Implements This type does not implement any interfaces. ## Related Types - [Cart](/reference/storefront/v1/objects/cart) - [UserError](/reference/storefront/v1/objects/user-error)