Ordexs API v1 Get an API key

Reviews

Publish or hide a review

PATCHhttps://api.ordexs.com/v1/reviews/{review_id}

Path parameters

  • review_idstringRequired

    starts with rev_

Body

  • statusstringRequired

    One of pending, published, hidden

Returns

200 OK · The review. Review

  • idstring

    starts with rev_

  • objectstring

    always "review"

  • product_idstring
  • ratinginteger

    1–5

  • titlestring or null
  • bodystring
  • author_namestring
  • statusstring

    One of pending, published, hidden

  • sourcestring

    One of customer, merchant

  • published_atstring or null

    ISO 8601 date-time, UTC

  • created_atstring

    ISO 8601 date-time, UTC

  • livemodeboolean

Errors

Every error has the same shape. This endpoint can answer with: