POST /comments.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
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
}