Close Comment By Sale Id
PUT {{baseUrl}}/comments/close/sale/{saleId}
Description
Close a comment associated with a specific sale.
Request
- Headers:
Content-Type: application/jsonAccept: */*
- URL:
- Raw URL:
{{baseUrl}}/comments/close/sale/{saleId} - Host:
{{baseUrl}} - Path:
/comments/close/sale/{saleId}
- Raw URL:
Response
- Code: 200
- Headers:
Content-Type: */*
Headers
tenantId: <string> (Required)countryCode: <string> (Required)Accept: */*
Params
sale_id: <string> (Required)
Path Variables
saleId
Sample Request
curl --location -g --request PUT '{{baseUrl}}/comments/sales/:saleId/close?sale_id=%3Cstring%3E' \
--header 'tenantId: <string>' \
--header 'countryCode: <string>' \
--header 'Accept: */*'
Sample Response
{
"message": "<string>",
"data": [
{
"id": "<long>",
"uuid": "<string>",
"createdAt": "<dateTime>",
"updatedAt": "<dateTime>",
"saleId": "<string>",
"tenantId": "<string>",
"status": "<string>",
"comments": "<string>",
"commentedBy": "<string>",
"commentStatus": "<string>",
"countryCode": "<string>"
},
{
"id": "<long>",
"uuid": "<string>",
"createdAt": "<dateTime>",
"updatedAt": "<dateTime>",
"saleId": "<string>",
"tenantId": "<string>",
"status": "<string>",
"comments": "<string>",
"commentedBy": "<string>",
"commentStatus": "<string>",
"countryCode": "<string>"
}
],
"meta": {
"currentPage": "<long>",
"from": "<long>",
"to": "<long>",
"perPage": "<long>",
"total": "<long>",
"lastPage": "<long>"
}
}
LANGUAGE
CURL REQUEST
curl --request PUT \
--url /comments/close/sale/{saleId} \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!