---
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}`

## 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.net/flipdish/apis/flipdish-open-api-v1-0.md) · [All operations](https://skmtc.net/flipdish/apis/flipdish-open-api-v1-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flipdish/flipdish-open-api-v1-0/revisions/a72c0465da74/schema)
