Moderation

Prices_flag_create

POST
/api/v1/prices/{id}/flag
AuthorizationBearer <token>

In: header

Path Parameters

idinteger

A unique integer value identifying this Price.

reasonReasonEnum
  • WRONG_TYPE - Wrong type
  • WRONG_PRICE_VALUE - Wrong price value
  • WRONG_CURRENCY - Wrong currency
  • WRONG_PRODUCT - Wrong product
  • WRONG_LOCATION - Wrong location
  • WRONG_DATE - Wrong date
  • OTHER - Other
Value in"WRONG_TYPE" | "WRONG_PRICE_VALUE" | "WRONG_CURRENCY" | "WRONG_PRODUCT" | "WRONG_LOCATION" | "WRONG_DATE" | "OTHER"
comment?string | null

Response Body

curl -X POST "https://loading/api/v1/prices/0/flag" \  -H "Content-Type: application/json" \  -d '{    "reason": "WRONG_TYPE"  }'
{
  "id": 0,
  "content_type": "string",
  "object_id": 9223372036854776000,
  "reason": "WRONG_TYPE",
  "comment": "string",
  "status": "OPEN",
  "owner": "string",
  "source": "string",
  "created": "2019-08-24T14:15:22Z",
  "updated": "2019-08-24T14:15:22Z"
}