curl --request GET \
--url https://api.funnelfox.io/public/v1/products/{id} \
--header 'Fox-Secret: <fox-secret>'
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"platform": "<string>",
"external_id": "<string>",
"statement_descriptor": "<string>",
"entitlement": "<string>",
"metadata": {},
"status": "active",
"prices": [
{
"id": "<string>",
"external_id": "<string>",
"type": "one_time",
"amount": 123,
"currency": "<string>",
"interval": "day",
"interval_count": 2,
"status": "active",
"trial_type": "free_trial",
"trial": {
"type": "free_trial",
"duration_interval": "day",
"duration_count": 2,
"price": 123,
"currency": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"product": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"platform": "<string>",
"external_id": "<string>",
"statement_descriptor": "<string>",
"entitlement": "<string>",
"metadata": {},
"status": "active",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
curl --request GET \
--url https://api.funnelfox.io/public/v1/products/{id} \
--header 'Fox-Secret: <fox-secret>'
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"platform": "<string>",
"external_id": "<string>",
"statement_descriptor": "<string>",
"entitlement": "<string>",
"metadata": {},
"status": "active",
"prices": [
{
"id": "<string>",
"external_id": "<string>",
"type": "one_time",
"amount": 123,
"currency": "<string>",
"interval": "day",
"interval_count": 2,
"status": "active",
"trial_type": "free_trial",
"trial": {
"type": "free_trial",
"duration_interval": "day",
"duration_count": 2,
"price": 123,
"currency": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"product": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"platform": "<string>",
"external_id": "<string>",
"statement_descriptor": "<string>",
"entitlement": "<string>",
"metadata": {},
"status": "active",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Project Secret Key
"secret_"
Product ID
Product details
The response is of type object
.
Was this page helpful?