#xqprtzcv

1 messages ยท Page 1 of 1 (latest)

pallid lilyBOT
cinder flame
#

๐Ÿ‘‹ Next time if you have a thread open already you can continue asking questions there

#

Give me a minute to take a look

tidal sun
#

Think I need to expand customer tax

cinder flame
#

Backing up for a second - is there a reason you made a post request to the Tax Rates API and note a retrieval reqeust?

tidal sun
#

No reason, my mistake

cinder flame
#

Yeah if that's all you need then you just need to switch to retrieving and not doing an update request

tidal sun
#

Yes, that fixes that problem. Can I get the tax info in a single api call by using expand?

cinder flame
#

I think you could do it in a single call if you expand latest_invoice.total_tax_amounts.tax_rate

tidal sun
#

Thank you so much, I will mess around with it.

cinder flame
#

๐Ÿ‘

#

(oops I had a typo in there - I wrote latest_invoice.total_tax_amounts.tax_rate.tax_rate initially but it should be latest_invoice.total_tax_amounts.tax_rate

tidal sun
#

Works! Thank you

cinder flame
#

awesome ๐Ÿ™‚