Skip to content
Scrappa Get API key
Jumbo API 1 credit / request

Jumbo Promotion API Documentation

GET https://scrappa.co/api/jumbo/promotion

Get one Jumbo promotion by the id returned from the promotions endpoint. Returns the public id and title. 1 credit per successful request.

Jumbo Promotion API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/jumbo/promotion
Auth header
x-api-key
Cost
1 credit / request
id = 1234567890
Response preview
200 OK
{
    "data": {
        "promotion": {
            "id": "3022296",
            "title": "Alle Knorr maaltijdmixen"
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "promotion"
    },
    "success": true
}

Parameters

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

Runnable path

1 required parameter needed before sending a request.

id string Required

Promotion id from the promotions endpoint, e.g. 3022296.

Example value 1234567890

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": {
        "promotion": {
            "id": "3022296",
            "title": "Alle Knorr maaltijdmixen"
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "promotion"
    },
    "success": true
}

Errors

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

422

Validation Error

A required parameter or a value is invalid. Not billable.

{
    "errors": {
        "sku": [
            "Use a SKU from search, e.g. 779641STK."
        ]
    },
    "message": "The request validation failed"
}
404

Not Found

No Jumbo resource matched the given id. Not billable.

{
    "meta": {
        "billable": false
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "The requested Jumbo resource was not found."
    },
    "success": false
}
503

Upstream Unavailable

Jumbo could not be reached. Not billable. Retry shortly.

{
    "meta": {
        "billable": false,
        "retryable": true
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "Jumbo could not be reached. Please retry shortly."
    },
    "success": false
}

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.