- BOMs
- Gets Boms that user has read access toGET
- Creates a Bom using Cofactr DataPOST
- Creates a Bom using raw bomline data and performs searches to convert into Cofactr DataPOST
- Gets a BomGET
- Upsert BOM AsyncPUT
- Updates a BomPATCH
- Deletes a Bom if still unapproved. Archives a bom if approved.DELETE
- Approves an unapproved Bom.POST
- Gets Bom Lines on a Bom.GET
- Creates a new bomline on a Bom using Cofactr data. If a bomline with the provided part exists it will sum the quants instead of duplicating lines.POST
- Gets a BomLineGET
- Updates a BomLinePATCH
- Removes a Bomline from a Bom.DELETE
- Attempts to create a new Bomline using raw data and performs searches to convert into Cofactr Data. If a Bomline with the same part and refdes exists it will sum the quants instead of duplicating lines.POST
- Programs
- Gets ProgramsGET
- Creates a ProgramPOST
- Gets a ProgramGET
- Updates a ProgramPATCH
- Deletes a ProgramDELETE
- Gets Program AvailabilitiesGET
- Gets Program Availabilities AsyncGET
- Gets Program Reference PricingGET
- Get Programs LinesGET
- Get Programs LineGET
- Update Programs LinePATCH
- Delete Programs LineDELETE
- Create Programs LinesPOST
- Get Program Part OverridesGET
- Create Program Part OverridesPOST
- Get Program Part OverrideGET
- Update Program Part OverridePATCH
- Delete Program Part OverrideDELETE
- Account
- Reporting
- Email
- Auth
- Async Jobs
- Stock Documents
- Suppliers
- Parts
- Purchases
- Get Purchase Order
- Create Purchase Order
- Update Purchase Order
- Delete Purchase Order
- Get Purchase Lines
- Get Purchase Line
- Create Purchase Line
- Update Many Purchase Lines
- Delete Purchase Line
- Get NoPart Purchase Lines
- Create NoPart Purchase Line
- Update Many NoPart Purchase Lines
- Delete NoPart Purchase Line
- Create Purchase Event
- Update Supplier Bill
- Update Supplier Bill Line
- Create Supplier Bill
- Create Supplier Bill Line
- Teams
- Custom Properties
- Stock Lots
- Tags
- Rfqs
- RfqLines
- SupplierQuote
- SupplierQuoteLines
Get StockDocument
GET
/v1/stock_documents/{stock_document_id}/
Request
Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Path Params
stock_document_id
string <uuid>
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v1/stock_documents//' \
--header 'Authorization;'
Responses
🟢200Success
application/json
Body
id
string <uuid>
required
metadata
object
optional
synced_from_integration
boolean
required
synced_from_integration_at
string <date-time>
required
integration_source_name
string
required
integration_record_id
string
required
notes
string
required
org_id
string <uuid>
required
document
string <uri>
required
parsed_data
object
required
needs_review
boolean
required
document_type
enum<string>
required
Allowed values:
inspection_photoinspection_photo_bulkpackage_photox_rayx_ray_bulkdocumentreportquotepacking_slipc_of_cpurchase_updatepurchase_confirmationinvoiceship_notificationpurchase_orderrfqfile
purchase_order_id
string <uuid>
required
document_extractor_id
string <uuid>
required
stock_lots
array[string <uuid>]
required
Example
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"metadata": {},
"synced_from_integration": true,
"synced_from_integration_at": "2019-08-24T14:15:22Z",
"integration_source_name": "string",
"integration_record_id": "string",
"notes": "string",
"org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",
"document": "http://example.com",
"parsed_data": {},
"needs_review": true,
"document_type": "inspection_photo",
"purchase_order_id": "21637704-484e-4c9d-a7ca-e34984d27d80",
"document_extractor_id": "a8e15a72-f6df-43a2-ae41-9e1e715b55d7",
"stock_lots": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Modified at 2024-08-23 01:06:21