POST
/
prices
/
evaluate
curl --request POST \
  --url https://api.withorb.com/v1/prices/evaluate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customer_id": "<string>",
  "external_customer_id": "<string>",
  "timeframe_start": "2023-11-07T05:31:56Z",
  "timeframe_end": "2023-11-07T05:31:56Z",
  "events": [
    {
      "customer_id": "<string>",
      "external_customer_id": "<string>",
      "event_name": "<string>",
      "timestamp": "2020-12-09T16:09:53Z",
      "properties": {}
    }
  ],
  "price_evaluations": []
}'
{
  "data": [
    {
      "price_groups": [
        {
          "grouping_values": [
            "<string>"
          ],
          "quantity": 123,
          "amount": "<string>"
        }
      ],
      "currency": "<string>",
      "price_id": "<string>",
      "inline_price_index": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

API Keys can be issued in the Orb's web application.

Body

application/json

Response

200
application/json

OK

The response is of type object.