> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eversince.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# import store products

> Bring an online shop's products into the library from its URL: each product's images, filed in folders by the store's categories and described in the shop's own words, so no enrichment is needed. Every file carries the Product and Product ID fields, so one product's photos come back as one set from get_items. Reads Shopify, WooCommerce and any shop publishing product structured data. Run dry_run first: it returns the file count, estimated size and whether it fits the storage left. A real import is a job: check it with get_jobs, stop it with cancel_jobs. Importing the same shop again fetches only what is new. Free.



## OpenAPI

````yaml /openapi.json post /tools/import_store_products
openapi: 3.1.0
info:
  title: Eversince API
  version: '1'
  description: >-
    Every Eversince tool as one POST call, plus the routes beside them: the tool
    list, account and keys, uploads, webhooks and models. The prose is at
    https://docs.eversince.ai.
servers:
  - url: https://eversince.ai/api/v1
security:
  - bearer: []
tags:
  - name: Discovery
    description: The tool list, the same on the MCP server, the REST API and the CLI.
  - name: Workspace
    description: Jobs, balances, settings, templates, skills and the overview.
  - name: Library
    description: >-
      Items, search, import, reading media, comments, boards, calendars, the
      brand kit and public links.
  - name: Timeline
    description: 'Video editing: timelines, clips, captions, sound, language and rendering.'
  - name: Canvas
    description: 'Still editing: canvases, slides, layers and rendering.'
  - name: Generation
    description: Image, video and audio generation, upscaling, cutouts and models.
  - name: Research
    description: 'What platforms publish: pulling and keeping posts.'
  - name: Account
    description: Balances, keys, workspaces and script sessions.
  - name: Uploads
    description: Files into the library by presigned upload or by URL.
  - name: Webhooks
    description: Job results posted to a URL as they complete.
  - name: Models
    description: Generation models and cost estimates.
paths:
  /tools/import_store_products:
    post:
      tags:
        - Library
      summary: import store products
      description: >-
        Bring an online shop's products into the library from its URL: each
        product's images, filed in folders by the store's categories and
        described in the shop's own words, so no enrichment is needed. Every
        file carries the Product and Product ID fields, so one product's photos
        come back as one set from get_items. Reads Shopify, WooCommerce and any
        shop publishing product structured data. Run dry_run first: it returns
        the file count, estimated size and whether it fits the storage left. A
        real import is a job: check it with get_jobs, stop it with cancel_jobs.
        Importing the same shop again fetches only what is new. Free.
      operationId: import_store_products
      parameters:
        - $ref: '#/components/parameters/IdempotencyKey'
        - $ref: '#/components/parameters/WorkspaceId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                store_url:
                  type: string
                  description: 'The shop: a domain or any page on it.'
                dry_run:
                  description: >-
                    Read and plan only. Returns the folders, file count and
                    estimated size, and degraded when part of the shop would not
                    answer.
                  type: boolean
                images_per_product:
                  description: Default 3. A store gallery is mostly the same angle again.
                  type: integer
                  minimum: 1
                  maximum: 10
                include_videos:
                  description: >-
                    Shopify stores only. Adds each product's videos, which are
                    much larger than images.
                  type: boolean
                max_products:
                  type: integer
                  minimum: 1
                  maximum: 1000
                max_files:
                  description: Default 400, videos included.
                  type: integer
                  minimum: 1
                  maximum: 2000
                root_folder:
                  description: Where it lands. Defaults to the brand name.
                  type: string
                context:
                  description: 'Optional: one sentence shown to the user beside this action.'
                  type: string
                  maxLength: 600
              required:
                - store_url
      responses:
        '200':
          description: >-
            Done, or a job started for work that runs longer (follow it with
            get_jobs).
          content:
            application/json:
              schema:
                type: object
                required:
                  - ok
                  - data
                  - meta
                properties:
                  ok:
                    const: true
                  data:
                    type: object
                    additionalProperties: true
                  meta:
                    type: object
                    properties:
                      request_id:
                        type: string
                      cost:
                        $ref: '#/components/schemas/Cost'
                      cloud_processing:
                        $ref: '#/components/schemas/CloudProcessing'
                  media:
                    type: array
                    items:
                      type: object
                      additionalProperties: true
        default:
          $ref: '#/components/responses/Error'
components:
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: false
      schema:
        type: string
      description: >-
        Retry a paid dispatch safely: the same key returns the job already
        dispatched instead of charging again.
    WorkspaceId:
      name: x-workspace-id
      in: header
      required: false
      schema:
        type: string
      description: The workspace this one call acts in, when it is not the key's own.
  schemas:
    Cost:
      type: object
      description: AI credits the call cost.
      additionalProperties: true
    CloudProcessing:
      type: object
      description: Cloud processing the call used, and what is left.
      properties:
        ran_on:
          const: cloud
        minutes:
          type: number
        queued_minutes:
          type: number
        left_minutes:
          type: number
        bought_minutes:
          type: number
        note:
          type: string
    Error:
      type: object
      required:
        - ok
        - error
      properties:
        ok:
          const: false
        error:
          type: object
          required:
            - code
            - message
            - retryable
          properties:
            code:
              type: string
            message:
              type: string
              description: What went wrong, in words to act on.
            retryable:
              type: boolean
            suggested_action:
              type: string
              description: The next step that works.
            cloud_processing:
              $ref: '#/components/schemas/CloudProcessing'
  responses:
    Error:
      description: The call was refused or failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: >-
        An API key (es_live_…) from Settings, under API keys, or an OAuth access
        token.

````