Return List of open, scheduled and shipped orders that match the criteria.
Returns open, scheduled, and shipped order lines matching the given filters, optionally including shipment tracking details. At least one filter (order ID, PO number, confirmation number, part number, customer part number, end customer name, or a date range) is required.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
In: header
Query Parameters
Type of order to search (all, sales, sample, nco); defaulted to all
Value in
- "all"
- "sales"
- "sample"
- "nco"
Number of matches to be returned if found; defaulted to 10 with a max of 100
int3210Database identifier (id attribute from the Order model), e.g. 71a53e94ad4bf8ad97322e05, to use as a starting point for a page of results in a single session of paging through results. An empty value will retrieve the first page. To get the next page in the result set, pass the ID of the last document from the previous page. PLEASE NOTE: the ID values are only intended to be valid for a single session of paging through results. If you wish to page through the results again, start over by passing an empty string to the startAfter parameter.
""Initial date to search for. All dates should be passed in ISO 8601 date format, e.g. 2024-12-17 (Required when searching by finalDate)
Final date to search for. All dates should be passed in ISO 8601 date format, e.g. 2024-12-17 (Required when searching by initialDate)
Order ID to search for (Can be used alone but required when searching by mfgLineNumber or lineNumber)
int32Samtec line number to search for
int32Customer line number to search for
int32The confirmation number to search for e.g. TTQ44XTJM6P8
Purchase order number to search for
Samtec Part Number to search for
Customer Part Number to search for
End Customer Name to search for
Use True when cancelled lines should be returned if found
falseIndicates if the shipment information should be returned if found
falseHeader Parameters
Name of the client application
"samtec-dev-portal"Response Body
application/json
curl -X GET "https://example.com/v1/history"[ { "Id": "68b4a1f2c9e77a0012ab34ce", "OrderId": 4512389, "MfgLineNumber": 1, "LineNumber": 1, "LineType": "Sales", "ConfirmationNumber": "TTQ44XTJM6P8", "Status": "Fully Shipped", "PONumber": "PO-88214-A", "ShippingOption": { "Carrier": { "Id": 3, "Name": "FedEx" }, "ServiceLevel": { "Id": 1, "Name": "Ground" }, "BillingOption": { "Id": 2, "Name": "Prepaid" } }, "ReferencePONumber": null, "Notes": [], "TrackingNumbers": [], "Entered": "2026-08-01T14:32:00Z", "Requested": "2026-08-15T00:00:00Z", "Scheduled": "2026-08-14T00:00:00Z", "RescheduleDate": null, "CustomerPart": "CP-8842-A", "Part": "TSW-110-08-T-D", "Currency": "USD", "Quantity": 2500, "NetPrice": 0.184, "ShipTo": { "Id": 5521, "Customer": { "Id": 8842, "Name": "Acme Robotics Inc." }, "Address": { "Id": 1, "Name": "Acme Robotics Inc.", "Address1": "500 Innovation Way", "Address2": null, "Address3": null, "City": "Austin", "State": "TX", "PostalCode": "78701", "Country": "US" } }, "BillTo": { "Id": 5522, "Customer": { "Id": 8842, "Name": "Acme Robotics Inc." }, "Address": { "Id": 2, "Name": "Acme Robotics Inc. - Accounts Payable", "Address1": "500 Innovation Way", "Address2": "Suite 200", "Address3": null, "City": "Austin", "State": "TX", "PostalCode": "78701", "Country": "US" } }, "EndCustomer": { "Id": 8842, "Name": "Acme Robotics Inc." }, "EndCustomerLocation": { "Id": 5521, "Customer": { "Id": 8842, "Name": "Acme Robotics Inc." }, "Address": { "Id": 1, "Name": "Acme Robotics Inc.", "Address1": "500 Innovation Way", "Address2": null, "Address3": null, "City": "Austin", "State": "TX", "PostalCode": "78701", "Country": "US" } }, "SourceId": 1, "ConvertedNetPrice": 0.184, "Shipments": [ { "ShipmentId": 991234, "ShipmentReference": "SHP-2054187", "LeadTrackingNumber": "1Z999AA10123456784", "ShipDate": "2026-08-14T09:00:00Z", "ShipAttention": "Receiving Dept", "QuantityShipped": 2500 } ] }]