Question

WooCommerce Subscription Rebilling Data Change

  • 1 December 2021
  • 4 replies
  • 48 views

Userlevel 3
Badge +1

I have a client that is trying to make it so that a specific type of subscription order customer gets a free month. To do so, we need to change the re-bill date on that subscription +1mo

When trying to update the subscription for the customer, I keep getting a 400 error and cannot figure out why. 

 

 

 

This shows me manually trying to put in a date. I have tried different date formats as well. Ive tried pulling the order date and doing +1y, +1mo

 

Even when I leave the date blank im getting the 400 error


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

Userlevel 7
Badge +14

Hi @AppGuyAaron

Try different date formats, apps often expects date as a certain format, per their API docs: https://woocommerce.github.io/subscriptions-rest-api-docs/index.html#subscription-properties

Userlevel 3
Badge +1

@Troy Tessalone 

 

Tried this and still got the 400 error:

 

in fact, even when I leave the next payment date blank, and just give the subscription ID with no actual updates to fields im still getting the error. 

Userlevel 7
Badge +14

@AppGuyAaron

Check that there are no leading/trailing extra spaces fields with static values or mapped variables.

Check the mapped variable is correct. (since it’s unclear what the WC trigger step is)

Can try opening a ticket with Zapier Support as well: https://zapier.com/app/get-help

Userlevel 7
Badge +9

Hey @AppGuyAaron just checking in here! Were you able to get the date formatting to work or are you still running into issues here? If the ladder, let us know where you’re stuck and we’re happy to continue working through this with you!