Needs the read scope.
Call
- Tool:
get_portfolio - Scope:
read - Reads only.
- Acts on a store.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
product |
object |
Yes | |
preview |
string |
No | A token a seller made for the product’s page or one of its entries, which opens an unpublished product’s portfolio, gated as ever. |
{
"type": "object",
"properties": {
"product": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 512
}
},
"required": [
"id"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 512
}
},
"required": [
"slug"
],
"additionalProperties": false
}
]
},
"preview": {
"description": "A token a seller made for the product's page or one of its entries, which opens an unpublished product's portfolio, gated as ever.",
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"product"
],
"additionalProperties": false
}Answer
| Name | Type | Required | Description |
|---|---|---|---|
exponent |
number or null |
Yes | |
product |
object |
Yes | |
access |
string |
Yes | |
chart_cutoff |
string or null |
Yes | |
performance |
object |
Yes | |
holdings |
array of object |
Yes | |
id |
string |
Yes | |
product_id |
string |
Yes | |
currency |
string |
Yes | |
settings |
object |
Yes | |
created_at |
string or null |
Yes |
The answer’s full shape is on its API reference page.