#jcu1012-pending-updates

1 messages ยท Page 1 of 1 (latest)

sour swift
wicked phoenix
#

But is it possible to understand why it's not possible to Delete items in such cases ? And what the difference between setting quantity to 0 and deleting them is ?

sour swift
#

I'm not sure of the 'why' to be honest, it's just not possible. There may be a workaround however. Can you share the payload for your update call now

wicked phoenix
#

Does the API process subscriptions differently if they don't have a product specified vs. having a 0 quantity product as an item part of the subscription ?

sour swift
#

Well you can't have a subscription without an iteam/product

#

My recommendation is to set quantity: 0 for the item you want to delete, and then following the successful 'pending update' you can then delete the item

wicked phoenix
#

As long as PaymentBehavior is set to Pending, how can I delete the item ?

sour swift
#

The deletion limitation only applies to updates with pending_if_incomplete

wicked phoenix
#

Thank you so much for this ๐Ÿ™‚

sour swift
#

Sure, np!