PUT /comments/{id}.json

PUT /comments/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

  • 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

PUT /comments/{id}.json
curl \
 --request PUT 'http://api.example.com/v1/comments/{id}.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"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}'
Request examples
{
  "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
}