Materials
Create a new Material
Changed onOAuth 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
- Base URLhttps://api.servicem8.com/api_1.0
- URLhttps://api.servicem8.com/api_1.0/material.json
- Auth
- API key in header X-Api-Key
- or OAuth 2Authorization code: https://api.servicem8.com/oauth/authorizeToken URL: https://api.servicem8.com/oauth/access_token scopes: manage_inventory
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
- warning
removed the request property
- warning
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info