Skip to main content

Create a comment

POST 

/comments

Create a comment

Request

Body

required

    body string
    comment_record_type string

    Possible values: [number_order, sub_number_order, number_order_phone_number]

    comment_record_id uuid

Responses

200: A Comment Response

Schema

    data

    object

    id uuid
    body string
    commenter string
    commenter_type string

    Possible values: [admin, user]

    comment_record_type string

    Possible values: [number_order, sub_number_order, number_order_phone_number]

    comment_record_id uuid
    read_at datetime

    An ISO 8901 datetime string for when the comment was read.

    created_at datetime

    An ISO 8901 datetime string denoting when the comment was created.

    updated_at datetime

    An ISO 8901 datetime string for when the comment was updated.

default: Unexpected error

Schema

    errors

    Error[]

  • Array [

  • code integerrequired
    title stringrequired
    detail string

    source

    object

    pointer json-pointer

    JSON pointer (RFC6901) to the offending entity.

    parameter string

    Indicates which query parameter caused the error.

    meta

    object

    url string

    URL with additional information on the error.

  • ]

Loading...