# Order Maxburgers — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Browse Max Burgers restaurants and menus across Sweden, Denmark, Norway, and Poland, then build and manage your food order through an integrated cart system. Find nearby locations, explore menu items with detailed product information, and create orders all in one place.

**Category:** Food & Dining | **Website:** [order.maxburgers.com/](https://order.maxburgers.com/) | **Docs:** [parse.bot/marketplace/20734158-7aa8-4d83-bf1a-b173b0d660e6/order-maxburgers-com-api](https://parse.bot/marketplace/20734158-7aa8-4d83-bf1a-b173b0d660e6/order-maxburgers-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-order-maxburgers-com-api-20734158/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### add_to_cart

Add a product with optional configurables to an active order. Returns the full updated order state including orderItems and receiptData.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `modifiers` | string | No | JSON array of configurables for the product, matching the Configurables structure from get_product_details. |
| `order_id` | string | Yes | Order ID from create_order. |
| `product_id` | string | Yes | Product ID from get_products. |
| `quantity` | integer | No | Quantity of product to add. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-order-maxburgers-com-api-20734158/add_to_cart \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"modifiers":"<string>","order_id":"<string>","product_id":"<string>","quantity":"<integer>"}'
```

### create_order

Create a new order session for a store. Returns the order object including the orderId needed for add_to_cart and get_cart.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `country_code` | string | No | Country code: se, dk, no, or pl. |
| `culture_code` | string | No | Culture code for localization (e.g. en-us, sv-se). |
| `menu_type` | string | No | Menu type: takeaway, eatin, or delivery. |
| `store_id` | string | Yes | Store ID from get_stores. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-order-maxburgers-com-api-20734158/create_order \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"country_code":"<string>","culture_code":"<string>","menu_type":"<string>","store_id":"<string>"}'
```

### get_cart

Get the current state of an order including items, amounts, and receipt data. Requires a valid order_id from create_order.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `order_id` | string | Yes | Order ID from create_order. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-order-maxburgers-com-api-20734158/get_cart \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"order_id":"<string>"}'
```

### get_countries

Get list of supported country codes for the Max Burgers ordering system. Returns the four countries where Max Burgers operates: Sweden (se), Denmark (dk), Norway (no), and Poland (pl).

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-order-maxburgers-com-api-20734158/get_countries \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_menu

Get complete menu data for a specific store and order type. Returns Categories, Products (with Configurables tree), Refs (product metadata including Title, Price, Description, Images), Rules, and Currency info.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `country_code` | string | No | Country code: se, dk, no, or pl. |
| `culture_code` | string | No | Culture code for localization (e.g. en-us, sv-se). |
| `menu_type` | string | No | Menu type: takeaway, eatin, or delivery. |
| `store_id` | string | Yes | Store ID from get_stores. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-order-maxburgers-com-api-20734158/get_menu \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"country_code":"<string>","culture_code":"<string>","menu_type":"<string>","store_id":"<string>"}'
```

### get_product_details

Get detailed information for a specific product including available modifier groups with their items (add-ons, removals, bread choices). Each modifier group lists items with Id, Title, and Price.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `country_code` | string | No | Country code: se, dk, no, or pl. |
| `culture_code` | string | No | Culture code for localization (e.g. en-us, sv-se). |
| `menu_type` | string | No | Menu type: takeaway, eatin, or delivery. |
| `product_id` | string | Yes | Product ID from get_products. |
| `store_id` | string | Yes | Store ID from get_stores. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-order-maxburgers-com-api-20734158/get_product_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"country_code":"<string>","culture_code":"<string>","menu_type":"<string>","product_id":"<string>","store_id":"<string>"}'
```

### get_products

Get products for a specific store with enriched metadata (Title, Price, Description) from menu Refs. Returns a wrapped object with a products array.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `country_code` | string | No | Country code: se, dk, no, or pl. |
| `culture_code` | string | No | Culture code for localization (e.g. en-us, sv-se). |
| `menu_type` | string | No | Menu type: takeaway, eatin, or delivery. |
| `store_id` | string | Yes | Store ID from get_stores. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-order-maxburgers-com-api-20734158/get_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"country_code":"<string>","culture_code":"<string>","menu_type":"<string>","store_id":"<string>"}'
```

### get_stores

Get list of restaurants for a given country and culture. Returns full store list in a single response including Id, Name, City, Street, coordinates, opening hours, and timezone.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `country_code` | string | No | Country code: se, dk, no, or pl. |
| `culture_code` | string | No | Culture code for localization (e.g. en-us, sv-se, da-dk, nb-no, pl-pl). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-order-maxburgers-com-api-20734158/get_stores \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"country_code":"<string>","culture_code":"<string>"}'
```
