PUT /comments/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
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 \
-X PUT http://api.example.com/v1/comments/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"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}'
Request example
{
"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
}