Skip to main content
Best answer

Trying to use the API Request (Beta) in Stripe to update a subscription description value


Forum|alt.badge.img

 

I am trying to update an existing Stripe Subscription with a new value for “description” using the Stripe API in Zapier.

 

Here is the request I am making:

 

I get a 404 response from Stripe with this error detail.

 

Trying to figure out what is missing from my request to update the description value for a Stripe Subscription.  If there are any examples of using this Stripe API option with PUT or PATCH requests would also be helpful.

Best answer by western592Best answer by western592

I was able to figure it out.  I used a POST request wth the “API Request (Beta) in Stripe” action and put the key pair I wanted to change in the query string parameters.  I also removed all of the request headers as well. 

 

 

View original
Did this topic help you find an answer to your question?

4 replies

Troy Tessalone
Forum|alt.badge.img+14

​Hi ​@western592 

Try this JSON:

{
  "description": "test"
}

 


Forum|alt.badge.img
  • Author
  • New
  • 2 replies
  • January 31, 2025

I tried that JSON you suggested.  I am still getting the same error message.

FYI - If I change my request to a GET request.  I can pull all of the subscription details, so I know the basic API request is working.  I just can’t figure out what it needs for a PUT request to change the description value.


Forum|alt.badge.img
  • Author
  • New
  • 2 replies
  • Answer
  • January 31, 2025

I was able to figure it out.  I used a POST request wth the “API Request (Beta) in Stripe” action and put the key pair I wanted to change in the query string parameters.  I also removed all of the request headers as well. 

 

 


Troy Tessalone
Forum|alt.badge.img+14

@western592 

Stripe API Endpoint documentation to update Subscription:
https://docs.stripe.com/api/subscriptions/update