Google Sheets
Get Google Connection
Return the authenticated user's Google connection status. The connection is per-user and grants access only to sheets the app creates or the user picks (drive.file scope).
Disconnect Google
Revoke and remove the authenticated user's Google connection.
Connect Google
Start the Google authorization flow. Returns a consent URL to open in the browser; after the user consents, the connection is stored server-side. Only the non-sensitive drive.file scope is requested.
Export to Google Sheet
Create a new Google Sheet (or refresh an existing linked sheet when sheet_link_id is provided) populated with the supplied rows. entity_type must be a supported import entity (e.g. products). Include an `id` column so edits pulled back are applied as updates; rows with a blank id are inserts.
List Linked Google Sheets
List the authenticated user's linked Google Sheets for an entity type.
Pull Changes From Google Sheet
Read a linked sheet's current rows and start validation of the changes. Rows are matched on the `id` column (blank id inserts a new record). The response returns a data_import_id whose validation results and execution are handled through the standard import endpoints.
Rename Google Sheet
Rename a linked Google Sheet. Renames the Google Sheet in your Drive and updates the stored label so the two stay in sync. Only the sheet's owner can rename it.
Unlink Google Sheet
Unlink a Google Sheet from SKU. This removes the link only — the Google Sheet itself stays untouched in your Google Drive. Only the sheet's owner can unlink it.