# Get Latest Purchase Order **GET /v2/api/purchaseorders/latest** Retrieves the latest purchase order in Madden. ## Servers - https://api.maddenanalytics.com: https://api.maddenanalytics.com () ## Authentication methods - Bearer ## Parameters ## Responses ### 200 OK #### Body: application/json (object) - **cancelledDate** (string) - **completedDate** (string) - **deliveryStatus** (number) Status of the Delivery (0: Not Delivered, 1: PartiallyDelivered, 2: FullyDelivered, 3: Cancelled) - **deliveryWindow** (string) Delivery Window of the Purchase Order - **externalComment** (string) Any relevant comment - **externalPurchaseNo** (string) External Purchase No - **factory** (string) Factory of the Purchase Order - **id** (integer) Maddens Purcher Order id - **items** (array[object]) The items on the Purchase Order - **label** (string) External Description/Label of PO - **orderDate** (string) Date that the Purchase Order was created - **orderType** (string) Order Type of the Purchase Order - **transportMethod** (string) Transport Method of the Purchase Order ### default All errors will return the same object with a describing code & message #### Body: application/json (object) - **error** (string) - **message** (string) - **statusCode** (integer) [Powered by Bump.sh](https://bump.sh)