Skip to main content

Get Order Status By UUID

By this API all order statues can be retrieved. Each order's status will be denotedretrieved by it's UUID. Can be filtered by status type as query (?type=). Types are listed below: 

  • Paid
  • Invoiced
Endpoint : https://dev-api.frontpayment.no/api/v1/connect/orders/statusstatus/ODR347888404
Method : GET
Authorization : Bearer
Response Structure :

 

// Success
{
  "status_code": 200,
  "status_message": "OK",
  "message": "Order Status Retrieved Successfully",
  "is_data": true,
  "data": [
    {
    "uuid": "String",
    "status": "String"
  },
    {
      "uuid": "String",
      "status": "String"
    }
  ]
}

// Errors
{
  "status_code": 404,
  "status_message": "Not Found",
  "message": "Order Not Found",
  "is_data": false,
  "data": null
}

{
    "status_code": 510,
    "status_message": "Execution Exception Occurred",
    "message": "Something Went Wrong",
    "is_error": true,
    "errors": "Array"
}
Example Response :

 

{
  "status_code": 200,
  "status_message": "OK",
  "message": "Order Status Retrieved Successfully",
  "is_data": true,
  "data": [
    {
    "uuid": "ODR347888404",
    "status": "REFUNDED"
  },
    {
      "uuid": "ODR139036234",
      "status": "PAID"
    }
  ]
}