Development discussions around Shopify APIs
Hi,
Does creating a transaction on an order update the updated_at for the order?
And are transactions immutable?
Thanks,
Collin Simon
Hey @cosimon
Yes, creating a transaction on an order would update the orders updated_at timestamp. You can see the relationship between Orders and Transaction here.
An orders Transactions array can be written to more than once, yes - but they can only be POST'd to. An order can have no more than 100 Transactions associated to it (docs). I'd heartily recommend having a dive into our Transaction docs both (GraphQL Admin API & REST) which would provide more details. Hope that helps!
User | RANK |
---|---|
44 | |
16 | |
9 | |
9 | |
7 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023