Copy a Google Spreadsheet from one Google Drive to another -


we're selling google spreadsheet. after customer purchases it, need copy file account. having hell of time figuring out api's use , how work.

patch existing file new folder:

patch https://www.googleapis.com/drive/v2/files/<fileid> authorization: bearer <accesstoken>  { "parents": [{ "id": "<new folder's id>" }] } 

take @ https://developers.google.com/drive/v2/reference/files/patch


Comments