# Pull the shop's sample requests from TikTok, in the background (/growseller/docs/api-reference/samples/post-samples-sync)

The refresh button: a SAMPLE_SYNC job. Kept manual: requests arrive
whenever a creator applies, and nobody has measured yet how often that is worth a
scheduled walk.

A walk that dies partway is not lost. sync() commits each page as it lands, so a captcha
on page 40 of 153 still leaves 39 pages of fresh rows; the job says how many it saved and
why it stopped, and the next Refresh carries on from there (next_page, in the list).

POST /samples/sync

```json
{
  "tags": [
    "Samples"
  ],
  "summary": "Pull the shop's sample requests from TikTok, in the background",
  "description": "The refresh button: a SAMPLE_SYNC job. Kept manual: requests arrive\nwhenever a creator applies, and nobody has measured yet how often that is worth a\nscheduled walk.\n\nA walk that dies partway is not lost. sync() commits each page as it lands, so a captcha\non page 40 of 153 still leaves 39 pages of fresh rows; the job says how many it saved and\nwhy it stopped, and the next Refresh carries on from there (next_page, in the list).",
  "operationId": "post-samples-sync",
  "parameters": [
    {
      "name": "shop_id",
      "in": "query",
      "required": true,
      "schema": {
        "type": "string",
        "title": "Shop Id"
      }
    },
    {
      "name": "auto",
      "in": "query",
      "required": false,
      "schema": {
        "type": "boolean",
        "description": "the page opened: only when the last sync is over an hour old",
        "default": false,
        "title": "Auto"
      },
      "description": "the page opened: only when the last sync is over an hour old"
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "success": {
                "type": "boolean"
              },
              "data": {
                "type": "object"
              },
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "timestamp": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "A rate limit is reached; wait Retry-After seconds",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "success": {
                "type": "boolean"
              },
              "error": {
                "type": "string"
              },
              "error_code": {
                "type": "string"
              },
              "details": {
                "type": [
                  "object",
                  "null"
                ]
              },
              "timestamp": {
                "type": "string"
              }
            },
            "example": {
              "success": false,
              "error": "The API shows at most 5 pages of 100 rows for one search. Narrow it with filters or search.",
              "error_code": "PAGE_LIMIT",
              "details": {
                "rows": 100,
                "pages": 5
              },
              "timestamp": "2026-11-21T09:00:00Z"
            }
          }
        }
      }
    },
    "4XX": {
      "description": "An error (see error_code)",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "success": {
                "type": "boolean"
              },
              "error": {
                "type": "string"
              },
              "error_code": {
                "type": "string"
              },
              "details": {
                "type": [
                  "object",
                  "null"
                ]
              },
              "timestamp": {
                "type": "string"
              }
            },
            "example": {
              "success": false,
              "error": "The API shows at most 5 pages of 100 rows for one search. Narrow it with filters or search.",
              "error_code": "PAGE_LIMIT",
              "details": {
                "rows": 100,
                "pages": 5
              },
              "timestamp": "2026-11-21T09:00:00Z"
            }
          }
        }
      }
    }
  },
  "x-mcp-tool": "manage_sample_write",
  "x-mcp-action": "sync_samples"
}
```