Product
Autorizações
AuthorizationstringObrigatório
Bearer authentication header of the form Bearer <token>.
Parâmetros de rota
newOrderIdstringObrigatório
Respostas
200
OK
application/json
titlestringOpcional
enable_qr_codebooleanOpcional
has_brandsbooleanOpcional
has_categoriesbooleanOpcional
has_most_searchedbooleanOpcional
404
New order product search was not found
application/json
500
An internal server error was thrown
application/json
get/new-orders/{newOrderId}/search/product
GET /api/b2b/new-orders/{newOrderId}/search/product HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"title": "text",
"enable_qr_code": true,
"has_brands": true,
"has_categories": true,
"has_most_searched": true,
"fields": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"boost": "LOW",
"search": "REGULAR",
"created_by": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_by": "text",
"updated_at": "2026-01-01T00:00:00.000Z"
}
]
}Autorizações
AuthorizationstringObrigatório
Bearer authentication header of the form Bearer <token>.
Parâmetros de rota
newOrderIdstringObrigatório
Corpo
titlestringObrigatório
enable_qr_codebooleanObrigatório
has_brandsbooleanObrigatório
has_categoriesbooleanObrigatório
has_most_searchedbooleanObrigatório
Respostas
200
OK
application/json
titlestringOpcional
enable_qr_codebooleanOpcional
has_brandsbooleanOpcional
has_categoriesbooleanOpcional
has_most_searchedbooleanOpcional
404
New order product search was not found
application/json
500
An internal server error was thrown
application/json
put/new-orders/{newOrderId}/search/product
PUT /api/b2b/new-orders/{newOrderId}/search/product HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 207
{
"title": "text",
"enable_qr_code": true,
"has_brands": true,
"has_categories": true,
"has_most_searched": true,
"fields": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"boost": "LOW",
"search": "REGULAR"
}
]
}{
"title": "text",
"enable_qr_code": true,
"has_brands": true,
"has_categories": true,
"has_most_searched": true,
"fields": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"boost": "LOW",
"search": "REGULAR",
"created_by": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_by": "text",
"updated_at": "2026-01-01T00:00:00.000Z"
}
]
}