Skip to main content

Get Order Details By UUID

By this API single order details can be retrieved by UUID. 

Endpoint : https://dev-api.frontpayment.no/api/v1/orders/details/{{ORDER_UUID}}
Method : GET
Authorization : Bearer
Response Structure :

 

// Success
{
    "status_code": 200,
    "status_message": "OK",
    "message": "orderRetrievedSuccessfully",
    "is_data": true,
    "data": {
        "type": "String",
        "paymentLink": "String|Nullable",
        "orderUuid": "String",
        "invoiceNumber": "String|Nullable",
        "status": "String",
        "productList": [
            {
                "name": "String",
                "productId": "String",
                "quantity": "Integer",
                "rate": "Float",
                "discount": "Float",
                "tax": "Float",
                "amount": "Float"
            }
        ],
        "orderSummary": {
            "subTotal": "Float",
            "tax": 482.14,
            "discount": 0,
            "grandTotal": 4500
        },
        "invoiceAsPaymentOption": "Boolean|Tiny Integer",
        "orderDate": "String",
        "paymentLinkDueDate": "String",
        "sendOrderBy": {
            "sms": "Boolean",
            "email": true,
            "invoice": false
        },
        "creditCheck": false,
        "customerDetails": {
            "type": "String",
            "uuid": "String",
            "countryCode": "String",
            "msisdn": "String",
            "email": "String",
            "name": "String",
            "preferredLanguage": "String",
            "personalNumber": "String|Nullable",
            "organizationId": "String|Nullable",
            "address": {
                "street": "String",
                "zip": "String",
                "city": "String",
                "country": "String"
            }
        },
        "invoiceReferences": "String|Nullable",
        "internalReferences": "String|Nullable",
        "organizationDetails": {
            "name": "String",
            "billingAddress": {
                "countryCode": "String",
                "msisdn": "String",
                "email": "String",
                "street": "String",
                "zip": "String",
                "city": "String",
                "country": "String"
            }
        },
        "translationKey": "String",
        "creditCheckHistory": "String|Nullable",
        "businessInformation": {
            "name": "string",
            "type": "string",
            "location": "String"
        },
        "organizationUuid": "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": "orderRetrievedSuccessfully",
    "is_data": true,
    "data": {
        "type": "REGULAR",
        "paymentLink": null,
        "orderUuid": "ODR986760186",
        "invoiceNumber": null,
        "status": "INVOICED",
        "productList": [
            {
                "name": "Router",
                "productId": "R_1",
                "quantity": 1,
                "rate": 4500,
                "discount": 0,
                "tax": 0,
                "amount": 4500
            }
        ],
        "orderSummary": {
            "subTotal": 4017.86,
            "tax": 482.14,
            "discount": 0,
            "grandTotal": 4500
        },
        "invoiceAsPaymentOption": 1,
        "orderDate": "02.08.2023",
        "paymentLinkDueDate": "07:11, 04.08.2023",
        "sendOrderBy": {
            "sms": false,
            "email": true,
            "invoice": false
        },
        "creditCheck": false,
        "customerDetails": {
            "type": "Private",
            "uuid": "CSRT197366289",
            "countryCode": "+47",
            "msisdn": "46567468",
            "email": "[email protected]",
            "name": "Zahidul",
            "preferredLanguage": "en",
            "personalNumber": null,
            "organizationId": null,
            "address": {
                "street": "Klosterenget 144",
                "zip": "7030",
                "city": "Trondheim",
                "country": "Norway"
            }
        },
        "invoiceReferences": null,
        "internalReferences": null,
        "organizationDetails": {
            "name": "Partex",
            "billingAddress": {
                "countryCode": "+47",
                "msisdn": "46567468",
                "email": "[email protected]",
                "street": "sdsd",
                "zip": "3933",
                "city": "stenifs",
                "country": "norway"
            }
        },
        "translationKey": "orderInvoiced",
        "creditCheckHistory": null,
        "businessInformation": {
            "name": "Partex",
            "type": "Business and Industrial Markets",
            "location": "stenifs"
        },
        "organizationUuid": "ORG2111119716"
    }
}