Materials
Create a new Material
OAuth Scope
This endpoint requires the following OAuth scope manage_inventory.
Record UUID
UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the x-record-uuid response header.
post/material.json
Request body
Example request
{
"uuid": "123e4567-0719-4932-bd73-23f945fd0dab",
"tax_rate_uuid": "123e4567-ca58-48a3-9a03-23f945b3507b"
}Response
Success
Example response
{
"message": "OK"
}Changes
Changed in 2 of the 50 revisions of this API.14
- ●
removed the request property
activerequest-property-removed
- ●
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
403response-non-success-status-added
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
added the non-success response with the status
500response-non-success-status-added
- ○