Skip to content
Scrappa Get API key
Clas Ohlson API 1 credit / request

Clas Ohlson Store Stock API Documentation

GET https://scrappa.co/api/clasohlson/store-stock

Clas Ohlson Store Stock API Documentation Read per-store stock for one Clas Ohlson Sweden product by numeric product id. Accepts up to 10 numeric store ids from the product store map and returns stock count and status per store. One request costs 1 credit. Empty and failed requests are not billed. Not affiliated with Clas Ohlson.

Clas Ohlson Store Stock API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/clasohlson/store-stock
Auth header
x-api-key
Cost
1 credit / request
product_id = 1234567890 store_ids = ["example"]
Response preview
200 OK
{
    "data": {
        "stores": [
            {
                "storeId": "101",
                "storeStock": 3,
                "stockstatus": "inStock"
            }
        ],
        "productId": "366382000",
        "store_count": 1
    },
    "meta": {
        "credits": 1,
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

2 required parameters needed before sending a request.

product_id string Required

Numeric product id from the product response.

Example value 1234567890
store_ids array Required

Up to 10 numeric store ids.

Example value ["example"]

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "stores": [
            {
                "storeId": "101",
                "storeStock": 3,
                "stockstatus": "inStock"
            }
        ],
        "productId": "366382000",
        "store_count": 1
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "stock_store"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A parameter is missing or invalid. Not billable.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.