#axel_listsubs-by-product

1 messages ยท Page 1 of 1 (latest)

tranquil wigeonBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1252294272926089328

๐Ÿ“ Have more to share? Add details, code, screenshots, videos, etc. below.

echo harness
tired heath
#

hi ๐Ÿ‘‹

Yeah, but it's limited to one price only right ?

#

My product has different prices due to price updates along the years

echo harness
#

You are correct, it is limited to one price. In that case you would need to make multiple API calls, one for each price.

tired heath
#

Okay, let's do that then. Regarding the API, what is the best in terms of pagination on your side (i.e performance) ?
Multiple small queries or set at the max limit everytime (100 if I recall correctly) ?

echo harness
#

Honestly it would depend on your code. Smaller payloads return faster so if you wanted to kick off some longer running process on your end then you might consider a lower limit. But if you want to collect all records and do bulk processing, then using the max limit is advised.