Get Order API


Description

This is a secure endpoint designed to facilitate the retrieval of order data by authorized clients. It plays a crucial role in applications that require access to order information for various purposes, such as tracking sales, managing inventory, or generating reports. To access this API, clients must provide a valid access token in the request header, which is used for authentication and authorization.

Method: POST

URL/Path: baseurl/account/get/order/api/

E.g.: budgetree.in/account/get/order/api/

Request Header:

Content-Type application/json
Accept */*
Authorization Bearer [Your Authorization Token]

Sample Response    200


                        [
                            {
                                "_id": {
                                    "$oid": "64d4b6bf93f44340d4486596"
                                },
                                "code": 6652,
                                "message": "Invalid Category",
                                "messages": []
                            },
                            {
                                "_id": {
                                    "$oid": "64d4b70e43de3cab03e3e3e8"
                                },
                                "code": 6652,
                                "message": "Invalid Category",
                                "messages": []
                            },
                            {
                                "_id": {
                                    "$oid": "64d4bc23376a85c61dd36251"
                                },
                                "code": 6652,
                                "message": "Invalid Category",
                                "messages": []
                            },
                            {
                                "_id": {
                                    "$oid": "64d4d0e800a819244bf48c89"
                                },
                                "code": 6652,
                                "message": "Invalid Category",
                                "messages": []
                            },
                            {
                                "_id": {
                                    "$oid": "64d5b38313dac056ca53cfa2"
                                },
                                "code": 6652,
                                "message": "Invalid Category",
                                "messages": []
                            },
                            {
                                "_id": {
                                    "$oid": "64eb40050ffb4be4b998eb8b"
                                },
                                "code": 6652,
                                "message": "Invalid Category",
                                "messages": []
                            }
                        ]

                            
        

HTTP Codes

Status Code Message Description
200 Ok This indicates Orders are returned
400 Bad Request No token provided
498 Unknown Status Code Invalid token

Last updated on: