Retrieve
GET/products/{code}
Retrieves a product by code.
Path Parameters
code: string
Product code. Must not include #, /, or :.
Returns
Retrieve
curl https://api.us-west-2.fragment.dev/billing/products/$CODE{
"data": {
"id": "product_1234567890",
"code": "PROD_001",
"created": "2024-01-13T00:00:00Z",
"update_version": 1,
"workspace_id": "ws_1234567890",
"description": "Premium subscription service"
}
}Returns Examples
{
"data": {
"id": "product_1234567890",
"code": "PROD_001",
"created": "2024-01-13T00:00:00Z",
"update_version": 1,
"workspace_id": "ws_1234567890",
"description": "Premium subscription service"
}
}