---
title: "ProductCreatePayload"
description: "Return type based on product creation."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/product-create-payload'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/product-create-payload.md'
---
# ProductCreatePayload

Return type based on product creation.

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`ProductCreatePayload`

## Fields

* `product`

  [Product](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/product.md)

  Created product object.

* `userErrors`

  [[UserError]!](https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/objects/user-error.md)

  List of errors returned during mutation execution.

## Schema Definition

```graphql
type ProductCreatePayload { 
	product: Product
	userErrors: [UserError]! 
}
```

## Field from

* [Mutation](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/mutations/product-create.md).productCreate

  创建一个新产品

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

