Specification
Autorizações
Parâmetros de rota
categorystringObrigatório
idstringObrigatório
Respostas
200
OK
application/json
404
Specification was not found
application/json
500
An internal server error was thrown
application/json
get
GET /api/sales/categories/{category}/specification/{id} HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Accept: */*
{
"id": "text",
"category_id": "text",
"name": "text",
"type": "text",
"values": [
"text"
],
"group": "text",
"is_searchable": true
}
Autorizações
Parâmetros de rota
categorystringObrigatório
idstringObrigatório
Corpo
idstringObrigatório
namestringObrigatório
typestringObrigatório
valuesstring[]Obrigatório
groupstringOpcional
is_searchablebooleanOpcional
Respostas
200
Specification updated successfully
application/json
422
A validation error was thrown
application/json
500
An internal server error was thrown
application/json
put
PUT /api/sales/categories/{category}/specification/{id} HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 95
{
"id": "text",
"name": "text",
"type": "text",
"values": [
"text"
],
"group": "text",
"is_searchable": true
}
{
"id": "text",
"category_id": "text",
"name": "text",
"type": "text",
"values": [
"text"
],
"group": "text",
"is_searchable": true
}
Autorizações
Parâmetros de rota
categorystringObrigatório
idstringObrigatório
Respostas
204
Specification removed successfully
application/json
422
A validation error was thrown
application/json
500
An internal server error was thrown
application/json
delete
DELETE /api/sales/categories/{category}/specification/{id} HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Accept: */*
{
"id": "text"
}
Autorizações
Parâmetros de rota
categorystringObrigatório
Respostas
200
OK
application/json
404
Specification was not found
application/json
500
An internal server error was thrown
application/json
get
GET /api/sales/categories/{category}/specification HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Accept: */*
{
"id": "text",
"category_id": "text",
"name": "text",
"type": "text",
"values": [
"text"
],
"is_searchable": true
}
Autorizações
Parâmetros de rota
categorystringObrigatório
Corpo
idstringObrigatório
namestringObrigatório
typestringObrigatório
valuesstring[]Obrigatório
groupstringOpcional
is_searchablebooleanOpcional
Respostas
201
Specification created successfully
application/json
422
A validation error was thrown
application/json
500
An internal server error was thrown
application/json
post
POST /api/sales/categories/{category}/specification HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 95
{
"id": "text",
"name": "text",
"type": "text",
"values": [
"text"
],
"group": "text",
"is_searchable": true
}
{
"id": "text",
"category_id": "text",
"name": "text",
"type": "text",
"values": [
"text"
],
"group": "text",
"is_searchable": true
}