> Documentation index: [Saleor](/llms.txt) · [This section](/developer/llms.txt)
> Source: https://docs.saleor.io/developer/bulks/overview

# Bulk Operations

Saleor provides a set of bulk mutations that allow you to efficiently create or update multiple objects in a single API call. These operations are particularly useful for data migration, system integration, or initial store setup.

<a id="available-bulk-mutations"></a>

## Available Bulk Mutations

<a id="attributes"></a>

### Attributes

The bulk attribute mutations enable you to create and update multiple attributes and their values in a single operation. This is particularly useful when setting up or modifying your product attribute structure.

-   [`attributeBulkCreate`](/api-reference/attributes/mutations/attribute-bulk-create.md)
-   [`attributeBulkUpdate`](/api-reference/attributes/mutations/attribute-bulk-update.md)

For detailed guidance and example payloads, see the [bulk attributes documentation](/developer/bulks/bulk-attributes.md).

<a id="customers"></a>

### Customers

The [`customerBulkUpdate`](/api-reference/users/mutations/customer-bulk-update.md) mutation allows you to update multiple customer accounts simultaneously. This is useful for updating customer information, or status in bulk.

Before updating customers, ensure you have:

-   Valid **customer IDs or external reference** for all records being updated
-   Address formats validated for your target regions

<a id="orders"></a>

### Orders

Saleor offers the [`orderBulkCreate`](/api-reference/orders/mutations/order-bulk-create.md) mutation to facilitate the import of multiple orders simultaneously, which is particularly useful when migrating data from external systems.

For detailed guidance and example payloads, see the [bulk orders guide](/developer/bulks/bulk-orders.md).

<a id="products-and-variants"></a>

### Products and Variants

Saleor provides three bulk mutations to help you manage products and variants at scale. These are ideal for initializing large catalogs, synchronizing data from external systems, or performing mass updates efficiently:

-   [`productBulkCreate`](/api-reference/products/mutations/product-bulk-create.md): Create multiple products along with their variants, attributes, and channel listings.
-   [`productVariantBulkCreate`](/api-reference/products/mutations/product-variant-bulk-create.md): Create multiple variants for existing products in a single mutation.
-   [`productVariantBulkUpdate`](/api-reference/products/mutations/product-variant-bulk-update.md): Update attributes, pricing, and inventory details for multiple variants at once.

For detailed guidance and example payloads, see the [bulk products documentation](/developer/bulks/bulk-products.md).

<a id="stock-management"></a>

### Stock Management

The [`stockBulkUpdate`](/api-reference/products/mutations/stock-bulk-update.md) mutation enables you to update stock levels across multiple warehouses in a single operation. This is useful for inventory synchronization and bulk stock adjustments.

For detailed guidance and example payloads, see the [bulk stock update documentation](/developer/bulks/bulk-stock.md).

<a id="translations"></a>

### Translations

Bulk translation mutations allow you to manage translations for multiple products, variants, attributes, and values in a single operation. This is essential for maintaining multilingual catalogs.

-   [`productBulkTranslate`](/api-reference/products/mutations/product-bulk-translate.md)
-   [`productVariantBulkTranslate`](/api-reference/products/mutations/product-variant-bulk-translate.md)
-   [`attributeBulkTranslate`](/api-reference/attributes/mutations/attribute-bulk-translate.md)
-   [`attributeValueBulkTranslate`](/api-reference/attributes/mutations/attribute-value-bulk-translate.md)
-   [`promotionRuleTranslate`](/api-reference/discounts/mutations/promotion-rule-translate.md)

Before using translation mutations, ensure the following:

-   You are using proper and valid language codes for all translations.
-   The objects you want to translate (products, variants, attributes, attribute values, or promotion rules) already exist in the system.

<a id="best-practices"></a>

## Best Practices

<a id="performance-optimization"></a>

### Performance Optimization

-   Limit batch sizes to 100 objects per request
-   Run operations during off-peak hours
-   Monitor system resources during large imports

<a id="error-handling"></a>

### Error Handling

-   Refer to the [Error policy](/developer/bulks/error-policy.md) documentation to select the most appropriate error-handling strategy for your use case.
-   Log all errors for troubleshooting

<a id="data-validation"></a>

### Data Validation

-   Validate data structure before sending
-   Check required fields and relationships
-   Ensure data consistency across related objects

<a id="monitoring"></a>

### Monitoring

-   Track progress of bulk operations
-   Monitor API response times
-   Set up alerts for failed operations
