CopyHero

Import Watched Product

POST
/api/v1/watchlist/products/{watched_product_id}/import

List a watched product in the viewer's own store — import from the stored head state (no re-scrape).

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

watched_product_id*Watched Product Id
Formatuuid

Request Body

application/json
  1. body

POST /watchlist/products/{id}/import — list a watched product in the viewer's own store.

Imports from the STORED head state (no re-scrape): the route serializes the head revision's content into the normal import payload and starts the standard pipeline, skipping validate + scrape. All resulting Job/Task rows carry the importing user's owner_id; the shared watched product is never touched.

store_id?|

Destination Shopify store id (the user's own store).

task_blueprint_id?|

Workflow blueprint to run on the imported product.

image_output?|

Optional generated-image output override; omit or send an empty object to inherit the destination store.

options?|

Optional per-product import options (the usual import-wizard keys) merged into the seeded input row.

Response Body

Successful Response

application/json
  1. response
data*array<>
count*Count
Example Request
curl -X POST 'https://app.copyhero.app/api/v1/watchlist/products/497f6eca-6276-4993-bfeb-53cbbbba6f08/import' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "data": [    {      "internal_product_id": "17d65d0a-2bba-46da-af25-e6db2fc23598",      "internal_product_minted": false,      "store_id": 0,      "owner_id": 0,      "title": "string",      "description": "string",      "blueprint_id": 0,      "batch_id": 0,      "id": 0,      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "jobs": [        {          "store_id": 0,          "job_type": "string",          "internal_product_id": "17d65d0a-2bba-46da-af25-e6db2fc23598",          "task_id": 0,          "order": 0,          "blueprint_job_id": 0,          "id": 0,          "created_at": "2019-08-24T14:15:22Z",          "updated_at": "2019-08-24T14:15:22Z",          "started_at": "2019-08-24T14:15:22Z",          "finished_at": "2019-08-24T14:15:22Z",          "input_data": "string",          "output_data": "string",          "state": "string",          "store": {            "store_url": "string",            "language": "string",            "default_push_blueprint_id": 0,            "generated_image_output_format": "png",            "generated_image_webp_quality": 1,            "id": 0,            "name": "string",            "owner_id": 0,            "owner": {              "email": "string",              "is_active": true,              "is_superuser": false,              "full_name": "string",              "sub": "string",              "provider": "auth0",              "last_synced_at": "2019-08-24T14:15:22Z",              "quota": 1000,              "onboarding_completed_at": "2019-08-24T14:15:22Z",              "locale": "en",              "id": 0            },            "currency": "string",            "domain": "string",            "country_code": "string",            "image_preview_url": "string",            "description": "string",            "title": "string",            "hbs_template": "string",            "json_template": "string",            "oauth_completed_at": "2019-08-24T14:15:22Z",            "oauth_scopes": "string",            "missing_scopes": [              "string"            ],            "features": {              "property1": true,              "property2": true            }          }        }      ],      "blueprint": {        "name": "string",        "description": "string",        "owner_id": 0,        "id": 0,        "created_at": "2019-08-24T14:15:22Z",        "updated_at": "2019-08-24T14:15:22Z"      }    }  ],  "count": 0}