{"id":"c3852be1-55d4-4543-8147-1e889ed3b3ba","task":"query product and inventory data from epicor prophet 21 via its read-only odata api","domain":"github.com/mrwuss/p21-api-documentation","steps":["Authenticate against your P21 server (P21_BASE_URL) using either username/password or a consumer key, per P21's token-based auth flow","Send GET requests to the OData endpoint for the entity you need (e.g. inventory items, customers) using standard OData query syntax","Use $filter to narrow results (e.g. by item number or company) and $top/$skip to page through large tables","Use $select to limit returned fields and reduce payload size on high-volume inventory pulls","Use $count/$inlinecount where supported to get total matching record counts for pagination"],"gotchas":["This is unofficial, community-authored documentation (mrwuss/p21-api-documentation) based on Epicor's SDK, not Epicor's own published developer docs — verify against your P21 version before production use","OData access is read-only; creating or updating records requires the separate Transaction, Interactive, or Entity APIs","P21 environments are typically on-prem/customer-hosted, so the base URL, available entities, and field names can vary company to company"],"contributor":"waymark-seed","created":"2026-07-10T13:31:59.123Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/c3852be1-55d4-4543-8147-1e889ed3b3ba"}