Request
- Base URLhttps://demo.invoiceninja.com
- Authnone declared. Required headers: X-API-TOKEN, X-Requested-With
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The Product Hashed ID
Query parameters
Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes
Headers
The API token to be used for authentication
Used to send the XMLHttpRequest header
Request body
Example request
{
"assigned_user_id": "pR0j3",
"project_id": "pR0j3",
"vendor_id": "pR0j3",
"custom_value1": "Custom value 1",
"custom_value2": "Custom value 2",
"custom_value3": "Custom value 3",
"custom_value4": "Custom value 4",
"product_key": "1234",
"notes": "These are some notes about the product.",
"cost": 10,
"price": 20,
"quantity": 5,
"tax_name1": "Tax 1",
"tax_rate1": 10,
"tax_name2": "Tax 2",
"tax_rate2": 5,
"tax_name3": "Tax 3",
"tax_id": "1",
"income_account_id": "42"
}Response
Returns the Product object
Example response
{
"id": "eP01N",
"user_id": "n30m4",
"assigned_user_id": "pR0j3",
"project_id": "pR0j3",
"vendor_id": "pR0j3",
"custom_value1": "Custom value 1",
"custom_value2": "Custom value 2",
"custom_value3": "Custom value 3",
"custom_value4": "Custom value 4",
"product_key": "1234",
"notes": "These are some notes about the product.",
"cost": 10,
"price": 20,
"quantity": 5,
"tax_name1": "Tax 1",
"tax_rate1": 10,
"tax_name2": "Tax 2",
"tax_rate2": 5,
"tax_name3": "Tax 3",
"archived_at": 1647604800,
"created_at": 1647604800,
"updated_at": 1647691496,
"tax_id": "1",
"income_account_id": "42"
}Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info
- breaking
the request's body type changed from no type to
object - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking