cancel
Showing results for 
Search instead for 
Did you mean: 

Limit on product creation? And how to delete a product? And how to retrive all active subscription?

Options
Imengine
Contributor
Posted on

Hi all,

I'm following this guide https://developer.paypal.com/docs/subscriptions/ but I'm having problems to find the answer to some questions?

 

1.
Is there a limit in sandbox on product creation? I created the first one through API without problems. But If I try to create a second one, no product is created and I receive data of the first product as response.

2.

Moreover, is there a way to delete a product? I'm not able to find the right curl call to delete a product.

 

3. How I retrive all active subscription? 

 

Thanks!

Luca

2 REPLIES 2

Limit on product creation? And how to delete a product? And how to retrive all active subscription?

Options
MTS_Jennifer
Moderator

Hello,

Thank you for posting to the PayPal Sandbox Community.

Can you please comment the error message you are receiving when you try to create additional products?

There is no limit on the amount of products you can create.

I have tested and have been able to create multiple products even with the same exact name.

You may want to run a get call to this endpoint: https://api.sandbox.paypal.com/v1/catalogs/products?page_size=2&page=1&total_required=true

That endpoint will show you how many products you have created.

Make sure your access token has not expired.

You can Update your existing products, changing the description, category, image_url, and home_url

I don't see any documentation on deleting your products, so you can overwrite what is stored instead of deleting.

If you want to see all of the billing plans that have been created you can run a get call to this endpoint: https://api.sandbox.paypal.com/v1/payments/billing-plans?page_size=3&status=ALL&page_size=2&page=1&t...

Thank you,

Jennifer

PayPal

Limit on product creation? And how to delete a product? And how to retrive all active subscription?

Options
Imengine
Contributor

Thank you for your reply.

 

About limit on product creation, maybe I was doing some mistake. I sorted out using your frontend https://www.sandbox.paypal.com/billing/plans signing in using the default business account credentials I found in the sandbox dashboard.

 

About deleting a product, I accept the answer even if I don't understand the reason why.

 

About billing plans list, I see that /v1/payments/billing-plans endpoint is deprecated. In any case I was looking for the list of all subscriptions but I'm not able to find anything in the new api https://developer.paypal.com/docs/subscriptions/full-integration/subscription-management/

 

Thank you

Luca

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.