Back to Aligni.com

Updates a Subpart. If manufacturer_pn or part_id is specified it will also change related part for this subpart.

Examples

# request
curl -X PUT -H 'Accept: application/xml' -H 'Content-Type: application/xml' -d "
<subpart>
  <manufacturer_pn>C0603C104K4RACTU</manufacturer_pn>
  <part_id>574</part_id>
  <quantity>15</quantity>
  <build_sequence>123</build_sequence>
  <designator>C22, C52</designator>
  <no_load>0</no_load>
  <comment>The most important piece.</comment>
</subpart>" \
https://demo.aligni.com/api/v2/oid3vLgynoy_Yl1gZkrgkLEq3J/subpart/178

# response
<subpart>
  <id>178</id>
  <subpart_id>574</subpart_id>
  <quantity>15</quantity>
  <build_sequence>123</build_sequence>
  <designator>C22, C52</designator>
  <comment>The most important piece.</comment>
  <no_load>false</no_load>
</subpart>

Params

Param name Description
api_token
required

Your API token.


Value: Must be a String
id
required

Value: Must be a number.