Look up a resource's fields
pc_get_resourceRetrieve the field dictionary for Partner Center resources (Customer, Subscription, Order, Invoice) with field types and usage notes. Use it to understand payloads and build request bodies.
Instructions
Return the field dictionary for a Partner Center resource — Customer, Subscription, Order, Invoice, CartLineItem and others — listing each field's name, type, and usage note. Use this to understand a payload you received or to work out what a request body needs. For the accepted values of an individual field use pc_get_enums, and for a ready-to-fill body skeleton for a specific operation use pc_build_request. Read-only, offline, deterministic. Omitting name returns the index of every resource instead of one resource's fields. An unknown name returns ok:false with suggestions listing all valid resource names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Resource to expand, e.g. "Subscription" or "CartLineItem". Matched case-insensitively. Omit it to list every documented resource with its description and field count, then call again with the one you want. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the call succeeded and `data` is populated; false when `error` explains why not. | |
| data | No | The result payload. Present only when `ok` is true. | |
| error | No | Human-readable reason the call failed. Present only when `ok` is false. | |
| suggestions | No | Valid values to retry with, returned alongside `error` when the requested identifier was not found. |