Does creating a Transaction update the Order's updated_at?

cosimon
Visitor
1 0 0

Hi,

Does creating a transaction on an order update the updated_at for the order?

And are transactions immutable?

Thanks,

Collin Simon

Reply 1 (1)

Luke_K
Shopify Staff
402 66 98

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!

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!