{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify Reseller Monitor: Price & Availability Changes",
    "description": "Match exact SKUs and barcodes across supplied Shopify dealer product URLs. Compare prices, currencies and published availability against a saved snapshot, with source evidence. Unofficial; no dealer discovery, exact stock quantities or MAP verdicts.",
    "version": "0.0",
    "x-build-id": "geDBl2VBWsHqgATLF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/felixgoldwin~shopify-reseller-price-stock-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-felixgoldwin-shopify-reseller-price-stock-monitor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/felixgoldwin~shopify-reseller-price-stock-monitor/runs": {
      "post": {
        "operationId": "runs-sync-felixgoldwin-shopify-reseller-price-stock-monitor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/felixgoldwin~shopify-reseller-price-stock-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-felixgoldwin-shopify-reseller-price-stock-monitor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "dealerHosts",
          "productUrls",
          "catalog"
        ],
        "properties": {
          "dealerHosts": {
            "title": "Known Shopify dealer hosts",
            "type": "array",
            "description": "1–10 exact lowercase public hostnames. No wildcard, protocol, port or credentials. Only explicitly named public Shopify storefronts are supported.",
            "items": {
              "type": "string"
            }
          },
          "productUrls": {
            "title": "Explicit product URLs",
            "type": "array",
            "description": "1–50 unique HTTPS URLs on dealerHosts: /products/handle or /locale/products/handle. No queries, fragments, encoded paths or collection listings.",
            "items": {
              "type": "string"
            }
          },
          "catalog": {
            "title": "Nonsecret SKU/barcode catalog",
            "type": "array",
            "description": "1–100 JSON objects with unique id and sku and/or barcode strings. Exact case-sensitive matching; preserve leading zeros. No secrets or personal data.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "title": "Catalog ID",
                  "editor": "textfield",
                  "description": "Nonsecret exact identifier string; preserve leading zeros."
                },
                "sku": {
                  "type": "string",
                  "title": "Exact SKU",
                  "editor": "textfield",
                  "description": "Nonsecret exact identifier string; preserve leading zeros."
                },
                "barcode": {
                  "type": "string",
                  "title": "Exact barcode",
                  "editor": "textfield",
                  "description": "Nonsecret exact identifier string; preserve leading zeros."
                }
              },
              "required": [
                "id"
              ]
            }
          },
          "previousSnapshot": {
            "title": "Previous complete snapshot",
            "type": "object",
            "description": "Paste OUTPUT.previousSnapshot for the exact same hosts, product URLs and catalog. Maximum total input 1.5 MB. Never paste secrets."
          },
          "maxResults": {
            "title": "Maximum evidence rows",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hard runtime limit. Any incomplete scan suppresses changes and reusable snapshots.",
            "default": 100
          },
          "maxRequests": {
            "title": "Maximum HTTP attempts",
            "minimum": 1,
            "maximum": 150,
            "type": "integer",
            "description": "Hard runtime limit. Any incomplete scan suppresses changes and reusable snapshots.",
            "default": 30
          },
          "maxRetries": {
            "title": "Retries per request",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "Hard runtime limit. Any incomplete scan suppresses changes and reusable snapshots.",
            "default": 2
          },
          "maxSeconds": {
            "title": "Maximum scan seconds",
            "minimum": 1,
            "maximum": 300,
            "type": "integer",
            "description": "Hard runtime limit. Any incomplete scan suppresses changes and reusable snapshots.",
            "default": 90
          },
          "maxResponseBytes": {
            "title": "Maximum response bytes",
            "minimum": 1024,
            "maximum": 5000000,
            "type": "integer",
            "description": "Hard runtime limit. Any incomplete scan suppresses changes and reusable snapshots.",
            "default": 2000000
          },
          "maxBudgetUsd": {
            "title": "Maximum event budget USD",
            "minimum": 0,
            "maximum": 20,
            "type": "number",
            "description": "Caps local estimated or configured event charges including automatic start reserve. Does not cap compute/storage. No start event is manually charged.",
            "default": 0.25
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}