# shopify.product

One product of a Shopify store: every version with its price, availability, SKU and barcode, the description, options and images.

Shopify store product, one of the Shopify scrapers.

| | |
| --- | --- |
| Id | `shopify.product` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/shopify.product/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | no | The product's address in the shop, e.g. https://www.allbirds.com/products/mens-wool-runners. Limit: at most 2048 characters. |
| `store` | string | no | The shop's domain, e.g. allbirds.com; with handle, in place of url. Limit: at most 2048 characters. |
| `handle` | string | no | The product's name in its address: /products/<handle>; with store, in place of url. Limit: at most 255 characters. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `store` | string | The shop's host name, as asked for. |
| `store_name` | string or null | The shop's name, as the shop states it. |
| `product_id` | string | Shopify's id of the product. |
| `handle` | string | The product's name in its address: /products/<handle>. |
| `url` | string | The product's address in the shop. |
| `title` | string | The product's name. |
| `brand` | string or null | The brand or maker the shop files the product under. |
| `product_type` | string or null | The kind of product, in the shop's own words; many shops leave it empty. |
| `tags` | array of string | The shop's tags on the product. |
| `description` | string or null | The product description, as text without markup. |
| `price` | object or null | The lowest price among the product's versions. |
| `price.amount` | number | The amount as the shop states it. |
| `price.currency` | string or null | The shop's currency code, e.g. USD; null when the shop does not state one. |
| `price_max` | object or null | The highest price among the product's versions; the same as price when all cost the same. |
| `price_max.amount` | number | The amount as the shop states it. |
| `price_max.currency` | string or null | The shop's currency code, e.g. USD; null when the shop does not state one. |
| `compare_at_price` | object or null | The highest struck-through earlier price among the versions, when the shop sets one. |
| `compare_at_price.amount` | number | The amount as the shop states it. |
| `compare_at_price.currency` | string or null | The shop's currency code, e.g. USD; null when the shop does not state one. |
| `available` | boolean or null | True when at least one version can be bought now; null when the shop does not say. |
| `options` | array of object | The options the product is offered in. A product sold as it is has none. |
| `options[].name` | string | What the option is, e.g. Size or Color. |
| `options[].values` | array of string | The choices the product offers for it, in the shop's order. |
| `variants` | array of object | Every version of the product, in the shop's order. |
| `variants[].variant_id` | string | Shopify's id of this version of the product. |
| `variants[].title` | string or null | The version's name, e.g. "9 / Black". |
| `variants[].sku` | string or null | The shop's stock-keeping code, when it gives one. |
| `variants[].barcode` | string or null | The barcode number (UPC, EAN), when the shop gives one. Only a single product's answer carries it. |
| `variants[].options` | object of string values | The version's choice for each option, e.g. {"Size": "9", "Color": "Black"}. |
| `variants[].price` | object or null | The version's price. |
| `variants[].price.amount` | number | The amount as the shop states it. |
| `variants[].price.currency` | string or null | The shop's currency code, e.g. USD; null when the shop does not state one. |
| `variants[].compare_at_price` | object or null | The higher earlier price the shop shows struck through, when it sets one. |
| `variants[].compare_at_price.amount` | number | The amount as the shop states it. |
| `variants[].compare_at_price.currency` | string or null | The shop's currency code, e.g. USD; null when the shop does not state one. |
| `variants[].available` | boolean or null | Whether the version can be bought now; null when the shop does not say. |
| `variants[].weight_grams` | integer or null | The shipping weight in grams, when the shop states one above zero. |
| `variants[].requires_shipping` | boolean or null | False for a version that is not shipped, e.g. a gift card or a download. |
| `variants[].image` | string or null | The address of the picture of this version, when it has one of its own. |
| `variants[].url` | string | The product's address with this version chosen. |
| `images` | array of string | The addresses of the product's pictures, in the shop's order. |
| `published_at` | string (date-time) or null | When the shop published the product. |
| `created_at` | string (date-time) or null | When the product was created in the shop. |
| `updated_at` | string (date-time) or null | When the product was last changed. A list of products carries it; a single product's answer does not. |
| `position` | integer or null | The product's place in the whole list asked for, from 1: 251 is the first product of page 2. Null for a single product. |
| `page` | integer or null | The page of the list the product was on. Null for a single product. |
| `fetched_at` | string (date-time) | When the shop was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/shopify.product/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://www.allbirds.com/products/womens-wool-cruiser-port-port-sole"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "shopify.product",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "url": "https://www.allbirds.com/products/womens-wool-cruiser-port-port-sole"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "store": "www.allbirds.com",
      "store_name": "Allbirds",
      "product_id": "7292464824400",
      "handle": "womens-wool-cruiser-port-port-sole",
      "url": "https://www.allbirds.com/products/womens-wool-cruiser-port-port-sole",
      "title": "Women's Wool Cruiser - Port (Port Sole)",
      "brand": "Allbirds",
      "product_type": null,
      "tags": [
        "11/3/26 DROP",
        "allbirds::cfId => color-f67ac276729fd74d9edd3ad836f79a7e",
        "allbirds::hue => red"
      ],
      "description": "Innovation meets individuality in the Wool Cruiser, an instant icon designed for every day. With an upper made of 100% post consumer recycled wool and polyester, each shoe is a unique expression of its material—a statement-maker as bold as … [truncated]",
      "price": {
        "amount": 120,
        "currency": "USD"
      },
      "price_max": {
        "amount": 120,
        "currency": "USD"
      },
      "compare_at_price": null,
      "available": true,
      "options": [
        {
          "name": "Size",
          "values": [
            "5"
          ]
        }
      ],
      "variants": [
        {
          "variant_id": "41990816137296",
          "title": "5",
          "sku": "A12858W050",
          "barcode": "196942331460",
          "options": {
            "Size": "5"
          },
          "price": {
            "amount": 120,
            "currency": "USD"
          },
          "compare_at_price": null,
          "available": false,
          "weight_grams": 1000,
          "requires_shipping": true,
          "image": null,
          "url": "https://www.allbirds.com/products/womens-wool-cruiser-port-port-sole?variant=41990816137296"
        }
      ],
      "images": [
        "https://cdn.shopify.com/s/files/1/1104/4168/files/A12858W090-PORT_SIDE_TRANSPARENT.png?v=1793836076",
        "https://cdn.shopify.com/s/files/1/1104/4168/files/A12858W090-PORT_HEEL_TRANSPARENT.png?v=1793836075"
      ],
      "published_at": "2026-11-04T15:48:27-08:00",
      "created_at": "2026-02-04T17:37:18-08:00",
      "updated_at": null,
      "position": null,
      "page": null,
      "fetched_at": "2026-11-19T18:07:41.258594Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `tags`: 5 items, the first 3 shown.
- Shortened: `description`: 261 characters, the first 239 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Shopify scrapers](https://docs.enrichednow.com/results-and-statuses.md#shopify) are in their own section there.
