POST /comments.json

POST /comments.json
application/json

Body Required

  • content string | null

    Content

  • customerId integer(int32) | null

    Customer

  • dropshipProviderId integer(int32) | null

    Dropship provider

  • dropshipmentId integer(int32) | null

    Dropshipment

  • fulfillmentId integer(int32) | null

    Fulfillment

  • goodsReceiptId integer(int32) | null

    Goods receipt

  • purchaseId integer(int32) | null

    Purchase

  • purchaseInvoiceId integer(int32) | null

    Purchase invoice

  • saleId integer(int32) | null

    Sale

  • transferId integer(int32) | null

    Transfer

  • userId integer(int32) | null

    User

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • content string | null

      Content

    • createdAt string(date-time)

      Created at

    • customerId integer(int32) | null

      Customer

    • dropshipProviderId integer(int32) | null

      Dropship provider

    • dropshipmentId integer(int32) | null

      Dropshipment

    • fulfillmentId integer(int32) | null

      Fulfillment

    • goodsReceiptId integer(int32) | null

      Goods receipt

    • id integer(int32)

      Id

    • purchaseId integer(int32) | null

      Purchase

    • purchaseInvoiceId integer(int32) | null

      Purchase invoice

    • saleId integer(int32) | null

      Sale

    • transferId integer(int32) | null

      Transfer

    • updatedAt string(date-time)

      Updated at

    • userId integer(int32) | null

      User

POST /comments.json
curl \
 --request POST 'http://api.example.com/v1/comments.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"content":"string","customerId":42,"dropshipProviderId":42,"dropshipmentId":42,"fulfillmentId":42,"goodsReceiptId":42,"purchaseId":42,"purchaseInvoiceId":42,"saleId":42,"transferId":42,"userId":42}'
Request examples
{
  "content": "string",
  "customerId": 42,
  "dropshipProviderId": 42,
  "dropshipmentId": 42,
  "fulfillmentId": 42,
  "goodsReceiptId": 42,
  "purchaseId": 42,
  "purchaseInvoiceId": 42,
  "saleId": 42,
  "transferId": 42,
  "userId": 42
}
Response examples (200)
{
  "content": "string",
  "createdAt": "2025-05-04T09:42:00Z",
  "customerId": 42,
  "dropshipProviderId": 42,
  "dropshipmentId": 42,
  "fulfillmentId": 42,
  "goodsReceiptId": 42,
  "id": 42,
  "purchaseId": 42,
  "purchaseInvoiceId": 42,
  "saleId": 42,
  "transferId": 42,
  "updatedAt": "2025-05-04T09:42:00Z",
  "userId": 42
}