Create Product Family
POST
product-families
Creates a new Product Family.
Resource Information
| Method and URI | POST https://api.aps.autodesk.com/fusion-operations/v2/product-families |
| Authentication Context | No security required |
| Required OAuth Scopes | data:read data:write |
| Data Format | JSON |
Request
Headers
| Authorization* string | JWT Access Token |
| Content-Type* string | Must be application/json |
* Required
Request
Body Structure
The Product Family object to be created, conforming to the specified schema.
| code* string | Max length: 255 |
| name string | Max length: 255 |
* Required
Response
HTTP Status Code Summary
| 201 Created | Product Family created successfully. |
| 400 Bad Request | Bad request due to invalid data. |
| 401 Unauthorized | The access token is invalid. It may have either expired or may not be a three-legged access token. Please verify the token and retry the request. |
| 403 Forbidden | The request was successfully validated but lacked required permission. Please verify your token permissions and retry the request. |
| 429 Too Many Requests | Rate limit exceeded; wait some time before retrying. |
| 500 Internal Server Error | An unknown server-side error occurred. Please try again later. If the problem persists, please contact support. |
Response
Header (429)
| Retry-After integer | The number of seconds to wait before retrying the request. |
Response
Body Structure (201)
| id int | The unique identifier of the Product Family to retrieve. |
| code string | Max length: 255 |
| name string | Max length: 255 |
Example
Product Family created successfully.
Request
curl -v 'https://developer.api.autodesk.com/fusion-operations/v2/product-families' \
-X 'POST' \
-H 'Authorization: ' \
-H 'Content-Type: application/json' \
-d '{
"code": "MySuperProdFamily",
"name": "MySuperProductFamily"
}'
Show More
Response
{
"id": 39,
"code": "MySuperProdFamily",
"name": "MySuperProductFamily"
}