Closed mw10013 closed 4 months ago
Hi @mw10013, Thank you for raising a detailed report.
We are aware of this difference in Product entity between our API/docs and SDK and we have a ticket to get it updated. We are at the final leg of this change and it should be added to the SDK soon.
Thank you.
Tell us about your feature request
Add
updatedAt
toProduct
andProductNotification
to align with api and webhooks.Product
andProductNotification
seems to havecreatedAt
but notupdatedAt
. API documentsupdated_at
forProduct
object and list/create/get/update. Webhooks documentsupdated_at
for created, imported, and updated product event.https://github.com/PaddleHQ/paddle-node-sdk/blob/2fb1bb5b09cfcee2c902081cb444d5acd166b45d/src/entities/product/product.ts#L11-L22
https://developer.paddle.com/api-reference/products/get-product
https://github.com/PaddleHQ/paddle-node-sdk/blob/2fb1bb5b09cfcee2c902081cb444d5acd166b45d/src/notifications/entities/product/product-notification.ts#L12-L22
https://developer.paddle.com/webhooks/products/product-created https://developer.paddle.com/webhooks/products/product-imported https://developer.paddle.com/webhooks/products/product-updated
What problem are you looking to solve?
Synchronize and reconcile application database with Paddle.
Additional context
No response
How important is this suggestion to you?
Important