# Add a child product to grouping one

{% hint style="info" %}
Please bear in mind, that quantity isn't required and if used, cannot be a string - must be Integer (so there's no quotation mark)
{% endhint %}

{% hint style="info" %}
Both products must exist before this operation.&#x20;
{% endhint %}

```graphql
mutation {
  productGroupingAddChild(
    input: { sku: "SKU_GR_PRODUCT", childSku: "SKU_test2", quantity: 1 }
  ) {
    __typename
  }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ergonode.com/graphql/query-examples/add-a-child-product-to-grouping-one.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
