Use this endpoint to get the details of an order.

get/orders/{orderId}

Request

  • Base URL
    https://mediastoreapi-sandbox.cleeng.com
  • URL
    https://mediastoreapi-sandbox.cleeng.com/orders/{orderId}
  • Auth
    API key in header Authorization

Path parameters

orderIdstring required

ID of a Cleeng order

Headers

Content-Typestring

Response

200

Example response

{
  "responseData": {
    "success": true,
    "message": "Order created successfully",
    "order": {
      "id": 434946589,
      "customerId": 996028494,
      "customer": {
        "locale": "pl_PL",
        "email": "example@cleeng.com"
      },
      "publisherId": 120355559,
      "offerId": "S567921766_NL",
      "offer": {
        "title": "Monthly subscription (recurring) to customerName",
        "price": 18.3636,
        "currency": "EUR"
      },
      "totalPrice": 22.58,
      "priceBreakdown": {
        "offerPrice": 18.36,
        "discountedPrice": 18.36,
        "taxValue": 4.22
      },
      "taxRate": 0.23,
      "currency": "EUR",
      "country": "PL",
      "expirationDate": 1580307560,
      "requiredPaymentDetails": true
    }
  }
}

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      api operation id get-an-order removed and replaced with msd-get-order

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status