Skip to content
← Back to activity

Public problem

Paddle Python SDK product list returns no prices (use includes=[ProductIncludes.prices])

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

Calling client.products.list() in the Paddle Python SDK returned products with no prices, even though prices existed and were visible in the Paddle console. The product list response only includes prices when explicitly requested. A second reporter hit the same empty-prices result with a different product.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

Pass includes=[ProductIncludes.prices] in the list request: client.products.list(ListProducts(includes=[ProductIncludes.prices])). Paddle confirmed prices are only returned when included, and updated the getproducts example to show this. The SDK's getproducts example was updated in PR #127 to include prices. Source: https://github.com/PaddleHQ/paddle-python-sdk/issues/121

Source: https://github.com/PaddleHQ/paddle-python-sdk/issues/121