# Deliveroo Marketer Offers (`saswave/deliveroo-marketer-offers`) Actor

The Deliveroo Marketer Offers Automation is a powerful tool for restaurant owners and managers using the Deliveroo Partner Hub.
Connect data monitoring and active marketing by allowing you to track daily sales in real-time and automatically trigger promotional offers (Marketer Offers)

- **URL**: https://apify.com/saswave/deliveroo-marketer-offers.md
- **Developed by:** [SASWAVE](https://apify.com/saswave) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 2 total users, 2 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Deliveroo Marketer Offers

The Deliveroo Marketer Offers Automation is a powerful tool for restaurant owners and managers using the Deliveroo Partner Hub. 

It bridges the gap between data monitoring and active marketing by allowing you to track daily sales in real-time and automatically trigger promotional offers (Marketer Offers) when your restaurant hits specific performance thresholds.


### ✨ Features

Automated Sales Monitoring: Extract real-time metrics including gross_sales, net_sales, and average_order_value (AOV).

Dynamic Offer Triggering: Set conditional logic—if sales or AOV drop below a certain level, the scraper automatically creates a marketing campaign to boost volume.

Custom Campaign Settings: Configure free_delivery or basket_discounts with specific targets like "New Customers," "Lapsed Customers," or "Deliveroo Plus Subscribers."

Precision Control: Define the Minimum Order Value (MOV), discount percentages, fulfillment methods (Delivery/Pickup), and how many hours the offer should remain live.

Bulk Management: Run the tool across multiple restaurant_ids simultaneously to manage an entire franchise or dark kitchen network.

### 🚀 Use Cases

Low-Traffic Recovery: Automatically trigger a 2-hour "Free Delivery" flash sale if gross sales are below €100 during a lunch shift.

AOV Optimization: If your Average Order Value dips, trigger a "Basket Discount" (e.g., 20% off over €30) to encourage customers to add more items to their carts.

New Location Growth: Target "New Customers" exclusively to build a loyal local following for a newly opened branch.

Off-Peak Activation: Use the "Hour Range" feature to run aggressive promotions only during typically slow afternoon hours.

Franchise Audit: Run the "Restaurant List" feature to quickly export all active org_id and restaurant_id codes for reporting.

### OUTPUT

Restaurant List
```json
{
  "org_id": "XXXXXXXXXXXXXXXX",
  "org_name": "Anonymised Name",
  "restaurant_id": "XXXXXXXXXXXXXXXX",
  "restaurant_name": "Anonymised Name",
  "is_active": true
}
````

Sales

```json
{
  "restaurant_id": "XXXXXXXXXXXXXXXX",
  "from": "2026-05-08T22:00:00.000Z",
  "to": "2026-05-09T21:59:59.999Z",
  "gross_sales": 0.0,
  "net_sales": 0.0,
  "accepted_orders": 0,
  "average_order_value": 0.0
}
```

Offer Created

```json
{
  "alcohol_allowed": true,
  "campaign_drn_id": null,
  "cancelled_at": null,
  "cancelled_by": "",
  "org_drn_id": "XXXXXXXXXXXXXXXX",
  "campaign_name": "",
  "currency_code": "EUR",
  "days_of_week": [
    1,
    2,
    3,
    4,
    5,
    6,
    7
  ],
  "discount": 0,
  "end_at": "2026-05-09T09:00:00Z",
  "fulfillment_method": "delivery",
  "goal": "new_customers",
  "id": 11111111,
  "drn_id": "XXXXXXXXXXXXXXXX",
  "max_discount": null,
  "menu_items": null,
  "menu_items_count": 0,
  "mov": 2000,
  "mov_decimal": 20.0,
  "offer_status": "LIVE",
  "restaurant_ids": [
    "111111"
  ],
  "restaurants": [
    {
      "drn_id": "XXXXXXXXXXXXXXXX",
      "id": 111111
    }
  ],
  "ineligible_restaurants": [],
  "reward_type": "free_delivery",
  "reward_amount": 0,
  "source": "marketer",
  "start_at": "2026-05-09T07:51:37Z",
  "theme": null,
  "time_of_day_from": null,
  "time_of_day_until": null,
  "timezone": "Europe/Paris",
  "performance": null,
  "name": "",
  "always_on": false,
  "quantity": 0,
  "bundle_amount": 0
}
```

### 🛟 SUPPORT

Share your runs with the developer team and create issues on error to help us improve actor quality.

You might discover edge case we didn't test yet

We stay available anytime

# Actor input Schema

## `feature` (type: `string`):

Select feature to get data from

## `user` (type: `string`):

Used to login, generate a session and extract the restaurant list

## `password` (type: `string`):

Used to login, generate a session and extract the restaurant list

## `restaurant_ids` (type: `array`):

Mandatory when using feature 'Sales' or 'Create Marketer Offer'. To get the full list of your restaurant, run once the feature 'Restaurant List' with user password.

## `menu_items` (type: `array`):

No description

## `ignore_items_sub_3` (type: `boolean`):

If True, ignore items under 3 euro because not eligible for Marketer Offers

## `offer_type` (type: `string`):

Select the offer type to be created

## `free_goal` (type: `string`):

Select Customer Group

## `basket_goal` (type: `string`):

Select Customer Group

## `buy_free_goal` (type: `string`):

Select Customer Group

## `free_items_goal` (type: `string`):

Select Customer Group

## `item_discounts_goal` (type: `string`):

Select Customer Group

## `mov` (type: `string`):

Select a minimum value to be eligible for the offer

## `discount` (type: `string`):

Select a discount %

## `fulfillment_method` (type: `string`):

Select Fulfilment Method eligible for the offer

## `hours_lasting` (type: `integer`):

Number of Hours for the Marketer Offer to be LIVE

## `min_gross_sales` (type: `integer`):

If current Gross Sales are lower than this number, it will trigger the configured Marketer Offer

## `min_avg_order_value` (type: `integer`):

If current Average Order Value are lower than this number, it will trigger the configured Marketer Offer

## Actor input object example

```json
{
  "feature": "list_restaurants",
  "restaurant_ids": [],
  "menu_items": [],
  "ignore_items_sub_3": true,
  "offer_type": "free_delivery",
  "free_goal": "new_customers",
  "basket_goal": "new_customers",
  "buy_free_goal": "new_customers",
  "free_items_goal": "new_customers",
  "item_discounts_goal": "new_customers",
  "mov": "20",
  "discount": "20",
  "fulfillment_method": "delivery",
  "hours_lasting": 2,
  "min_gross_sales": 100,
  "min_avg_order_value": 20
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "user": "",
    "password": "",
    "restaurant_ids": [],
    "menu_items": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("saswave/deliveroo-marketer-offers").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "user": "",
    "password": "",
    "restaurant_ids": [],
    "menu_items": [],
}

# Run the Actor and wait for it to finish
run = client.actor("saswave/deliveroo-marketer-offers").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "user": "",
  "password": "",
  "restaurant_ids": [],
  "menu_items": []
}' |
apify call saswave/deliveroo-marketer-offers --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=saswave/deliveroo-marketer-offers",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Deliveroo Marketer Offers",
        "description": "The Deliveroo Marketer Offers Automation is a powerful tool for restaurant owners and managers using the Deliveroo Partner Hub. \nConnect data monitoring and active marketing by allowing you to track daily sales in real-time and automatically trigger promotional offers (Marketer Offers)",
        "version": "0.0",
        "x-build-id": "Gf6mBgYGXf2dvxgo4"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/saswave~deliveroo-marketer-offers/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-saswave-deliveroo-marketer-offers",
                "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/saswave~deliveroo-marketer-offers/runs": {
            "post": {
                "operationId": "runs-sync-saswave-deliveroo-marketer-offers",
                "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/saswave~deliveroo-marketer-offers/run-sync": {
            "post": {
                "operationId": "run-sync-saswave-deliveroo-marketer-offers",
                "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": [
                    "feature",
                    "user",
                    "password"
                ],
                "properties": {
                    "feature": {
                        "title": "Feature",
                        "enum": [
                            "sales",
                            "list_restaurants",
                            "marketer_offers",
                            "list_items"
                        ],
                        "type": "string",
                        "description": "Select feature to get data from",
                        "default": "list_restaurants"
                    },
                    "user": {
                        "title": "Partner Hub User",
                        "type": "string",
                        "description": "Used to login, generate a session and extract the restaurant list"
                    },
                    "password": {
                        "title": "Partner Hub Password",
                        "type": "string",
                        "description": "Used to login, generate a session and extract the restaurant list"
                    },
                    "restaurant_ids": {
                        "title": "Restaurant IDS",
                        "type": "array",
                        "description": "Mandatory when using feature 'Sales' or 'Create Marketer Offer'. To get the full list of your restaurant, run once the feature 'Restaurant List' with user password.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "menu_items": {
                        "title": "Item IDS",
                        "type": "array",
                        "description": "",
                        "items": {
                            "type": "string"
                        }
                    },
                    "ignore_items_sub_3": {
                        "title": "Ignore Items Under 3 euro",
                        "type": "boolean",
                        "description": "If True, ignore items under 3 euro because not eligible for Marketer Offers",
                        "default": true
                    },
                    "offer_type": {
                        "title": "Offer Type",
                        "enum": [
                            "free_delivery",
                            "basket",
                            "buy_free",
                            "free_items",
                            "item_discounts"
                        ],
                        "type": "string",
                        "description": "Select the offer type to be created",
                        "default": "free_delivery"
                    },
                    "free_goal": {
                        "title": "Free Delivery Customer group target",
                        "enum": [
                            "orders",
                            "new_customers",
                            "lapsed_customers"
                        ],
                        "type": "string",
                        "description": "Select Customer Group",
                        "default": "new_customers"
                    },
                    "basket_goal": {
                        "title": "Basket Discount Customer group target",
                        "enum": [
                            "orders",
                            "new_customers",
                            "lapsed_customers",
                            "subscribers",
                            "students"
                        ],
                        "type": "string",
                        "description": "Select Customer Group",
                        "default": "new_customers"
                    },
                    "buy_free_goal": {
                        "title": "Buy One Get One Free Customer group target",
                        "enum": [
                            "orders",
                            "new_customers",
                            "lapsed_customers",
                            "subscribers",
                            "students"
                        ],
                        "type": "string",
                        "description": "Select Customer Group",
                        "default": "new_customers"
                    },
                    "free_items_goal": {
                        "title": "Free Items Customer group target",
                        "enum": [
                            "orders",
                            "new_customers",
                            "lapsed_customers",
                            "subscribers",
                            "students"
                        ],
                        "type": "string",
                        "description": "Select Customer Group",
                        "default": "new_customers"
                    },
                    "item_discounts_goal": {
                        "title": "Item Discounts Customer group target",
                        "enum": [
                            "orders",
                            "new_customers",
                            "lapsed_customers",
                            "subscribers",
                            "students"
                        ],
                        "type": "string",
                        "description": "Select Customer Group",
                        "default": "new_customers"
                    },
                    "mov": {
                        "title": "Minimum Order Value",
                        "enum": [
                            "0",
                            "10",
                            "15",
                            "20",
                            "25",
                            "30"
                        ],
                        "type": "string",
                        "description": "Select a minimum value to be eligible for the offer",
                        "default": "20"
                    },
                    "discount": {
                        "title": "Discount %",
                        "enum": [
                            "0",
                            "20",
                            "25",
                            "30",
                            "40",
                            "50"
                        ],
                        "type": "string",
                        "description": "Select a discount %",
                        "default": "20"
                    },
                    "fulfillment_method": {
                        "title": "Fulfillment Method",
                        "enum": [
                            "delivery",
                            "collection"
                        ],
                        "type": "string",
                        "description": "Select Fulfilment Method eligible for the offer",
                        "default": "delivery"
                    },
                    "hours_lasting": {
                        "title": "Hour Range",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Number of Hours for the Marketer Offer to be LIVE",
                        "default": 2
                    },
                    "min_gross_sales": {
                        "title": "Minimum Gross Sales",
                        "minimum": 0,
                        "type": "integer",
                        "description": "If current Gross Sales are lower than this number, it will trigger the configured Marketer Offer",
                        "default": 100
                    },
                    "min_avg_order_value": {
                        "title": "Minimum Average Order Value",
                        "minimum": 0,
                        "type": "integer",
                        "description": "If current Average Order Value are lower than this number, it will trigger the configured Marketer Offer",
                        "default": 20
                    }
                }
            },
            "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
                                    }
                                }
                            },
                            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
