Reviews

Store order in Rating Captain You can use this endpoint to store order in Rating Captain. You can attach products in this request

post/emails

Request

  • Base URL: https://api.ratingcaptain.com
  • URL: https://api.ratingcaptain.com/emails
  • Auth: none required

Request body

external_idstring required

ID in customer system.

qr_codestring

The <code>id</code> of an existing record in the qr_codes table.

hashstring required

Website token in Rating Captain system, you can get this data from Rating Captain account. The <code>hash</code> of an existing record in the websites table.

emailstring required

Order email. Must be a valid email address.

linkstring

<strong>We recommended to not use this field</strong>.

phonestring nullable

User phone number. Must not be greater than 20 characters. Must be at least 7 characters.

send_datestring nullable

<strong>We recommended to not use this field</strong>. Must be a valid date. Must be a date after <code>today</code>.

send_afternumber nullable

<strong>We recommended to not use this field</strong>. Must be at least 1.

order_sourcestring nullable

Example request

{
  "external_id": "ord_12515",
  "hash": "{YOUR WEBSITE TOKEN (HASH)}",
  "email": "test@gmail.com",
  "link": "recommended-not-use-this",
  "phone": "630 511 231",
  "send_date": "recommended-not-use-this",
  "products": [
    {
      "name": "Test",
      "id": "421515",
      "price": "45.12",
      "product_url": "https://test.com/products/test",
      "ean": "556785455"
    }
  ],
  "platform": {
    "external_id": "WQ"
  },
  "order_source": "ut"
}

Response

idinteger
like_linkstring
dislike_linkstring
products_linkstring
summary_jsstring
messagestring

Example response

{
  "id": 4065637,
  "errors": [],
  "like_link": "https://api.ratingcaptain.com/rate/click/d04792b9bd5ef5d4d05a56ee1bd93bdb",
  "dislike_link": "https://api.ratingcaptain.com/rate/d04792b9bd5ef5d4d05a56ee1bd93bdb/message",
  "products_link": "https://api.ratingcaptain.com/products/rate/d04792b9bd5ef5d4d05a56ee1bd93bdb",
  "summary_js": null,
  "message": "success"
}

Changes

No recorded changes to this operation across all 1 revision of this API.