Paddle Billing
Search

Get product information for subscription items

Subscription items now return the related product object, useful for showing product name, image, and other information your frontend. The returned product is a snapshot of the product at the time it was added to the subscription.

What's new?

We updated the subscription entity, so that subscription.items[] now returns a product object containing the related product entity.

itemsarray[object]

List of items on this subscription. Only recurring items are returned.

productobject

Related product entity for this item. This reflects the product entity at the time it was added to the subscription.

How it works

A complete product in Paddle is made up of a product entity and a related price entity. Products describe items customers purchase, and prices describe how you bill for them.

When working with subscriptions, Paddle returns a price object for each item. You can use this to get information about the price of an item.

Previously, to get the related product for a price, you'd need to make another call to the Paddle API. With this release, we return the product object for each item too. This means you can present information like product name, image, description, and other data in your frontend when working with subscription entities.

The product returned is a snapshot of the product at the time it was added to the subscription. If you update a product entity after it's added to a subscription, the product object returned for a subscription item doesn't include any changes made since it was added.

Summary of changes

This is a summary of the changes to fields in the Paddle API and webhooks.

FieldChange
subscription.items[].productNew

Example

This example is a response for the get a subscription operation.

Next steps

This change is available in version 1 of the Paddle API.

It's a non-breaking change, meaning it doesn't impact existing integrations.

You can list subscriptions using the API to check out the changes to subscription items.

Learn more