---
title: "ProductVariantsBulkCreatePayload"
description: "The return type of the `productVariantsBulkCreate` mutation."
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-variants-bulk-create-payload'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/product-variants-bulk-create-payload.md'
---
# ProductVariantsBulkCreatePayload

The return type of the `productVariantsBulkCreate` mutation.

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

## Type Signature

`ProductVariantsBulkCreatePayload`

## Fields

* `product`

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

  The revised product object.

* `productVariants`

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

  Newly created variant.

* `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 ProductVariantsBulkCreatePayload { 
	product: Product
	productVariants: [ProductVariant!]
	userErrors: [UserError]! 
}
```

## Field from

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

  批量创建产品变体

## 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).

