---
title: "POST /api/v1.0/{appId}/customers/{customerId}"
method: POST
path: "/api/v1.0/{appId}/customers/{customerId}"
tags: ["Customers"]
---

# POST /api/v1.0/{appId}/customers/{customerId}

`POST /api/v1.0/{appId}/customers/{customerId}`

## Request

- Base URL: `https://api.flipdish.co`
- URL: `https://api.flipdish.co/api/v1.0/{appId}/customers/{customerId}`
- Auth: OAuth 2 (implicit, authorization URL `https://api.flipdish.co/identity/connect/authorize`, scopes: `api`)

## Path parameters

- `appId` string, required
- `customerId` integer, required

## Request body

- CustomerUpdateModel: Defines a customer update model
  - `CashOrdersEnabled` boolean: Customer can place cash orders
  - `CardOrdersEnabled` boolean: Customer can place card orders
  - `MarketingEnabled` boolean: Customer can receive marketing

## Response `200`

OK

- RestApiResultCustomer: Rest api result
  - `Data` Customer, required: Defines a customer
    - `CustomerId` integer: Id of the customer
    - `Name` string: Customer name
    - `RegistrationDate` string, date-time: Customer registration date
    - `PhoneNumber` string: Phone Number in international format
    - `CashOrdersEnabled` boolean: Customer can place cash orders
    - `CardOrdersEnabled` boolean: Customer can place card orders
    - `MarketingEnabled` boolean: Customer can receive marketing

## Other responses

- `400`: BadRequest
- `401`: Authentication has been denied for this request.
- `403`: Successful authentication, but authorization has been denied for this request.

---

[API](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0.md) · [All operations](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0/llms.txt) · [OpenAPI document](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0/revisions/4d8c2b9e1c13?raw)
