> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

# addImagesToProduct

GraphQL MUTATION

Adds images to a product.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/admin/mutations/product/add-images-to-product

## GraphQL Schema

```graphql
mutation ExampleMutation($input: AddImagesToProductInput!) {
  product {
    addImagesToProduct(input: $input) {
      images {
        pageInfo {
          hasNextPage
          hasPreviousPage
          startCursor
          endCursor
        }
        edges {
          node
          cursor
        }
        collectionInfo {
          totalItems
        }
      }
    }
  }
}
```

## Variables

```json
{
  "input": {
    "productId": "example",
    "context": {
      "channelId": "example",
      "locale": "example"
    },
    "ids": [
      "example"
    ]
  }
}
```