Release Candidate — the API is undergoing final validation before general availability, and minor changes may still occur.
Hellomateo API Documentation
Deal Types

Update Deal Type

PATCH
/v1/deal-types/{id}

Updates the specified deal Type.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Unique identifier for the resource.

Formatuuid

Query Parameters

include?array<"statuses">

Additional fields to include in the response. Use repeated query syntax: include=foo&include=bar.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

name?string

Human-readable name of the resource.

Length1 <= length
emoji?|

Emoji value for this resource.

statuses?array<>

Statuses configured for the resource, in display order.

Items1 <= items

Response Body

application/json

curl -X PATCH "https://api.getmateo.com/v1/deal-types/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "key": "string",  "name": "string",  "emoji": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "statuses": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "key": "string",      "name": "string",      "type": "in_progress",      "idx": 9007199254740991    }  ]}