Purchased Components
Bulk upsert purchased components
Upserts purchased components in bulk. If the purchased component already exists, it will be updated. Otherwise, it will be created.
put/suppliers/public/purchased_components/batch
Request
- Base URLhttps://api.paperlessparts.com/v1
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"purchased_components": [
{
"oem_part_number": "064-1235",
"internal_part_number": "a",
"description": "any text you want",
"piece_price": 2,
"properties": [
{
"key": "property name"
}
]
}
]
}Response
Successful Response
Example response
{
"successes": [
{
"oem_part_number": "064-1235",
"internal_part_number": "a",
"description": "any text you want",
"piece_price": 2,
"properties": [
{
"key": "property name"
}
]
}
],
"failures": [
{
"oem_part_number": "064-1235",
"internal_part_number": "a",
"description": "any text you want",
"piece_price": 2,
"properties": [
{
"key": "property name"
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.