---
updatedAt: 2026-10-12T13:25:12.000Z
agentTools:
  projectIndex: https://developers.shoppinggives.com/llms.txt
---

# Add Product to Group

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "info": {
    "title": "Creating and Managing Products",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://products.api.shoppinggives.com"
    }
  ],
  "paths": {
    "/grouping/{id}/add-product": {
      "post": {
        "tags": [
          "Products"
        ],
        "summary": "Add Product to Group",
        "description": "",
        "parameters": [
          {
            "name": "x-store-id",
            "in": "header",
            "description": "Your store ID (we will provide this).",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Your store ID (we will provide this).",
              "example": "321944e1-470d-4b0d-a3d8-cf4c96b5b88f"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "ID of the Group this Product belongs to, as it appears in our system.",
            "required": true,
            "schema": {
              "type": "integer",
              "description": "ID of the Group this Product belongs to, as it appears in our system.",
              "format": "int64",
              "example": 1234
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AddProductToGroupContract"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddProductToGroupContract"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddProductToGroupContract"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddProductToGroupContract"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuccessResponse"
                }
              }
            }
          },
          "400": {
            "description": "Group ID must exist and be associated to the Store specified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "API_Key": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "nullable": true
          },
          "statusCode": {
            "type": "integer",
            "format": "int32"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "validationFailures": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "stackTrace": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddProductToGroupContract": {
        "required": [
          "productId"
        ],
        "type": "object",
        "properties": {
          "productId": {
            "type": "integer",
            "description": "The Product's ID as it appears in our system. This is the same ID returned\r\nfrom the Create Product endpoint.",
            "format": "int64",
            "example": 12345
          },
          "overrideDonations": {
            "type": "boolean",
            "description": "If set to true, the Group's donation settings will the donation settings of the Product.",
            "example": false
          }
        },
        "additionalProperties": false
      },
      "SuccessResponse": {
        "type": "object",
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "API_Key": {
        "type": "apiKey",
        "description": "ShoppingGives API_Key",
        "name": "x-store-api-key",
        "in": "header"
      }
    }
  }
}
```