---
title: "POST /customer/set-vendor-marketing-preferences/NationalExpressConsent"
method: POST
path: "/customer/set-vendor-marketing-preferences/NationalExpressConsent"
tags: ["Customer"]
---

# POST /customer/set-vendor-marketing-preferences/NationalExpressConsent

`POST /customer/set-vendor-marketing-preferences/NationalExpressConsent`

## Request

- Base URL: `https://thetrainline.com` (the document declares no server; this is the origin it was published from)
- URL: `https://thetrainline.com/customer/set-vendor-marketing-preferences/NationalExpressConsent`
- Auth: none declared

## Request body

- object
  - `nationalExpressConsent` boolean, required
  - `coachProductIds` string[], required

## Response `200`

OK

- object

---

[API](https://skmtc.dev/thetrainline/apis/trainline-desktop-api.md) - [All operations](https://skmtc.dev/thetrainline/apis/trainline-desktop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/thetrainline/apis/trainline-desktop-api/revisions/754b48400e9d?raw)
