#ayesha-shaikh_code

1 messages ยท Page 1 of 1 (latest)

rugged pantherBOT
spice citrusBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

rugged pantherBOT
#

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

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

onyx bay
#

๐Ÿ‘‹ happy to help

#

subscription metadata automatically gets copied to invoices

clever turret
#

yes, it does but it won't be that invoice's metadata right?

#

I want to query subscription invoices with some metadata

onyx bay
#

it's a copy it's not linked

clever turret
#

and for subscription invoices, though subscription metadata will get copied to invoice - I won't be able to search/query

onyx bay
#

no you can search normally

clever turret
#

am I getting it right?

onyx bay
#

once the metadata is copied to the invoice

#

you can search the invoice by metadata

#

as if you set it manually

clever turret
#

but when I look at this invoice it shows no metadata of its own

#

subscription metadata is under subscription details

onyx bay
#

when did you add the metadata to the subscription?

clever turret
#

when I created it

onyx bay
#

let me have a look

#

and not metadata itself

#

so yes they won't be searchable

#

sorry my bad

gritty anvil
#

hi! I'm taking over this thread.

#

you set the metadata on the Subscription object, so it's available on the Subscription object directly, or on the Invoice in subscription_details.metadata