Updates a part’s information.
parts
Update
POST
POST
1 curl -X POST https://api.devrev.ai/parts.update \ 2 -H "Authorization: <apiKey>" \ 3 -H "Content-Type: application/json" \ 4 -d '{ 5 "type": "capability", 6 "value": { 7 "string": {} 8 }, 9 "id": "string" 10 }'
200
Successful
1 { 2 "part": { 3 "type": "capability", 4 "id": "string", 5 "name": "string", 6 "owned_by": [ 7 { 8 "type": "dev_user", 9 "id": "string", 10 "display_id": "string", 11 "display_name": "string", 12 "display_picture": { 13 "id": "string", 14 "display_id": "string" 15 }, 16 "email": "string", 17 "full_name": "string", 18 "state": "active" 19 } 20 ], 21 "artifacts": [ 22 { 23 "id": "string", 24 "display_id": "string" 25 } 26 ], 27 "created_by": { 28 "type": "dev_user", 29 "id": "string", 30 "display_id": "string", 31 "display_name": "string", 32 "display_picture": { 33 "id": "string", 34 "display_id": "string" 35 }, 36 "email": "string", 37 "full_name": "string", 38 "state": "active" 39 }, 40 "created_date": "2023-01-01T00:00:00Z", 41 "custom_fields": { 42 "string": {} 43 }, 44 "custom_schema_fragments": [ 45 "string" 46 ], 47 "description": "string", 48 "display_id": "string", 49 "modified_by": { 50 "type": "dev_user", 51 "id": "string", 52 "display_id": "string", 53 "display_name": "string", 54 "display_picture": { 55 "id": "string", 56 "display_id": "string" 57 }, 58 "email": "string", 59 "full_name": "string", 60 "state": "active" 61 }, 62 "modified_date": "2023-01-01T00:00:00Z", 63 "stock_schema_fragment": "string", 64 "subtype": "string", 65 "tags": [ 66 { 67 "tag": { 68 "id": "string", 69 "name": "string", 70 "display_id": "string" 71 }, 72 "value": "string" 73 } 74 ] 75 } 76 }