POST /comments.json

POST /comments.json
application/json

Body Required

Responses

POST /comments.json
curl \
 -X POST http://api.example.com/v1/comments.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"content":"string","customerId":42,"dropshipProviderId":42,"dropshipmentId":42,"fulfillmentId":42,"goodsReceiptId":42,"purchaseId":42,"purchaseInvoiceId":42,"saleId":42,"transferId":42,"userId":42}'
Request example
{
  "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": "2024-05-04T09:42:00+00:00",
  "customerId": 42,
  "dropshipProviderId": 42,
  "dropshipmentId": 42,
  "fulfillmentId": 42,
  "goodsReceiptId": 42,
  "id": 42,
  "purchaseId": 42,
  "purchaseInvoiceId": 42,
  "saleId": 42,
  "transferId": 42,
  "updatedAt": "2024-05-04T09:42:00+00:00",
  "userId": 42
}