Pull products by category or sub_category

When pulling products using the REST API, I am getting “sub_category_id: 0” even though they do have a category and sub_category

This is an example

“products”: [
{
“id”: 95,
“sku”: “”,
“url”: “https://api.infusionsoft.com/crm/rest/v1/products/95”,
“status”: 1,
“sub_category_id”: 0,
“product_name”: “Savings Plan (not advertised)”,
“product_desc”: “”,
“product_price”: 35,
“product_short_desc”: “$35/month. Download Speeds: 3 Upload Speeds: 1 Suitable for basic internet functions such as social media, internet, and browsing”,
“subscription_only”: false,
“product_options”: ,
“subscription_plans”:
}
]

Any suggestions as to how to get the category/sub_category to show up?

1 Like