Updates a component from a specific product family.
You may read the component by either the component's id or handle. When using the handle, it must be prefixed with handle:.
If you have the new Catalog experience enabled, taxable components must include a non-blank tax_code. Sending "tax_code": "" returns 422.
The username is a Maxio Chargify API key and the password is x. Basic authentication works only with the US and EU environments, which connect to chargify.com directly. The Maxio API Gateway environment does not accept Basic authentication.
In: header
The Advanced Billing id of the product family to which the component belongs
Either the Advanced Billing id of the component or the handle for the component prefixed with handle:
^(?:\d+|handle:(?:uuid:|[a-z])(?:\w|-)+)$application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X PUT \ --url 'https://subdomain.chargify.com/product_families/1/components/54632.json' \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ --data-raw '{ "component": {}}'