cURL
curl --request GET \ --url https://staging-api.puppetvendors.com/products/counts \ --header 'x-access-token: <api-key>'
Get a breakdown of how many products you have in each status
Documentation IndexFetch the complete documentation index at: https://dev.puppetvendors.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://dev.puppetvendors.com/llms.txt
Use this file to discover all available pages before exploring further.
products:read
{ "success": true, "data": { "counts": { "active": 45, "draft": 12, "pending": 3, "error": 1, "deleted": 0, "archived": 5 } } }
curl -X GET "https://staging-api.puppetvendors.com/products/counts" \ -H "x-access-token: YOUR_VENDOR_JWT"
Was this page helpful?