For context, I am trying to make a store in my app. It will have in app currency . I have figured out how to do things like give and take away users coin, but I can't figure out how to make an api call where the bought item is added to the area that tracks what the user owns. I have been trying to use a patch api function to edit a table reference sub table, but anytime I use it, it replaces all previous data. I can't figure out how to make the new and original ids all be in the table instead of being replaced. If anything is unclear, PLEASE ask me what I mean. I have put many hours into this trying to figure out how to combine the variables in order to edit without totally replacing the sub table data.