Creates a new spare-part definition, i.e. an item of the spare parts catalogue that can be referenced by product-models and ordered through the store.
The code is the unique code of the spare-part and is the key used by the import API to recognize items that already exist.
Required permissions: READ_SPARE_PART, WRITE_SPARE_PART.
The name of the tenant (e.g. acme).
The details of the spare-part being created.
The spare-part name.
The spare-part unique code.
The spare-part description text.
The spare-part technical description text.
The list of HTTPS image URLs of this spare-part.
The spare-part price.
The id of the category this spare-part belongs to.
Successful creation.
The spare-part object identifier.
The spare-part name.
The spare-part unique code.
The spare-part description text.
The spare-part technical description text.
The list of HTTPS image URLs of this spare-part.
The spare-part price.
The id of the category this spare-part belongs to.
Request data not valid.
The error response.
User not authenticated.
The error response.
User not authorized.
The error response.
API call rate limit exceeded.
The error response.
Internal server error.
The error response.