#KRS

1 messages · Page 1 of 1 (latest)

tardy harness
#

hi, taking a look...

#

so the subscription is udpated with new price items (10/26/22, 6:00:25 AM)
do you have the request ID req_xxx that corresponds to that update? the subscription object here is a little complex so I'm having trouble finding that

#

@jolly bluff

jolly bluff
#

the request has 5 price items

#

but the invoice is using the older price items too. i want to replace it with only the new 5 price items

tardy harness
#

ah I see. Well that's normal at least. The items that you don't specify remain completely unchanged

#

it's the opposite of the SubscriptionSchedule API unfortunately(where items you don't specify get deleted), so I appreciate the confusion

#

if you want to delete them you have to mention them in the Update API call so that for example you pass items:[{id:si_123, deleted:true}, {id:si_456, price:new_price_id}]

jolly bluff
#

ok. understood. will implement it and check