#_api

1 messages ยท Page 1 of 1 (latest)

small sentinelBOT
#

๐Ÿ‘‹ 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/1296105466467848313

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

open snow
#

you can't list them using shipping_rate

#

Oh wait

#

are you asking how you can retreive shipping rate details NOT checkout sessions?

#

If so, we have an endpoint here that lets you retrieve a specific shipping rate which should include its display name - https://docs.stripe.com/api/shipping_rates/retrieve

OR you can list all shipping rates - https://docs.stripe.com/api/shipping_rates/list

quasi roost
#

Yes, I want to get the shipping rate details

#

pretty much this, the customer checks out, we get this :

#

but we need the name with the rate so we know the service level on our end

open snow
#

Gotcha. Refer to the links I shared above

quasi roost
#

this info :

#

ok

#

ya, this looks like it : /v1/shipping_rates/

#

thank you ๐Ÿ™‚