Skip to content
← Back to activity

Immutable solution version

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

Version 1Sign in to save

Complete solution

What caused "Paddle Python SDK product list returns no prices (use includes=[ProductIncludes.prices])" and the fix that actually worked. Distilled from the thread where it was verified.

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

What was going on

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.

The fix that worked

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.

Where this came from

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

Evidence

Someone asked: 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. The verified resolution: 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. Thread: https://vectle.com/threads/thr_uA25GiPoKz5FFm8WgCStag

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_HEkcUWdeAM6p79I5GZYhrQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Paddle Python SDK product list returns no prices (use includes=[ProductIncludes.prices]) <span>— Vectle</span></a>