# Get Transaction **GET /v2/api/transactions/{externalTransactionID}** Get a specific transaction using externalTransactionID. ## Servers - https://api.maddenanalytics.com: https://api.maddenanalytics.com () ## Authentication methods - Bearer ## Parameters ### Path parameters - **externalTransactionID** (string) External Transaction ID ### Query parameters - **type** (string) Filter by order type - **channel** (string) Filter by channel ## Responses ### 200 OK #### Body: application/json (object) - **cancelledDate** (string(date-time)) Date that the transaction was cancelled - **channel** (number) Channel of the transaction (1: D2C, 2: B2B) - **completedDate** (string(date-time)) Date that the transaction was completed - **createdDate** (string(date-time)) Date that the transaction was created - **currencyCode** (string) Currency Code of transaction (ISO 4217) - **customerName** (string) Name of the Customer (Only used on B2B transactions) - **deliveryDate** (string) The estimated Delivery Date of the transaction - **externalCostCenterID** (string) External ID of an assosciated cost center. Will be added as a suffix to externalStoreID - **externalCustomerID** (string) External Customer ID of the B2B customer - **externalInfo** (string) JSON body that can be used for integration purposes - **externalParentID** (string) Reference externalTransactionID of initial transaction when adding returns - **externalRowID** (string) Additional ExternalID of transaction - **externalStoreID** (string) External ID of the store (Store must exist in Madden) - **externalTransactionID** (string) The ID of the transaction in the source platform (used to query single transacitons) - **id** (integer) Maddens ID of the transaction (Used as reference on replace) - **invoicedDate** (string(date-time)) Invoiced at - **items** (array[object]) The items/product rows of the transaction - **market** (string) Market that the transaction was destined for. (Ex. Delivery Country) - **orderType** (string) OrderType of the transaction - **statements** (array[object]) Any fees/discounts applied to the whole transaction that are not directly tied to a transaction item - **type** (number) Type of the transaction (1: Sale, 2: Return), Note that Return should also change item Quantity/Price/CostPrice to negative ### 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)