Create a new note for a customer associated with a dealership

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

customer_id

integer

required

the customer ID

title

string

Title of the note

content

string

required

Content of the note

api-version

integer

required

Target API version

``201 Success

object

id

integer

required

content

string | null

required

created_at

date-time

required

note_type

string | null

required

pinned?

boolean

required

readonly?

boolean

required

images

array of objects

required

images*

object

id

integer

required

image_url

string

required

created_at

string

required

updated_at

date-time

required

author

string

required

object

Location

string

Link location of created customer

``401 Unauthorized

``403 Forbidden

``404 Not found

``415 Unsupported Media Type

``422 Unprocessable Content


xxxxxxxxxx

curl --request POST \

--url https://api.dealerware.com/admin/customers/customer_id/notes \

--header 'accept: application/json' \

--header 'content-type: application/json'

xxxxxxxxxx

{

"id": 12,

"content": "My notes content",

"created_at": "2023-02-13T16:08:34Z",

"note_type": "system",

"pinned?": true,

"readonly?": false,

"images": [\
\
    {\
\
      "id": 12,\
\
      "image_url": "https://example.com/image.png",\
\
      "created_at": "2023-02-13T16:08:34Z"\
\
    }\
\
  ],

"updated_at": "2023-02-13T16:08:34Z",

"author": "Yu Song"

}
Location