---
updatedAt: 2026-10-29T13:49:40.000Z
agentTools:
  projectIndex: https://wakecommerce.readme.io/llms.txt
---

# Insere um novo parceiro

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "wake-commerce-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.fbits.net"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-bearer-format": "basic",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/parceiros": {
      "post": {
        "summary": "Insere um novo parceiro",
        "description": "",
        "operationId": "insere-um-novo-parceiro",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "nome": {
                    "type": "string",
                    "description": "Nome do parceiro"
                  },
                  "tabelaPrecoId": {
                    "type": "integer",
                    "description": "Id da tabela de preço (optional)",
                    "format": "int32"
                  },
                  "portfolioId": {
                    "type": "integer",
                    "description": "Id do portfolio (optional)",
                    "format": "int32"
                  },
                  "tipoEscopo": {
                    "type": "string",
                    "description": "Tipo de escopo",
                    "enum": [
                      "Aberto\"",
                      "Fechado",
                      "PorCliente"
                    ]
                  },
                  "ativo": {
                    "type": "boolean",
                    "description": "Status do parceiro"
                  },
                  "isMarketPlace": {
                    "type": "boolean",
                    "description": "Se o parceiro é marketplace (optional)"
                  },
                  "origem": {
                    "type": "string",
                    "description": "Origem (optional)"
                  },
                  "alias": {
                    "type": "string",
                    "description": "Alias do parceiro (Max Length: 100)"
                  },
                  "nomeMarketplace": {
                    "type": "string",
                    "description": "Identificar qual marketplace é o parceiro"
                  },
                  "centroDistribuicaoIds": {
                    "type": "integer",
                    "description": "IDs dos centros de distribuição a vincular ao parceiro"
                  }
                }
              },
              "examples": {
                "New Example": {
                  "summary": "New Example",
                  "value": {
                    "nome": "string",
                    "tabelaPrecoId": 0,
                    "portfolioId": 0,
                    "tipoEscopo": "Aberto",
                    "ativo": true,
                    "isMarketPlace": true,
                    "origem": "string",
                    "alias": "string",
                    "nomeMarketplace": "string",
                    "centroDistribuicaoIds": [
                      0
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "201",
            "content": {
              "application/json": {
                "examples": {
                  "Id do parceiro gerado": {
                    "value": "\tId do parceiro gerado"
                  }
                }
              }
            }
          },
          "500": {
            "description": "500",
            "content": {
              "application/json": {
                "examples": {
                  "Erro no processamento da operação": {
                    "value": "{\n  \"resultadoOperacao\": true,\n  \"codigo\": 0,\n  \"mensagem\": \"string\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "resultadoOperacao": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    },
                    "codigo": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "mensagem": {
                      "type": "string",
                      "example": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```