Export to Google Sheet
POST/api/v2/google/sheets/export
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.
Row sets above the sync limit are written as a background job — the response returns tracked_job_log_id and no url until it completes.
Authentication: Requires Bearer token.
Request
Responses
- 201
- 202
- 401
- 403
- 409
- 422
- 429
Created
Response Headers
Accepted
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Conflict
Response Headers
Validation failed — the body is a field → messages map (Laravel shape) or the platform envelope with a stable machine-readable code. Fix the payload and resubmit.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.