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

# Get Donation on Product

# 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": {
    "/product/{id}/donation-value": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Get Donation on Product",
        "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": "The ID of the Product that will be referenced, as it appears in our system.",
            "required": true,
            "schema": {
              "type": "integer",
              "description": "The ID of the Product that will be referenced, as it appears in our system.",
              "format": "int64"
            }
          },
          {
            "name": "realPrice",
            "in": "query",
            "description": "(OPTIONAL) Price of the Product.",
            "schema": {
              "type": "number",
              "description": "(OPTIONAL) Price of the Product.",
              "format": "double",
              "nullable": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DonationValueModel"
                }
              }
            }
          },
          "400": {
            "description": "Store ID is required",
            "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
      },
      "DonationType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "ProductEntityType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "ProductEntityInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "cmsId": {
            "type": "string",
            "nullable": true
          },
          "entityType": {
            "$ref": "#/components/schemas/ProductEntityType"
          }
        },
        "additionalProperties": false
      },
      "DonationValueModel": {
        "type": "object",
        "properties": {
          "dollarValue": {
            "type": "number",
            "format": "double"
          },
          "providedPrice": {
            "type": "number",
            "format": "double"
          },
          "causes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "maxDollarValue": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "minDollarvalue": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "excluded": {
            "type": "boolean"
          },
          "donationType": {
            "$ref": "#/components/schemas/DonationType"
          },
          "donationTypeValue": {
            "type": "number",
            "format": "double"
          },
          "unableToCalculate": {
            "type": "boolean"
          },
          "entityInfo": {
            "$ref": "#/components/schemas/ProductEntityInfo"
          },
          "directDonationType": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "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"
      }
    }
  }
}
```