I am preparing the software architecture for my client project based on APIs REST The idea is that any data exchange between my client and his partner will be via API REST call
The specification is that my client have a large data store ( SQL database) which must me updated by data got from the partner
My question is :
Should My client expose a POST API REST so that the partner invoke this POST HTTP and carry out the data in the payload to update our store (DB)
Should the partner expose a GET HTTP API and my client just invoke the GET API (exposed by the partner) , the client get the data from the payload and update itself the store ?
Is there any criteria which I should consider when I decide in such scenarios ? regards