#zuverliebt_code

1 messages ¡ Page 1 of 1 (latest)

warm canyonBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1349472728897290241

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

sudden stone
#

Hello there

lone kraken
#

hey

sudden stone
#

You need to expand tax_ids here when you retrieve the Customer

#

Ah sorry I thought you were just retrieving the Customer

#

But you are actually using the List all Customer Tax IDs endpoint

#

Can you share the Customer ID you are testing with?

lone kraken
#

It works!!! Thanks a lot ❤️

#
CustomerRetrieveParams customerRetrieveParams = CustomerRetrieveParams.builder()
                    .addExpand("tax_ids")
                    .build();

Customer customer = Customer.retrieve(workspace.getCustomerId(), customerRetrieveParams, null);
TaxIdCollectionListParams params = TaxIdCollectionListParams.builder().setLimit(3L).build();
 TaxIdCollection taxIds = customer.getTaxIds().list(params);
sudden stone
#

Ah great!

#

That's the easier way to do this imo

lone kraken
#

Have a good day

#

<3