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

# Get Orders' Donation Information for a Customer

Authorization: Store:Donation:Read

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "info": {
    "title": "Creating And Tracking Donations",
    "description": "The Donations API tracks updates to donations from all sources, and pays out to the charity.",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://donations.api.shoppinggives.com"
    }
  ],
  "paths": {
    "/reporting/customer/{id}/orders": {
      "get": {
        "tags": [
          "Donations"
        ],
        "summary": "Get Orders' Donation Information for a Customer",
        "description": "Authorization: Store:Donation:Read",
        "parameters": [
          {
            "name": "x-store-id",
            "in": "header",
            "description": "Your store ID (we will provide this).",
            "schema": {
              "type": "string",
              "description": "Your store ID (we will provide this).",
              "format": "uuid",
              "example": "321944e1-470d-4b0d-a3d8-cf4c96b5b88f"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "Any string used to identify a user in your CMS, for example:\"CUST01234\", \"1234412\", or \"PERSON1\".",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Any string used to identify a user in your CMS, for example:\"CUST01234\", \"1234412\", or \"PERSON1\".",
              "nullable": true,
              "example": "CUST01234"
            }
          },
          {
            "name": "pageLength",
            "in": "query",
            "description": "Number of results to return (default = 25).",
            "schema": {
              "type": "integer",
              "description": "Number of results to return (default = 25).",
              "format": "int32",
              "nullable": true,
              "example": 10
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Current page of results (default = 1).",
            "schema": {
              "type": "integer",
              "description": "Current page of results (default = 1).",
              "format": "int32",
              "nullable": true,
              "example": 5
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OrderResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "API_Key": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "OrderReadModelResponse": {
        "type": "object",
        "properties": {
          "orderId": {
            "type": "string",
            "description": "ID of the order you want to reference.",
            "nullable": true,
            "example": "#4123"
          },
          "causeName": {
            "type": "string",
            "description": "Name of the charity that will receive the donation.",
            "nullable": true,
            "example": "Some Charity"
          },
          "orderDate": {
            "type": "string",
            "description": "Date/time the order was created.",
            "format": "date-time",
            "example": "2021-03-11T13:59:20.0000000-05:00"
          },
          "orderTotal": {
            "type": "number",
            "description": "Total paid for the referenced order.",
            "format": "double",
            "example": 110
          },
          "donationAmount": {
            "type": "number",
            "description": "Amount of the donation made for the referenced order.",
            "format": "double",
            "example": 4
          }
        },
        "additionalProperties": false
      },
      "OrderResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "order": {
            "$ref": "#/components/schemas/OrderReadModelResponse"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "API_Key": {
        "type": "apiKey",
        "description": "API_Key for your store (we'll provide this).",
        "name": "x-store-api-key",
        "in": "header"
      }
    }
  }
}
```