{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/magistry-io/json-schema/magistry-io-post-api-v1-receipts-request-schema.json",
  "title": "PostApiV1ReceiptsRequest",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/magistry-io-openapi-generated.yml#/components/schemas/PostApiV1ReceiptsRequest",
  "type": "object",
  "properties": {
    "store_id": {
      "type": "string",
      "description": "One store this credential covers. Defaults to all of them; never widens."
    },
    "kinds": {
      "type": "array",
      "description": "Sources to include. Defaults to all six."
    },
    "action_id": {
      "type": "string",
      "description": "Only the rows of this action."
    },
    "since": {
      "type": "string",
      "description": "Inclusive lower bound on occurred_at."
    },
    "until": {
      "type": "string",
      "description": "Exclusive upper bound on occurred_at."
    },
    "limit": {
      "type": "integer",
      "description": "Rows per page."
    },
    "cursor": {
      "type": "string",
      "description": "The `next_cursor` of the previous page or export manifest."
    },
    "format": {
      "type": "string",
      "description": "Response format."
    },
    "all": {
      "type": "boolean",
      "description": "Stream every page as csv or jsonl, ending with a manifest line."
    },
    "subjects": {
      "type": "array",
      "description": "Only rows about one of these: a variant or product uuid, a Shopify numeric id, a gid or a theme handle."
    }
  }
}