Customers
Soft-delete a customer
Marks the customer as deleted by stamping deleted_at with the server clock. The row stays in the database; subsequent GET/PATCH/DELETE all 404.
Returns the deleted resource (200) rather than 204 No Content so the response shape is consistent across the API (always a typed resource) and the mobile UI can render an undo banner with the timestamp.
Restoration is an admin-only operation; not exposed via this API.
delete/v1/customers/{id}
Request
- Base URL: https://api.officina.it
- URL: https://api.officina.it/v1/customers/{id}
- Auth: HTTP bearer
Response
Customer soft-deleted. deleted_at is populated.
Example response
{
"id": "4c911f08-7713-4e83-bdf6-a0692a1b43fd",
"documents": [
{
"url": "/v1/customers/0b6b…/documents/77c2…/download"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.