Ordexs API v1 Get an API key

Reviews

Add a review

POSThttps://api.ordexs.com/v1/reviews

Adds a review as the merchant (source merchant), like Add review on the Reviews page; for reviews collected elsewhere.

Body

  • product_idstringRequired

    starts with prod_

  • ratingintegerRequired

    1–5

  • titlestring

    up to 120 characters

  • bodystringRequired

    1–2000 characters

  • author_namestringRequired

    1–60 characters

  • statusstring

    One of pending, published, hidden
    default "published"

Returns

201 Created · 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: