Ordexs API v1 Get an API key

Offers

Retrieve an offer's results

GEThttps://api.ordexs.com/v1/offers/{offer_id}/performance

The orders the offer was applied to, their revenue and the discount it gave, as the Offers page shows. Cancelled and returned orders don't count.

Path parameters

  • offer_idstringRequired

    starts with ofr_

Returns

200 OK · The results. OfferPerformance

  • objectstring

    always "offer_performance"

  • offer_idstring
  • orders_countinteger
  • revenueMoney

    An amount of money. amount is a decimal STRING with exactly the currency's number of decimals ("1250.00" in DZD, "12.500" in TND) — never parse it into a float.

    2 child fields
    • amountstringRequired
    • currencystringRequired
  • discount_givenMoney

    An amount of money. amount is a decimal STRING with exactly the currency's number of decimals ("1250.00" in DZD, "12.500" in TND) — never parse it into a float.

    2 child fields
    • amountstringRequired
    • currencystringRequired
  • last_order_atstring or null

    ISO 8601 date-time, UTC

Errors

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