Skip to main content

Get All Order Status

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

  • Paid
  • Invoiced
Endpoint : https://demo-api.frontpayment.no/api/v1/connect/orders/status
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"
    }
  ]
}