Code | Description |
---|---|
400 | The request was unacceptable, often due to missing a required parameter. |
curl -X POST -H "Authorization: XXXX" -H "Content-Type: application/json" -d '{"name": "New Brand"}' "https://api.axefax.com/brands" Response: { "brand":{ "id":549, "type_id": 1, "name":"New Brand", "approved":false } }
POST /brands { "name": "Panasche09ed6ef9-4114-417f-8b97-78de243791d9", "type": { "id": 12074, "name": "Guitars", "subdomain": "guitars" }, "brand": { "name": "Panasche09ed6ef9-4114-417f-8b97-78de243791d9" } } 201 { "id": 4292, "name": "Panasche09ed6ef9-4114-417f-8b97-78de243791d9", "approved": false, "type": "Guitars" }
Param name | Description |
---|---|
name required |
Validations:
|
type_id optional |
Brand type. Only necessary if you are using the generic API (api.axefax.com) Validations:
|