#spoolyx
1 messages · Page 1 of 1 (latest)
as a quick and easy example: I need to know which product I want to deliver to the customer once I receive the event in my webhook.
So my initial thought was to have a mapping in my own database that t-shirt XL is prod_XXXX, for instance.
Hi 👋 yes. Each Product will have a unique ID that is constant, which is how they are referenced in our API and its responses.
Are you seeing something that seems to indicate those IDs are changing?
Nope, not really. They are obviously changing because I'm constantly creating/removing products and switching between test and production mode, but other than that, I didn't see anything that suggests otherwise, but I wanted to make sure before actually relying on it 100% as static fields instead of querying for products in every checkout completed webhook
Gotcha, yeah, they shouldn't change once set, but let us know if you notice otherwise.