---
title: "Change SaleCustomer"
method: PUT
path: "/api/v1/sale/{id}/customer"
tags: ["Sales"]
---

# Change SaleCustomer

`PUT /api/v1/sale/{id}/customer`

Permissions needed: any of (CREATE_CHECKUPS, EDIT_CHECKUPS, CREATE_EDIT_COUNTER_SALE, SELL_SERVICES);
Edit the Sale's customer

## Parameters

- `#/paths/~1api~1v1~1sales/delete/parameters/0` — unresolved $ref

## Request body

- object
  - `customer_id` integer

## Response `200`

successful operation

- object
  - `data` object — Custom information about a PetParent that is related to a sale.
    - `id` integer
    - `name` string
    - `last_name` string
    - `email` string
    - `phone` string — Phone number in E.164 format
    - `address` string
    - `city` string
    - `street` string
    - `street_number` string
    - `country` Country — unresolved $ref
    - `zip` string
    - `region` string
    - `timezone` string
    - `has_app` boolean
    - `chatUid` string
    - `vat_number` string — present when included legalEntity
    - `discounts` Items[] — unresolved $ref

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref
- `422` — Bad request
- `429` — unresolved $ref

---

[API](https://skmtc.net/digitail/apis/digitail-api.md) · [All operations](https://skmtc.net/digitail/apis/digitail-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitail/digitail-api/revisions/bd9694db5fce/schema)
