Create a new manufacturer
POST
/manufacturers
const url = 'https://api.waku-robotics.com/v1/manufacturers';const options = { method: 'POST', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"name":"example","workspace_id":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.waku-robotics.com/v1/manufacturers \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "workspace_id": "example" }'Create a new manufacturer in the given workspace.
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”Manufacturer
Media typeapplication/json
object
name
required
The name of the manufacturer
string
workspace_id
required
The ID of the workspace in which the manufacturer should be created
string
Example generated
{ "name": "example", "workspace_id": "example"}Responses
Section titled “Responses”OK
Media typeapplication/json
object
created_at
required
string
id
required
string
name
required
string
slug
required
string
updated_at
required
string
workspace_id
required
string
Example generated
{ "created_at": "example", "id": "example", "name": "example", "slug": "example", "updated_at": "example", "workspace_id": "example"}default
Section titled “default”Media typeapplication/json
object
code
integer
message
string
Example generated
{ "code": 1, "message": "example"}
