Create StockDocument
POST
/v1/stock_documents/Downloads a StockDocument document directly
Request
Body Params multipart/form-data
stock_lot_ids
array[string]
required
List of StockLot UUID strings
Example:
[""]
document
file
required
document_type
enum<string>
required
Allowed values:
inspection_photoinspection_photo_bulkpackage_photox_rayx_ray_bulkdocumentreportquotepacking_slipc_of_cpurchase_updatepurchase_confirmationinvoiceship_notificationpurchase_orderrfqfile
metadata
string
optional
Stringified JSON object
Example:
"{\"field1\": \"value1\"}"
notes
string
optional
needs_review
boolean
optional
purchase_order_id
string
optional
UUID of a valid Purchase
document_extractor_id
string
optional
UUID of a valid DocumentExtractor (Used for AI Driven Document Parsing)
parsed_data
string
optional
Stringified JSON object (Used for AI Driven Document Parsing)
Example:
"{\"field1\": \"value1\"}"
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: 4 months ago