{
  "openapi": "3.1.0",
  "info": {
    "title": "API MARKETPLACE",
    "version": "1.0",
    "contact": {
      "email": "anymarketdev@db1.com.br",
      "name": "ANYMarket Developers",
      "url": "http://developers.anymarket.com.br/"
    },
    "x-logo": {
      "url": "https://anymarket.com.br/wp-content/uploads/2018/07/icon-anymarket-300x300.png"
    },
    "x-preferred": true,
    "x-providerName": "API MARKETPLACE",
    "description": "Nesse conjunto de chamadas irá conter as chamadas necessárias que o marketplace precisa realizar na camada ANYMARKET afim de obter dados como:\n\n- Informações sobre produto;\n- Informação de atualização de dados das transmissões;\n- Atualizar status de transmissões;\n- Inserir pedidos;\n- Informação de dados do pedido;\n- Atualizar informações de pedidos;\n- Cotação de frete;\n- Monitoramento;\n"
  },
  "servers": [
    {
      "url": "https://sandbox-api.anymarket.com.br/marketplace/api",
      "description": "Sandbox"
    },
    {
      "url": "https://api.anymarket.com.br/marketplace/api",
      "description": "Produção"
    }
  ],
  "security": [
    {
      "appId": [],
      "token": []
    }
  ],
  "paths": {
    "/configuration": {
      "get": {
        "summary": "/configuration",
        "tags": [
          "Configuração"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/configuration"
                }
              }
            }
          }
        },
        "operationId": "get-api-configuration",
        "description": "Consulta todas as configurações realizadas pelo seller no ANYMARKET.",
        "parameters": []
      },
      "parameters": []
    },
    "/skumarketplace/{idSkuMarketplace}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "idSkuMarketplace",
          "in": "path",
          "required": true,
          "description": "Id do anuncio no ANYMARKET."
        }
      ],
      "put": {
        "summary": "/skumarketplace/{idSkuMarketplace}",
        "operationId": "put-skumarketplace-id",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "idSku": {
                          "type": "integer",
                          "format": "int64",
                          "minimum": 0
                        }
                      }
                    },
                    {
                      "$ref": "#/components/schemas/SkuMarketplace"
                    }
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/404"
                }
              }
            }
          }
        },
        "description": "Atualizar os dados de uma transmissão, o marketplace deve acionar o endpoint para remover o status de sincronizando, sempre retornando o status do anuncio no marketplace.\n\n<!-- theme: warning -->\n>### Atenção!\n>\n>Este endpoint é **obrigatório e necessário para aprovação na homologação**. Ele deve ser usado para informar o seller sempre que o marketplace não processar o anúncio ou ocorrer algum erro de catalogação, permitindo que o seller faça as correções necessárias (por exemplo: \"Imagem não possui fundo branco\").\n>O status de transmissão deve refletir fielmente o status do anúncio no marketplace. Retorne o status Ativo somente quando o produto estiver realmente disponível para venda no front do marketplace.\n\nNessa etapa do desenvolvimento o marketplace deve levar em considerações algumas informações como: \n- Quais são as equivalências de status do ANYMARKET com o meu marketplace? \n- Há processo de catalogação manual?\n- Sempre que eu receber uma notificação no remote /sendProduct como devo prosseguir?\n\n### EQUIVALENCIAS DE STATUS\nO primeiro passo é que o marketplace consiga identificar quais as equivalências de status do ANYMARKET e as do marketplace. Por exemplo: \n\n| STATUS        |      SIGNIFICADO      |   MARKETPLACE|\n| ------------- | :-----------: | -----: |\n|`UNPUBLISHED`| Não publicado  | Rascunho |\n|`ACTIVE` |   Ativo     |   Publicado  |\n| `PAUSED` |   Pausado     | Pausado |\n| `CLOSED` |   Fechado     |   Não publicado |\n| `WITHOUT_STOCK` |   Sem estoque     |Sem estoque |\n\n\nSabendo das equivalências o marketplace consegue ter um norte para quando for realizar as chamadas de atualização no ANYMARKET. \n\n------\n## EXISTE PROCESSO DE CATALOGAÇÃO?\nUm segundo passo para que seja feito o desenvolvimento corretamente e que o seller consiga identificar o real status do anuncio no marketplace é necessário que o parceiro entenda das regras de negocio do marketplace, um caso é se o marketplace vai possuir um processo de catalogação manual ou não.  \n\nDeixo abaixo alguns cenários e exemplos de retornos que podem ser realizados: \n\n## Cenario 1\n\n**Descrição:** É enviado notificação do sendProduct e quando a integração realiza a consulta identificado que se trata de um novo SKU para ser registrado no marketplace. Nesse momento o marketplace consulta todos os dados pertinentes e registra no banco de dados e informa o status equivalente.  \n\n**Resultado esperado:**\n\n**Sucesso**: \n```json\n{ \n\n    \"idInMarketplace\": \"MLB00001\", \n    \"idInSite\": null, \n    \"marketplaceStatus\": \"Ativo\", \n    \"transmissionStatus\": \"OK\", \n    \"errorMsg\": null, \n    \"status\": \"ACTIVE\" \n} \n```\n\n**Critica:**\n```json\n{ \n    \"idInMarketplace\": \"MLB00001\", \n    \"marketplaceStatus\": \"Ativo\", \n    \"transmissionStatus\": \"ERROR\", \n    \"errorMsg\": \"É necessário informar o atributo “Código do fabricante”\", \n    \"status\": \"UNPUBLISHED\" \n} \n```\n### Caso possua catalogação:\n> Status deve permanecer como `UNPUBLISHED`\n```json\n{ \n   \"idInMarketplace\": \"MLB00001\", \n   \"skuInMarketplace\": \"CAD001\", \n   \"marketplaceStatus\": \"O Marketplace está processando a atualização\", \n   \"transmissionStatus\": \"OK\", \n   \"errorMsg\": null, \n   \"status\": \"UNPUBLISHED\" \n} \n```\n**Finalizou o processo de catalogação e ficou disponivel no marketplace:**\n```json\n{ \n    \"idInMarketplace\": \"MLB00001\", \n    \"skuInMarketplace\": \"CAD001\", \n    \"marketplaceStatus\": \"Ativo\", \n    \"transmissionStatus\": \"OK\", \n    \"errorMsg\": null, \n    \"status\": \"ACTIVE\" \n} \n```\n-------\n\n## CENARIO 2\n\n**Descrição:** O anuncio está em processo de catalogação, porem foi notificado o sendProduct novamente. Nesse momento o marketplace deve fazer uma consulta do id notificado afim de obter as informações para que no processo de catalogação o marketplace tenha as informações mais atualizadas do anúncio.\n\n**Retorno esperado caso esteja em processo de catalogação:**\n```json\n{ \n   \"idInMarketplace\": \"\", \n   \"skuInMarketplace\": \"MLB00001\", \n   \"marketplaceStatus\": \"O Marketplace está processando a atualização\", \n   \"transmissionStatus\": \"ok\", \n   \"errorMsg\": null, \n   \"status\": \"UNPUBLISHED\" \n} \n```\n--------\n## CENARIO 3\n\n**Descrição:** Anuncio ativo no marketplace e é recebido a notificação do /sendProduct. Nesse momento o marketplace deve prestar atenção nas propriedades que estão sendo enviadas no /sendProduct pois nela vai conter informações se é para atualizar todos os dados do produto ou somente preço, estoque e status.  \n\nAo saber dessas informações o marketplace ao consultar, irá consumir as informações pertinentes a configuração encaminhada.  \n```json\n{ \n    \"idInMarketplace\": \"MLB00001\", \n    \"skuInMarketplace\": \"CAD001\", \n    \"marketplaceStatus\": \"Ativo\", \n    \"transmissionStatus\": \"OK\", \n    \"errorMsg\": null, \n    \"status\": \"ACTIVE\" \n} \n```\nDescrição: Anuncio ativo no marketplace e é recebido a notificação do /sendProduct. Nesse momento o marketplace deve prestar atenção nas propriedades que estão sendo enviadas no /sendProduct pois nela vai conter informações se é para atualizar todos os dados do produto ou somente preço, estoque e status.  \n\nAo saber dessas informações o marketplace ao consultar, irá consumir as informações pertinentes a configuração encaminhada. Lembrando sempre de manter a transmissão com o status que se encontra no marketplace. \n\n**Sucesso:** \n\n```json\n{ \n    \"idInMarketplace\": \"MLB00001\", \n    \"skuInMarketplace\": \"CAD001\", \n    \"marketplaceStatus\": \"Ativo\", \n    \"transmissionStatus\": \"OK\", \n    \"errorMsg\": null, \n    \"status\": \"ACTIVE\" \n} \n```",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/putskuMarketplace"
              },
              "examples": {}
            }
          },
          "description": ""
        },
        "parameters": [],
        "tags": [
          "Anúncios"
        ]
      },
      "get": {
        "summary": "/skumarketplace/{idSkuMarketplace}",
        "tags": [
          "Anúncios"
        ],
        "operationId": "get-skumarketplace-id",
        "parameters": [],
        "description": "Após o envio da notificação do sendProduct, o marketplace deve realizar uma consulta com base no id enviado(idSkuMarketplace), obtendo assim os dados atualizados da transmissão, como preço, estoque e demais informações pertinentes ao anuncio.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/getskuMarketplace-variation"
                },
                "examples": {
                  "Produto Simples": {
                    "value": {
                      "catalog": false,
                      "status": "UNPUBLISHED",
                      "marketplaceStatus": "unpublished",
                      "fields": {
                        "template": "0",
                        "is_main_sku": "true",
                        "DISCOUNT_VALUE": "0",
                        "DISCOUNT_TYPE": "PERCENT",
                        "HAS_DISCOUNT": "true",
                        "priceFactor": "1.00"
                      },
                      "isCatalog": false,
                      "title": "Produto de Teste",
                      "ean": "8212345678910",
                      "skuInMarketplace": "testeAny",
                      "priceFactor": 1,
                      "price": 10,
                      "discountPrice": 10,
                      "idAccount": 25,
                      "accountName": "Teste",
                      "id": 61234,
                      "attributes": {
                        "String": "string"
                      },
                      "stock": {
                        "amount": 10,
                        "availableAmount": 10,
                        "cost": 10,
                        "totalReservation": 0,
                        "physicalAmount": 10,
                        "stockLocal": "Estoque Físico",
                        "additionalTime": 0
                      },
                      "sku": {
                        "id": 1609358,
                        "partnerId": "teste-Any",
                        "amount": 10,
                        "ean": "8212345678910",
                        "title": "Produto de teste",
                        "price": 10,
                        "sellPrice": 10,
                        "additionalTime": 0,
                        "product": {
                          "id": 2340714,
                          "title": "teste",
                          "description": "<p>Teste de descrição dos produtos</p>",
                          "model": "123",
                          "gender": "MALE",
                          "definitionPriceScope": "SKU",
                          "origin": {
                            "name": "NACIONAL",
                            "id": 0
                          },
                          "category": {
                            "id": 774786,
                            "idInMarketplace": "10",
                            "name": "Categoria de teste",
                            "path": "Produto Fisico/Categoria de teste"
                          },
                          "height": 0,
                          "length": 0,
                          "width": 0,
                          "weight": 0,
                          "brand": {
                            "id": 231946,
                            "idInMarketplace": "2000195",
                            "name": "Marca teste",
                            "partnerId": "123"
                          },
                          "warrantyTime": 1,
                          "warrantyText": "1",
                          "priceFactor": 1,
                          "calculatedPrice": false,
                          "hasVariations": false,
                          "allowAutomaticSkuMarketplaceCreation": true,
                          "characteristics": [
                            {
                              "index": 1,
                              "name": "string",
                              "value": "string"
                            }
                          ],
                          "images": [
                            {
                              "id": 2015385,
                              "index": 1,
                              "variation": "Azul",
                              "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.anymarket.com.br/12345678./6C0C01E3435CADFE017A307703D1FA93/thumbnail.jpg",
                              "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.anymarket.com.br/12345678./6C0C01E3435CADFE017A307703D1FA93/standard_resolution.jpg",
                              "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.anymarket.com.br/12345678./6C0C01E3435CADFE017A307703D1FA93/low_resolution.jpg",
                              "originalImage": "http://s3-sa-east-1.amazonaws.com/images.anymarket.com.br/12345678./6C0C01E3435CADFE017A307703D1FA93/original_image.jpg",
                              "url": "https://s3.sa-east-1.amazonaws.com/images.sox.anymarket.com.br/12345678./1636471915306/original.jpeg",
                              "status": "PROCESSED",
                              "main": true,
                              "standardWidth": 1000,
                              "standardHeight": 1000,
                              "originalWidth": 1000,
                              "originalHeight": 1000
                            }
                          ]
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "number"
                    },
                    "message": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "required": [
                    "code",
                    "message"
                  ]
                },
                "examples": {
                  "example-1": {
                    "value": {
                      "code": 404,
                      "message": "Recurso com o id '{{id}}' não encontrado"
                    }
                  },
                  "stoplight-example-1": {
                    "value": {
                      "code": 404,
                      "message": "Recurso com o id '{{id}}' não encontrado"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/skumarketplace/{idSkuMarketplace}/priceStock": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "idSkuMarketplace",
          "in": "path",
          "required": true,
          "description": "Id do anuncio no ANYMARKET."
        }
      ],
      "get": {
        "summary": "/skumarketplace/{idSkuMarketplace}/priceStock",
        "tags": [
          "Anúncios"
        ],
        "operationId": "get-skumarketplace-id-priceStock",
        "parameters": [],
        "description": "Tem por objetivo retornar os dados pertinentes ao preço de (*price*), preço por (*discountPrice*) e estoque (*availableAmount*).\n\nMais informações sobre a utilização desse endpoint acessar o [link](https://anymarketplace.stoplight.io/docs/marketplace-pt/ZG9jOjM4MjcwOTQ4-fluxo-anuncio).",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "number",
                      "description": "Id do anuncio no ANYMARKET."
                    },
                    "skuInMarketplace": {
                      "type": "string",
                      "minLength": 1,
                      "description": "SKU do produto (Aplicado o REGEX)"
                    },
                    "idInMarketplace": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Id do valor da variação no Marketplace (Obtido ao realizar o vinculo de variação)"
                    },
                    "price": {
                      "type": "number",
                      "description": "Preço DE."
                    },
                    "discountPrice": {
                      "type": "number",
                      "description": "Preço POR."
                    },
                    "availableAmount": {
                      "type": "number",
                      "description": "Quantidade disponível em estoque do SKU"
                    }
                  },
                  "required": [
                    "id",
                    "skuInMarketplace",
                    "idInMarketplace",
                    "price",
                    "discountPrice",
                    "availableAmount"
                  ]
                },
                "examples": {
                  "example-1": {
                    "value": {
                      "id": 62325,
                      "skuInMarketplace": "22222",
                      "idInMarketplace": "62325",
                      "price": 59.9,
                      "discountPrice": 43.93,
                      "availableAmount": 100
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "description": "",
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "number"
                    },
                    "message": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "required": [
                    "code",
                    "message"
                  ]
                },
                "examples": {
                  "example-1": {
                    "value": {
                      "code": 404,
                      "message": "Recurso com o id '{{id}}' não encontrado"
                    }
                  },
                  "stoplight-example-1": {
                    "value": {
                      "code": 404,
                      "message": "Recurso com o id '{{id}}' não encontrado"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/configuration/{id}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true,
          "description": "Código de configuração gerado pelo Anymarket"
        }
      ],
      "get": {
        "summary": "/configuration/{id}",
        "tags": [
          "Configuração"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/configuration"
                }
              }
            }
          }
        },
        "operationId": "get-api-configuration-id",
        "description": "Consulta pelo ID da conta as configurações realizadas pelo seller no ANYMARKET.",
        "parameters": []
      }
    },
    "/orders/{marketPlaceId}/transmissionStatus": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "marketPlaceId",
          "in": "path",
          "required": true
        }
      ],
      "put": {
        "summary": "/orders/{marketPlaceId}/transmissionStatus",
        "tags": [
          "Pedidos"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            }
          }
        },
        "operationId": "put-orders-id-transmissionStatus",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderStatusUpdate"
              }
            }
          }
        },
        "description": "Quando o marketplace receber a notificação de atualização de um pedido, seja ele mudando para FATURADO, ENVIADO, CONCLUIDO ou CANCELADO no endpoint /updateOrderStatusInMarketPlace. \n\nNecessariamente o marketplace deve realizar o GET para consultar os dados do pedido e na sequencia utilizar do endpoint citado a cima, removendo a sinalização de sincronização e identificando qual o status do pedido no marketplace. \n\nLembrando que caso não processe, o erro deve ser informado também nesse endpoint. \n   \n<!-- theme: warning -->\n> #### Atenção!\n>\n> Nos cenários onde o Marketplace não aceita cancelamento de pedidos através do ANYMARKET é necessário retornar no campo \"errorMessage\" uma mensagem sobre o cenário. Exemplo: \"O pedido não pode ser cancelado através do ANYMARKET, entre em contato com o Marketplace\"",
        "parameters": []
      }
    },
    "/orders": {
      "post": {
        "summary": "/orders",
        "operationId": "post-orders",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/400"
                },
                "examples": {
                  "Example - 1": {
                    "value": {
                      "code": "400",
                      "message": "Erro ao criar o recurso. Somente é possivel criar recurso com status x ou y."
                    }
                  },
                  "Example - 2": {
                    "value": {
                      "code": "400",
                      "message": "Erro ao criar o pedido. Já existe um pedido com id [%s]."
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "boolean"
            },
            "in": "query",
            "name": "orderNewPattern"
          }
        ],
        "description": "Criar um pedido no ANYMARKET.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderPost"
              }
            }
          }
        },
        "tags": [
          "Pedidos"
        ]
      },
      "get": {
        "summary": "/orders",
        "operationId": "get-orders",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Page_Order"
                }
              }
            }
          }
        },
        "tags": [
          "Pedidos"
        ],
        "description": "Obtém todos os pedidos do marketplace na base do cliente.",
        "parameters": [
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/offset"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "PENDING",
                "PAID",
                "INVOICED",
                "SHIPPED",
                "DELIVERED",
                "CANCELED"
              ]
            },
            "in": "query",
            "name": "status",
            "description": "Status do pedido"
          },
          {
            "schema": {
              "type": "string",
              "format": "date-time"
            },
            "in": "query",
            "name": "createdAfter",
            "description": "Data da criação do pedido"
          },
          {
            "schema": {
              "type": "string",
              "format": "date-time"
            },
            "in": "query",
            "name": "updatedAfter",
            "description": "Retorna pedidos cuja última alteração seja maior ou igual a esta data"
          }
        ]
      }
    },
    "/orders/{id}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true,
          "description": "Código do pedido gerado pelo Anymarket"
        }
      ],
      "get": {
        "summary": "/orders/{marketPlaceId}",
        "tags": [
          "Pedidos"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            }
          }
        },
        "operationId": "get-orders-id",
        "description": "Consulta os detalhes de um pedido",
        "parameters": []
      }
    },
    "/orders/{marketPlaceId}/fiscalDocument": {
      "get": {
        "summary": "/orders/{marketPlaceId}/fiscalDocument",
        "tags": [
          "Pedidos"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/xml": {
                "schema": {
                  "type": "string",
                  "default": "'<?xml version=\"1.0\" encoding=\"UTF-8\"?> <nfeProc   xmlns=\"http://www.portalfiscal.inf.br/nfe\" versao=\"4.00\"> <NFe     xmlns=\"http://www.portalfiscal.inf.br/nfe\"> <infNFe versao=\"4.00\" Id=\"NFe35241136672762000181550010001023301596987546\"> <ide> <cUF>35</cUF> <cNF>123456</cNF> <natOp>Venda de mercadorias</natOp> <mod>55</mod> <serie>1</serie> <nNF>123465</nNF> <dhEmi>2024-11-13T14:22:41-03:00</dhEmi> <tpNF>1</tpNF> <idDest>1</idDest> <cMunFG>3543402</cMunFG> <tpImp>1</tpImp> <tpEmis>1</tpEmis> <cDV>6</cDV> <tpAmb>1</tpAmb> <finNFe>1</finNFe> <indFinal>1</indFinal> <indPres>2</indPres> <indIntermed>1</indIntermed> <procEmi>0</procEmi> <verProc>Bling 1.0</verProc> </ide>       ... </NFe> <protNFe versao=\"4.00\"> <infProt> <tpAmb>1</tpAmb> <verAplic>SP_NFE_PL009_V4</verAplic> <chNFe>1324564</chNFe> <dhRecbto>2024-11-13T14:22:41-03:00</dhRecbto> <nProt>1324564</nProt> <digVal>DHLgLQUp</digVal> <cStat>100</cStat> <xMotivo>Autorizado o uso da NF-e</xMotivo> </infProt> </protNFe> </nfeProc>'"
                },
                "examples": {
                  "Response": {
                    "value": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<nfeProc\n  xmlns=\"http://www.portalfiscal.inf.br/nfe\" versao=\"4.00\">\n<NFe\n    xmlns=\"http://www.portalfiscal.inf.br/nfe\">\n<infNFe versao=\"4.00\" Id=\"NFe35241136672762000181550010001023301596987546\">\n<ide>\n<cUF>35</cUF>\n<cNF>123456</cNF>\n<natOp>Venda de mercadorias</natOp>\n<mod>55</mod>\n<serie>1</serie>\n<nNF>123465</nNF>\n<dhEmi>2024-11-13T14:22:41-03:00</dhEmi>\n<tpNF>1</tpNF>\n<idDest>1</idDest>\n<cMunFG>3543402</cMunFG>\n<tpImp>1</tpImp>\n<tpEmis>1</tpEmis>\n<cDV>6</cDV>\n<tpAmb>1</tpAmb>\n<finNFe>1</finNFe>\n<indFinal>1</indFinal>\n<indPres>2</indPres>\n<indIntermed>1</indIntermed>\n<procEmi>0</procEmi>\n<verProc>Bling 1.0</verProc>\n</ide>\n      ...\n</NFe>\n<protNFe versao=\"4.00\">\n<infProt>\n<tpAmb>1</tpAmb>\n<verAplic>SP_NFE_PL009_V4</verAplic>\n<chNFe>1324564</chNFe>\n<dhRecbto>2024-11-13T14:22:41-03:00</dhRecbto>\n<nProt>1324564</nProt>\n<digVal>DHLgLQUp</digVal>\n<cStat>100</cStat>\n<xMotivo>Autorizado o uso da NF-e</xMotivo>\n</infProt>\n</protNFe>\n</nfeProc>"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/html": {
                "schema": {
                  "type": "string",
                  "default": "Parâmetro appId e token são obrigatórios."
                },
                "examples": {
                  "Response": {
                    "value": "Parâmetro appId e token são obrigatórios."
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "": {
                      "type": "string",
                      "default": "User not registered"
                    }
                  }
                },
                "examples": {
                  "Response": {
                    "value": {
                      "message": "User not registered"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {
                      "type": "string"
                    }
                  }
                },
                "examples": {
                  "Example 1": {
                    "value": {
                      "code": 404,
                      "message": "Not Found",
                      "details": "DefaultErrorResponse(message=Not Found, messageDetails=Brazilian legal invoice not found., messageCode=brazilian-legal-invoice.not-found, statusCode=404, data=null)"
                    }
                  },
                  "stoplight-Example 1": {
                    "value": {
                      "code": 404,
                      "message": "Not Found",
                      "details": "DefaultErrorResponse(message=Not Found, messageDetails=Brazilian legal invoice not found., messageCode=brazilian-legal-invoice.not-found, statusCode=404, data=null)"
                    }
                  }
                }
              }
            }
          },
          "406": {
            "description": "Not Acceptable",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                },
                "examples": {
                  "Example 1": {
                    "value": {}
                  }
                }
              }
            }
          }
        },
        "operationId": "get-marketplace-api-orders-marketPlaceId-fiscaldocument",
        "security": [
          {
            "token": [],
            "appId": []
          }
        ],
        "parameters": [],
        "description": "# Buscar a notal fiscal referente a venda com base o marketPlaceId\n\nA chamada de consulta do documento fiscal de pedido consiste em obter o xml da pedido faturado que transacionou essa informação no ANYMARKET. Ao receber a requisição o sistema retornará o Json contendo os dados de fatura do pedido."
      },
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "marketPlaceId",
          "in": "path",
          "required": true,
          "description": "Código do pedido gerado pelo Anymarket"
        }
      ],
      "servers": []
    },
    "/orders/{marketPlaceId}/markAsPaid": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "marketPlaceId",
          "in": "path",
          "required": true,
          "description": "Id do pedido no marketplace"
        }
      ],
      "put": {
        "summary": "/orders/{marketPlaceId}/markAsPaid",
        "tags": [
          "Pedidos"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            }
          },
          "404": {
            "description": "Pedido não encontrado",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                },
                "examples": {
                  "example-1": {
                    "value": {
                      "code": 404,
                      "message": "string"
                    }
                  },
                  "stoplight-example-1": {
                    "value": {
                      "code": 404,
                      "message": "Venda com id '123456' não encontrada para o marketplace 'MARKEPLACE_NAME'"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "put-orders-id-markAsPaid",
        "description": "Utilizado para que o middleware marque o pedido como PAGO no ANYMARKET e atualize informações de pagamento.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "marketPlaceStatus": {
                    "type": "string",
                    "description": "Status do pedido no marketplace",
                    "example": "Pago"
                  },
                  "date": {
                    "type": "string",
                    "description": "Data do pagamento",
                    "example": "2019-08-24T14:15:22Z"
                  },
                  "payments": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "string",
                          "description": "Status do pagamento"
                        },
                        "method": {
                          "type": "string",
                          "description": "Metodo do pagamento"
                        },
                        "value": {
                          "type": "integer",
                          "description": "Valor do pagamento"
                        },
                        "installments": {
                          "type": "integer",
                          "description": "Quantidade de parcelas"
                        },
                        "marketplaceId": {
                          "type": "string",
                          "description": "Código do pagamento no marketplace"
                        },
                        "dueDate": {
                          "type": "string",
                          "example": "2019-08-24T14:15:22Z"
                        },
                        "cardOperator": {
                          "type": "string"
                        },
                        "orderAuthorizationCardCode": {
                          "type": "string"
                        }
                      }
                    }
                  }
                },
                "required": [
                  "marketPlaceStatus",
                  "date"
                ]
              },
              "examples": {
                "Example 3": {
                  "value": {
                    "marketPlaceStatus": "Pago",
                    "date": "2019-08-24T14:15:22Z",
                    "payments": [
                      {
                        "status": "Aprovado",
                        "method": "Cartão de credito",
                        "value": 100,
                        "installments": 3,
                        "marketplaceId": "444579",
                        "dueDate": "2019-08-24T14:15:22Z",
                        "cardOperator": "VISA",
                        "orderAuthorizationCardCode": "457"
                      }
                    ]
                  }
                },
                "Example 1": {
                  "value": {
                    "marketPlaceStatus": "Pago",
                    "date": "2019-08-24T14:15:22Z"
                  }
                },
                "stoplight-Example 1": {
                  "value": {
                    "marketPlaceStatus": "pago agora",
                    "date": "2019-08-24T14:15:22Z",
                    "payments": [
                      {
                        "method": "Crédito333",
                        "value": 0,
                        "installments": 3,
                        "marketplaceId": "2",
                        "dueDate": "2019-08-24T15:15:22Z",
                        "cardOperator": "VISA",
                        "orderAuthorizationCardCode": "23"
                      }
                    ]
                  }
                }
              }
            }
          }
        }
      }
    },
    "/orders/reservation": {
      "parameters": [],
      "post": {
        "summary": "/orders/reservation",
        "operationId": "post-orders-reservation",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "ID da Reserva"
                    },
                    "marketPlaceId": {
                      "type": "string",
                      "description": "ID do Pedido no Marketplace"
                    },
                    "marketPlace": {
                      "type": "string",
                      "description": "Nome do Marketplace"
                    },
                    "total": {
                      "type": "integer",
                      "description": "Valor total do Pedido"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "amount": {
                            "type": "integer",
                            "description": "Quantidade em Pedido"
                          },
                          "sku": {
                            "type": "object",
                            "properties": {
                              "partnerId": {
                                "type": "string",
                                "description": "Sku no ANYMARKET (Sem aplicação do REGEX)"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "Example 1": {
                    "value": {
                      "id": "string",
                      "marketPlaceId": "string",
                      "marketPlace": "string",
                      "total": 0,
                      "items": [
                        {
                          "amount": 0,
                          "sku": {
                            "partnerId": "string"
                          }
                        }
                      ]
                    }
                  },
                  "stoplight-Example 1": {
                    "value": {
                      "id": "string",
                      "marketPlaceId": "string",
                      "marketPlace": "string",
                      "total": 0,
                      "items": [
                        {
                          "amount": 0,
                          "sku": {
                            "partnerId": "string"
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "marketPlaceId": {
                    "type": "string",
                    "description": "ID do Pedido no Marketplace"
                  },
                  "total": {
                    "type": "integer",
                    "description": "Valor total do Pedido"
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "amount": {
                          "type": "integer",
                          "description": "Quantidade em Pedido"
                        },
                        "sku": {
                          "type": "string",
                          "description": "Sku no ANYMARKET (Sem aplicação do REGEX)(partnerId)"
                        }
                      }
                    }
                  }
                }
              },
              "examples": {
                "Example 2": {
                  "value": {
                    "marketPlaceId": "string",
                    "total": 0,
                    "items": [
                      {
                        "amount": 0,
                        "sku": "string"
                      }
                    ]
                  }
                },
                "Example 1": {
                  "value": {
                    "marketPlaceId": "string",
                    "marketPlace": "string",
                    "total": 0,
                    "items": [
                      {
                        "amount": 0,
                        "sku": {
                          "partnerId": "string"
                        }
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "description": "Cria uma reserva de pedido",
        "tags": [
          "Pedidos"
        ],
        "parameters": []
      }
    },
    "/orders/reservation/cancel": {
      "parameters": [],
      "put": {
        "summary": "/orders/reservation/cancel",
        "operationId": "put-orders-reservation---copy",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "idInMarketplace",
            "description": "ID do Pedido no Marketplace"
          }
        ],
        "description": "Remove uma reserva de pedido",
        "tags": [
          "Pedidos"
        ]
      }
    },
    "/orders/{marketPlaceId}/markAsCanceled": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "marketPlaceId",
          "in": "path",
          "required": true
        }
      ],
      "put": {
        "summary": "/orders/{marketPlaceId}/markAsCanceled",
        "tags": [
          "Pedidos"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            }
          },
          "404": {
            "description": "Pedido não encontrado",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                },
                "examples": {
                  "example-1": {
                    "value": {
                      "code": 404,
                      "message": "string"
                    }
                  },
                  "stoplight-example-1": {
                    "value": {
                      "code": 404,
                      "message": "Venda com id '123456' não encontrada para o marketplace 'MARKEPLACE_NAME'"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "put-id-markAsCanceled",
        "description": "Utilizado para que o middleware marque o pedido como CANCELADO no ANYMARKET.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/markAsCanceled"
              },
              "examples": {
                "example-1": {
                  "value": {
                    "date": "2022-02-07T10:56:42-03:00"
                  }
                }
              }
            }
          }
        }
      },
      "description": "Marcar pedido como Cancelado"
    },
    "/orders/{marketPlaceId}/markAsInvoiced": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "marketPlaceId",
          "in": "path",
          "required": true
        }
      ],
      "put": {
        "summary": "/orders/{marketPlaceId}/markAsInvoiced",
        "tags": [
          "Pedidos"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            }
          },
          "404": {
            "description": "Pedido não encontrado",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                },
                "examples": {
                  "example-1": {
                    "value": {
                      "code": 404,
                      "message": "string"
                    }
                  },
                  "stoplight-example-1": {
                    "value": {
                      "code": 404,
                      "message": "Venda com id '123456' não encontrada para o marketplace 'MARKEPLACE_NAME'"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "put-orders-id-markAsInvoiced",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CanceledStatusDTO"
              },
              "examples": {
                "example-1": {
                  "value": {
                    "date": "2022-02-07T10:56:42-03:00"
                  }
                }
              }
            }
          }
        },
        "description": "Utilizado para que o middleware marque o pedido como FATURADO no ANYMARKET.\n\nDeve ser utilizado quando o marketplace permite atualizações direto no seller center, faturamento XML ou modalidade fulfillment. ",
        "parameters": []
      }
    },
    "/orders/{marketPlaceId}/markAsShipped": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "marketPlaceId",
          "in": "path",
          "required": true
        }
      ],
      "put": {
        "summary": "/orders/{marketPlaceId}/markAsShipped",
        "tags": [
          "Pedidos"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            }
          },
          "404": {
            "description": "Pedido não encontrado",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                },
                "examples": {
                  "example-1": {
                    "value": {
                      "code": 404,
                      "message": "string"
                    }
                  },
                  "stoplight-example-1": {
                    "value": {
                      "code": 404,
                      "message": "Venda com id '123456' não encontrada para o marketplace 'MARKEPLACE_NAME'"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "put-id-markAsShipped",
        "description": "Utilizado para que o middleware marque o pedido como ENVIADO no ANYMARKET.\n\nApenas utilizado quando o marketplace possui formas de envios próprias, como modalidade fulfillment ou emissão de etiquetas. ",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/markAsShipped"
              },
              "examples": {
                "example-1": {
                  "value": {
                    "status": "SHIPPED",
                    "url": "string",
                    "number": "string",
                    "carrier": "string",
                    "estimateDate": "string",
                    "shippedDate": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/orders/{marketPlaceId}/markAsDelivered": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "marketPlaceId",
          "in": "path",
          "required": true
        }
      ],
      "put": {
        "summary": "/orders/{marketPlaceId}/markAsDelivered",
        "tags": [
          "Pedidos"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            }
          },
          "404": {
            "description": "Pedido não encontrado",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                },
                "examples": {
                  "example-1": {
                    "value": {
                      "code": 404,
                      "message": "string"
                    }
                  },
                  "stoplight-example-1": {
                    "value": {
                      "code": 404,
                      "message": "Venda com id '123456' não encontrada para o marketplace 'MARKEPLACE_NAME'"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "put-orders-id-markAsDelivered",
        "description": "Utilizado para que o middleware marque o pedido como ENTREGUE no ANYMARKET.\n\nApenas utilizado quando o marketplace possui formas de envios próprias, como modalidade fulfillment ou emissão de etiquetas.",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/markAsDelivered"
              },
              "examples": {
                "example-1": {
                  "value": {
                    "deliveredDate": "2022-02-07T10:56:42-03:00"
                  }
                }
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/markAsDelivered"
              }
            }
          },
          "description": ""
        }
      }
    },
    "/freight": {
      "post": {
        "summary": "/freight",
        "operationId": "post-freight",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "marketPlace": {
                      "description": "Enum do marketpalce.",
                      "type": "string",
                      "example": "ECOMMERCE"
                    },
                    "zipCode": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Código de destino"
                    },
                    "products": {
                      "type": "array",
                      "uniqueItems": true,
                      "minItems": 1,
                      "description": "Informações do SKU solicitado.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "skuId": {
                            "type": "string",
                            "minLength": 1,
                            "description": "SKU do produto enviado pelo ANYMARKET (skuInMarketplace)"
                          },
                          "amount": {
                            "type": "number",
                            "description": "Quantidade para cotação de frete"
                          },
                          "dimensions": {
                            "type": "object",
                            "description": "Dimensões do Produto",
                            "required": [
                              "height",
                              "width",
                              "weight",
                              "length"
                            ],
                            "properties": {
                              "height": {
                                "type": "number",
                                "description": "Altura"
                              },
                              "width": {
                                "type": "number",
                                "description": "Largura"
                              },
                              "weight": {
                                "type": "number",
                                "description": "Peso"
                              },
                              "length": {
                                "type": "number",
                                "description": "Comprimento"
                              }
                            }
                          },
                          "stockAmount": {
                            "type": "number",
                            "description": "Quantidade de estoque disponível"
                          },
                          "additionalDeliveryTime": {
                            "type": "number",
                            "description": "Prazo adicional (Crossdocking)"
                          },
                          "price": {
                            "type": "number",
                            "description": "Preço \"De\""
                          },
                          "discountPrice": {
                            "type": "number",
                            "description": "Preço \"Por\""
                          }
                        },
                        "required": [
                          "skuId",
                          "amount",
                          "dimensions",
                          "stockAmount",
                          "additionalDeliveryTime",
                          "price",
                          "discountPrice"
                        ]
                      }
                    },
                    "quotes": {
                      "type": "array",
                      "uniqueItems": true,
                      "minItems": 1,
                      "items": {
                        "type": "object",
                        "properties": {
                          "carrierName": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Nome da transportadora"
                          },
                          "serviceName": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Tipo do serviço"
                          },
                          "deliveryTimeType": {
                            "description": "Tipo de calendário.",
                            "enum": [
                              "calendarDays",
                              "workingDays"
                            ],
                            "default": "calendarDays"
                          },
                          "deliveryTime": {
                            "type": "number",
                            "description": "Tempo de entrega em dias (Sem Crossdocking)."
                          },
                          "freightType": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Tipo de frete (Normal ou Expresso)",
                            "enum": [
                              "normal",
                              "express"
                            ]
                          },
                          "price": {
                            "type": "number",
                            "description": "Valor do frete"
                          }
                        },
                        "required": [
                          "carrierName",
                          "serviceName",
                          "deliveryTimeType",
                          "deliveryTime",
                          "freightType",
                          "price"
                        ]
                      }
                    },
                    "missingSkus": {
                      "type": "object",
                      "description": "Caso não encontre o SKU solicitado.",
                      "properties": {
                        "sku_informado": {
                          "type": "integer"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "Frete - Varias Transportadoras": {
                    "value": {
                      "zipCode": "87030030",
                      "marketPlace": "ECOMMERCE",
                      "products": [
                        {
                          "skuId": "7114000564",
                          "amount": 1,
                          "dimensions": {
                            "height": 10,
                            "width": 15,
                            "weight": 0.37,
                            "length": 25
                          },
                          "stockAmount": 66,
                          "additionalDeliveryTime": 0,
                          "price": 549.9,
                          "discountPrice": 549.9
                        }
                      ],
                      "quotes": [
                        {
                          "carrierName": "Carriers",
                          "serviceName": "Carriers",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 7,
                          "freightType": "express",
                          "price": 8.96
                        },
                        {
                          "carrierName": "Loggi",
                          "serviceName": "Loggi Outras Praças",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 4,
                          "freightType": "normal",
                          "price": 13.39
                        },
                        {
                          "carrierName": "Sequoia Log",
                          "serviceName": "Sequoia Log Standard",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 6,
                          "freightType": "normal",
                          "price": 15.64
                        },
                        {
                          "carrierName": "Total",
                          "serviceName": "Total Express",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 5,
                          "freightType": "normal",
                          "price": 16.65
                        },
                        {
                          "carrierName": "Correios",
                          "serviceName": "Correios Sedex",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 4,
                          "freightType": "normal",
                          "price": 44.42
                        },
                        {
                          "carrierName": "Dominalog",
                          "serviceName": "Dominalog Itapevi",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 12,
                          "freightType": "normal",
                          "price": 47.86
                        },
                        {
                          "carrierName": "Translaguna",
                          "serviceName": "Translaguna Itapevi",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 11,
                          "freightType": "normal",
                          "price": 51.9
                        },
                        {
                          "carrierName": "Total",
                          "serviceName": "Total Express Medio Rodo",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 6,
                          "freightType": "express",
                          "price": 53.35
                        },
                        {
                          "carrierName": "Translaguna Cajamar",
                          "serviceName": "Translaguna Cajamar",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 11,
                          "freightType": "normal",
                          "price": 57.09
                        },
                        {
                          "carrierName": "Jamef",
                          "serviceName": "Jamef Standard",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 3,
                          "freightType": "normal",
                          "price": 65.65
                        },
                        {
                          "carrierName": "Direcional",
                          "serviceName": "Direcional Itapevi",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 7,
                          "freightType": "normal",
                          "price": 68.72
                        },
                        {
                          "carrierName": "Prime",
                          "serviceName": "Prime Itapevi",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 10,
                          "freightType": "normal",
                          "price": 70.75
                        }
                      ]
                    }
                  },
                  "Frete- Apenas um retorno": {
                    "value": {
                      "zipCode": "87030030",
                      "marketPlace": "ECOMMERCE",
                      "products": [
                        {
                          "skuId": 29160002,
                          "amount": 1,
                          "dimensions": {
                            "height": 10,
                            "width": 15,
                            "weight": 0.37,
                            "length": 25
                          },
                          "stockAmount": 679,
                          "additionalDeliveryTime": 0,
                          "price": 279,
                          "discountPrice": 209.9
                        }
                      ],
                      "quotes": [
                        {
                          "carrierName": "Total",
                          "serviceName": "Total Express",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 11,
                          "freightType": "normal",
                          "price": 55.72
                        }
                      ]
                    }
                  },
                  "Frete - SKU não encontrado ou Publicação UNPUBLISHED": {
                    "value": {
                      "zipCode": "87030030",
                      "marketPlace": "ECOMMERCE",
                      "missingSkus": {
                        "2916002": 1
                      }
                    }
                  },
                  "Frete - Prazo Adicional em dias (Crossdocking)": {
                    "value": {
                      "zipCode": "87030030",
                      "marketPlace": "ECOMMERCE",
                      "products": [
                        {
                          "skuId": 140420009,
                          "amount": 1,
                          "dimensions": {
                            "height": 10,
                            "width": 15,
                            "weight": 0.37,
                            "length": 25
                          },
                          "stockAmount": 972,
                          "additionalDeliveryTime": 3,
                          "price": 679.9,
                          "discountPrice": 639.9
                        }
                      ],
                      "quotes": [
                        {
                          "carrierName": "Braspress",
                          "serviceName": "Braspress Standard 2",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 6,
                          "freightType": "normal",
                          "price": 16.94
                        },
                        {
                          "carrierName": "Loggi",
                          "serviceName": "Loggi Express - ES",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 2,
                          "freightType": "normal",
                          "price": 17.8
                        },
                        {
                          "carrierName": "Rede Sul",
                          "serviceName": "Rede Sul Standard",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 2,
                          "freightType": "normal",
                          "price": 18.69
                        },
                        {
                          "carrierName": "JadLog",
                          "serviceName": "Jadlog Package",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 5,
                          "freightType": "normal",
                          "price": 18.69
                        },
                        {
                          "carrierName": "JadLog",
                          "serviceName": "Jadlog Package Origem Vitoria",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 5,
                          "freightType": "normal",
                          "price": 18.69
                        },
                        {
                          "carrierName": "JadLog",
                          "serviceName": "Jadlog .COM",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 4,
                          "freightType": "express",
                          "price": 19.59
                        },
                        {
                          "carrierName": "JadLog",
                          "serviceName": "Jadlog .COM Origem Vitoria",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 4,
                          "freightType": "normal",
                          "price": 19.59
                        },
                        {
                          "carrierName": "Infoar Recalculo Protheus",
                          "serviceName": "Meridional Origem Vitoria",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 5,
                          "freightType": "express",
                          "price": 40.61
                        },
                        {
                          "carrierName": "Sequoia",
                          "serviceName": "SEQUOIA - ES",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 6,
                          "freightType": "normal",
                          "price": 49.07
                        },
                        {
                          "carrierName": "Prime Express",
                          "serviceName": "Direcional ES - Express",
                          "deliveryTimeType": "calendarDays",
                          "deliveryTime": 9,
                          "freightType": "normal",
                          "price": 52.33
                        }
                      ]
                    }
                  },
                  "example-1": {
                    "value": {
                      "zipCode": "87030030",
                      "marketPlace": "ECOMMERCE",
                      "products": [
                        {
                          "skuId": "7114000564",
                          "amount": 1,
                          "dimensions": {
                            "height": 10,
                            "width": 15,
                            "weight": 0.37,
                            "length": 25
                          },
                          "stockAmount": 66,
                          "additionalDeliveryTime": 0,
                          "price": 549.9,
                          "discountPrice": 549.9
                        }
                      ],
                      "quotes": [
                        {
                          "carrierName": "Carriers",
                          "serviceName": "Carriers",
                          "deliveryTime": 7,
                          "freightType": "express",
                          "price": 8.96
                        },
                        {
                          "carrierName": "Loggi",
                          "serviceName": "Loggi Outras Praças",
                          "deliveryTime": 4,
                          "freightType": "normal",
                          "price": 13.39
                        },
                        {
                          "carrierName": "Sequoia Log",
                          "serviceName": "Sequoia Log Standard",
                          "deliveryTime": 6,
                          "freightType": "normal",
                          "price": 15.64
                        },
                        {
                          "carrierName": "Total",
                          "serviceName": "Total Express",
                          "deliveryTime": 5,
                          "freightType": "normal",
                          "price": 16.65
                        },
                        {
                          "carrierName": "Correios",
                          "serviceName": "Correios Sedex",
                          "deliveryTime": 4,
                          "freightType": "normal",
                          "price": 44.42
                        },
                        {
                          "carrierName": "Dominalog",
                          "serviceName": "Dominalog Itapevi",
                          "deliveryTime": 12,
                          "freightType": "normal",
                          "price": 47.86
                        },
                        {
                          "carrierName": "Translaguna",
                          "serviceName": "Translaguna Itapevi",
                          "deliveryTime": 11,
                          "freightType": "normal",
                          "price": 51.9
                        },
                        {
                          "carrierName": "Total",
                          "serviceName": "Total Express Medio Rodo",
                          "deliveryTime": 6,
                          "freightType": "express",
                          "price": 53.35
                        },
                        {
                          "carrierName": "Translaguna Cajamar",
                          "serviceName": "Translaguna Cajamar",
                          "deliveryTime": 11,
                          "freightType": "normal",
                          "price": 57.09
                        },
                        {
                          "carrierName": "Jamef",
                          "serviceName": "Jamef Standard",
                          "deliveryTime": 3,
                          "freightType": "normal",
                          "price": 65.65
                        },
                        {
                          "carrierName": "Direcional",
                          "serviceName": "Direcional Itapevi",
                          "deliveryTime": 7,
                          "freightType": "normal",
                          "price": 68.72
                        },
                        {
                          "carrierName": "Prime",
                          "serviceName": "Prime Itapevi",
                          "deliveryTime": 10,
                          "freightType": "normal",
                          "price": 70.75
                        }
                      ]
                    }
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "description": "Marketplaces podem estar obtendo a cotação de frete através do ANYMARKET. Com isso basta que seja encaminhado os dados de cotação, que o ANYMARKET se encarrega de realizar a cotação com base nas parametrizações que o seller realizou na plataforma. (tabelas de frete ou utilização de algum gateway de frete.)\n\nObtém a consulta de frete para os dados encaminhados.\n\n> #### Pontos de atenção:\n>- Prazo de crossdocking não é somado automaticamente, a integração deve fazer o cálculo caso não registre o dado no momento da criação do produto.\n>- Quando o seller possui planilhas de frete no ANYMARKET o dado é retornado em dias corridos.\n>- Quando o seller utiliza de algum gateway de frete conectado ao ANYMARKET, apenas é repassado as informações, é necessária uma avaliação com o seller se é dias corridos ou uteis.\n>- O valor do skuId corresponde ao skuInMarketplace.\n>- Recomendado a cotação de um sku por request.\n>- Toda a infraestrutura ANYMARKET de servidores, está em um datacenter localizado no Estado da Virgínia, nos EUA. (https://suporteanymarket.freshdesk.com/pt-BR/support/solutions/articles/19000128745-migrac%C3%A3o-para-a-virg%C3%ADnia)\n",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/freight"
              }
            }
          }
        },
        "tags": [
          "Cotação de Frete"
        ]
      }
    },
    "/skus/id/{idSku}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "idSku",
          "in": "path",
          "required": true,
          "description": "id sku ANYMARKET"
        }
      ],
      "get": {
        "summary": "/skus/id/{skuId}",
        "tags": [
          "Sku"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer"
                    },
                    "partnerId": {
                      "type": "string"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "title": {
                      "type": "string"
                    },
                    "price": {
                      "type": "integer"
                    },
                    "sellPrice": {
                      "type": "integer"
                    },
                    "additionalTime": {
                      "type": "integer"
                    },
                    "variations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer"
                          },
                          "description": {
                            "type": "string"
                          },
                          "type": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "integer"
                              },
                              "name": {
                                "type": "string"
                              },
                              "visualVariation": {
                                "type": "boolean"
                              }
                            }
                          }
                        }
                      }
                    },
                    "product": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer"
                        },
                        "title": {
                          "type": "string"
                        },
                        "description": {
                          "type": "string"
                        },
                        "model": {
                          "type": "string"
                        },
                        "definitionPriceScope": {
                          "type": "string"
                        },
                        "characteristics": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "index": {
                                "type": "integer"
                              },
                              "name": {
                                "type": "string"
                              },
                              "value": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "origin": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "id": {
                              "type": "integer"
                            }
                          }
                        },
                        "category": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "integer"
                            },
                            "name": {
                              "type": "string"
                            },
                            "path": {
                              "type": "string"
                            }
                          }
                        },
                        "height": {
                          "type": "integer"
                        },
                        "length": {
                          "type": "number"
                        },
                        "width": {
                          "type": "number"
                        },
                        "weight": {
                          "type": "integer"
                        },
                        "images": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "integer"
                              },
                              "index": {
                                "type": "integer"
                              },
                              "variation": {
                                "type": "string"
                              },
                              "thumbnailUrl": {
                                "type": "string"
                              },
                              "standardUrl": {
                                "type": "string"
                              },
                              "lowResolutionUrl": {
                                "type": "string"
                              },
                              "originalImage": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string"
                              },
                              "main": {
                                "type": "boolean"
                              },
                              "standardWidth": {
                                "type": "integer"
                              },
                              "standardHeight": {
                                "type": "integer"
                              },
                              "originalWidth": {
                                "type": "integer"
                              },
                              "originalHeight": {
                                "type": "integer"
                              }
                            }
                          }
                        },
                        "brand": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "integer"
                            },
                            "name": {
                              "type": "string"
                            },
                            "partnerId": {
                              "type": "string"
                            }
                          }
                        },
                        "priceFactor": {
                          "type": "number",
                          "format": "double"
                        },
                        "calculatedPrice": {
                          "type": "boolean"
                        },
                        "hasVariations": {
                          "type": "boolean"
                        },
                        "gender": {
                          "type": "string"
                        },
                        "allowAutomaticSkuMarketplaceCreation": {
                          "type": "boolean"
                        }
                      }
                    }
                  },
                  "x-examples": {
                    "example-1": {
                      "id": 124941,
                      "partnerId": "1010247",
                      "amount": 4,
                      "title": "TENIS CASUAL URBANO BOTA CONVERSE 7650 BLANCO",
                      "price": 1299,
                      "sellPrice": 1299,
                      "additionalTime": 0,
                      "variations": [
                        {
                          "id": 97524,
                          "description": "Branco",
                          "type": {
                            "id": 14575,
                            "name": "Cor",
                            "visualVariation": true
                          }
                        },
                        {
                          "id": 97526,
                          "description": "23.5",
                          "type": {
                            "id": 14576,
                            "name": "Tamanho",
                            "visualVariation": false
                          }
                        }
                      ],
                      "product": {
                        "id": 109544,
                        "title": "TENIS CASUAL URBANO BOTA CONVERSE 7650 BLANCO",
                        "description": "PRODUCTO: Nombre: TENIS CASUAL URBANO BOTA CONVERSE 7650 BLANCO PriceShoes La moda m&aacute;s deseada y la m&aacute;s vendida. Hey t&uacute;, si &iexcl;t&uacute;! Creo que es momento que te des este gustito. Todos nuestros productos son nuevos y de marca original &iexcl;Tanta comodidad en tan solo una prenda! Estamos para servirte, cualquier pregunta no dudes en contactarnos en el apartado de preguntas que encontrar&aacute;s al final de esta p&aacute;gina.",
                        "model": "7650",
                        "definitionPriceScope": "SKU",
                        "characteristics": [
                          {
                            "index": 0,
                            "name": "EXTERNAL_MATERIALS",
                            "value": "TEXTIL"
                          },
                          {
                            "index": 1,
                            "name": "OUTSOLE_MATERIAL",
                            "value": "SINTETICO"
                          },
                          {
                            "index": 2,
                            "name": "TOE_SHAPE",
                            "value": "PUNTAL"
                          },
                          {
                            "index": 3,
                            "name": "FOOTWEAR_STYLE",
                            "value": "AGUJETA"
                          },
                          {
                            "index": 4,
                            "name": "GENDER",
                            "value": "Hombre"
                          }
                        ],
                        "origin": {
                          "name": "NACIONAL",
                          "id": 0
                        },
                        "category": {
                          "id": 23171,
                          "name": "CALZADO-CABALLERO-TENIS CASUAL URBANO-BOTA",
                          "path": "CALZADO-CABALLERO-TENIS CASUAL URBANO-BOTA"
                        },
                        "height": 11,
                        "length": 34.5,
                        "width": 21.5,
                        "weight": 0,
                        "images": [
                          {
                            "id": 63010,
                            "index": 1,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./D70173A4363898EF6D5348ED51300688/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./D70173A4363898EF6D5348ED51300688/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./D70173A4363898EF6D5348ED51300688/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./D70173A4363898EF6D5348ED51300688/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-1.jpg",
                            "status": "PROCESSED",
                            "main": true,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63011,
                            "index": 2,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C7D240A4360513A0DB9777A22AA20F8F/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C7D240A4360513A0DB9777A22AA20F8F/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C7D240A4360513A0DB9777A22AA20F8F/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C7D240A4360513A0DB9777A22AA20F8F/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-2.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63012,
                            "index": 3,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./0D97147D4537584C7C46E20A3B10E271/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./0D97147D4537584C7C46E20A3B10E271/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./0D97147D4537584C7C46E20A3B10E271/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./0D97147D4537584C7C46E20A3B10E271/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-3.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63013,
                            "index": 4,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C03F6BB27A7739B65398546C2BFF3275/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C03F6BB27A7739B65398546C2BFF3275/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C03F6BB27A7739B65398546C2BFF3275/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C03F6BB27A7739B65398546C2BFF3275/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-4.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63014,
                            "index": 5,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./54D43287FD90FEA4202F552D48210734/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./54D43287FD90FEA4202F552D48210734/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./54D43287FD90FEA4202F552D48210734/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./54D43287FD90FEA4202F552D48210734/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-5.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63015,
                            "index": 6,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./EA1CD96A39251678692116E223E26962/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./EA1CD96A39251678692116E223E26962/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./EA1CD96A39251678692116E223E26962/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./EA1CD96A39251678692116E223E26962/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/marketplace/placeholder.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 582,
                            "standardHeight": 448,
                            "originalWidth": 582,
                            "originalHeight": 448
                          }
                        ],
                        "brand": {
                          "id": 21206,
                          "name": "CONVERSE",
                          "partnerId": "CONVERSE"
                        },
                        "priceFactor": 1,
                        "calculatedPrice": false,
                        "hasVariations": true,
                        "gender": "MALE",
                        "allowAutomaticSkuMarketplaceCreation": true
                      }
                    }
                  }
                },
                "examples": {
                  "Sku com variação": {
                    "value": {
                      "id": 124941,
                      "partnerId": "1010247",
                      "amount": 4,
                      "title": "TENIS CASUAL URBANO BOTA CONVERSE 7650 BLANCO",
                      "price": 1299,
                      "sellPrice": 1299,
                      "additionalTime": 0,
                      "variations": [
                        {
                          "id": 97524,
                          "description": "Branco",
                          "type": {
                            "id": 14575,
                            "name": "Cor",
                            "visualVariation": true
                          }
                        },
                        {
                          "id": 97526,
                          "description": "23.5",
                          "type": {
                            "id": 14576,
                            "name": "Tamanho",
                            "visualVariation": false
                          }
                        }
                      ],
                      "product": {
                        "id": 109544,
                        "title": "TENIS CASUAL URBANO BOTA CONVERSE 7650 BLANCO",
                        "description": "PRODUCTO: Nombre: TENIS CASUAL URBANO BOTA CONVERSE 7650 BLANCO PriceShoes La moda m&aacute;s deseada y la m&aacute;s vendida. Hey t&uacute;, si &iexcl;t&uacute;! Creo que es momento que te des este gustito. Todos nuestros productos son nuevos y de marca original &iexcl;Tanta comodidad en tan solo una prenda! Estamos para servirte, cualquier pregunta no dudes en contactarnos en el apartado de preguntas que encontrar&aacute;s al final de esta p&aacute;gina.",
                        "model": "7650",
                        "definitionPriceScope": "SKU",
                        "characteristics": [
                          {
                            "index": 0,
                            "name": "EXTERNAL_MATERIALS",
                            "value": "TEXTIL"
                          },
                          {
                            "index": 1,
                            "name": "OUTSOLE_MATERIAL",
                            "value": "SINTETICO"
                          },
                          {
                            "index": 2,
                            "name": "TOE_SHAPE",
                            "value": "PUNTAL"
                          },
                          {
                            "index": 3,
                            "name": "FOOTWEAR_STYLE",
                            "value": "AGUJETA"
                          },
                          {
                            "index": 4,
                            "name": "GENDER",
                            "value": "Hombre"
                          }
                        ],
                        "origin": {
                          "name": "NACIONAL",
                          "id": 0
                        },
                        "category": {
                          "id": 23171,
                          "name": "CALZADO-CABALLERO-TENIS CASUAL URBANO-BOTA",
                          "path": "CALZADO-CABALLERO-TENIS CASUAL URBANO-BOTA"
                        },
                        "height": 11,
                        "length": 34.5,
                        "width": 21.5,
                        "weight": 0,
                        "images": [
                          {
                            "id": 63010,
                            "index": 1,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./D70173A4363898EF6D5348ED51300688/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./D70173A4363898EF6D5348ED51300688/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./D70173A4363898EF6D5348ED51300688/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./D70173A4363898EF6D5348ED51300688/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-1.jpg",
                            "status": "PROCESSED",
                            "main": true,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63011,
                            "index": 2,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C7D240A4360513A0DB9777A22AA20F8F/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C7D240A4360513A0DB9777A22AA20F8F/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C7D240A4360513A0DB9777A22AA20F8F/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C7D240A4360513A0DB9777A22AA20F8F/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-2.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63012,
                            "index": 3,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./0D97147D4537584C7C46E20A3B10E271/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./0D97147D4537584C7C46E20A3B10E271/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./0D97147D4537584C7C46E20A3B10E271/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./0D97147D4537584C7C46E20A3B10E271/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-3.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63013,
                            "index": 4,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C03F6BB27A7739B65398546C2BFF3275/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C03F6BB27A7739B65398546C2BFF3275/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C03F6BB27A7739B65398546C2BFF3275/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C03F6BB27A7739B65398546C2BFF3275/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-4.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63014,
                            "index": 5,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./54D43287FD90FEA4202F552D48210734/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./54D43287FD90FEA4202F552D48210734/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./54D43287FD90FEA4202F552D48210734/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./54D43287FD90FEA4202F552D48210734/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-5.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63015,
                            "index": 6,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./EA1CD96A39251678692116E223E26962/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./EA1CD96A39251678692116E223E26962/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./EA1CD96A39251678692116E223E26962/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./EA1CD96A39251678692116E223E26962/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/marketplace/placeholder.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 582,
                            "standardHeight": 448,
                            "originalWidth": 582,
                            "originalHeight": 448
                          }
                        ],
                        "brand": {
                          "id": 21206,
                          "name": "CONVERSE",
                          "partnerId": "CONVERSE"
                        },
                        "priceFactor": 1,
                        "calculatedPrice": false,
                        "hasVariations": true,
                        "gender": "MALE",
                        "allowAutomaticSkuMarketplaceCreation": true
                      }
                    }
                  },
                  "Sku simples": {
                    "value": {
                      "id": 123287,
                      "partnerId": "automatizadoAPIV2",
                      "amount": 14,
                      "ean": "1234567789",
                      "title": "Produto Simples Completo - Teste Automatizado",
                      "price": 150,
                      "sellPrice": 150,
                      "additionalTime": 1,
                      "product": {
                        "imagesWithoutVariationValue": [
                          {
                            "id": 61583,
                            "index": 1,
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./077D12D03580265F77E5CCE52098DC22/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./077D12D03580265F77E5CCE52098DC22/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./077D12D03580265F77E5CCE52098DC22/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./077D12D03580265F77E5CCE52098DC22/original_image.jpg",
                            "url": "https://play-lh.googleusercontent.com/proxy/2tj1HTTkxfLUCHMYCMY7Ik_u9Dv-ctrQ7tteluo8MkL9bUzSFutbEcvkGroJxU6PTS84IHjfzCYjRsCflXcZ5k_CV2OAD2Al4i_fUCrb6cBVNvtB4TZhu97Z=w720-h405-rw",
                            "status": "PROCESSED",
                            "main": true,
                            "standardWidth": 720,
                            "standardHeight": 405,
                            "originalWidth": 720,
                            "originalHeight": 405
                          }
                        ],
                        "id": 107982,
                        "title": "PRODUTO PARA TESTES API V2 automatizadoAPIV2",
                        "description": "1",
                        "model": "Modelo de Testes Automatizado",
                        "nbm": {
                          "id": "84158190",
                          "description": "OUTS.APARS.DE AR COND.C/DISP.REFRIG.VALV.INV.CICLO TERM"
                        },
                        "videoUrl": "https://www.youtube.com/watch?v=PfpEefKiG2I",
                        "definitionPriceScope": "SKU",
                        "characteristics": [
                          {
                            "index": 0,
                            "name": "Valor",
                            "value": "Valor da Característica 01"
                          }
                        ],
                        "origin": {
                          "name": "NACIONAL",
                          "id": 0
                        },
                        "category": {
                          "id": 22900,
                          "name": "CATEGORIA PARA PEDIDOS",
                          "path": "CATEGORIA PARA PEDIDOS"
                        },
                        "height": 1,
                        "length": 2,
                        "width": 2,
                        "weight": 1,
                        "images": [
                          {
                            "id": 61583,
                            "index": 1,
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./077D12D03580265F77E5CCE52098DC22/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./077D12D03580265F77E5CCE52098DC22/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./077D12D03580265F77E5CCE52098DC22/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./077D12D03580265F77E5CCE52098DC22/original_image.jpg",
                            "url": "https://play-lh.googleusercontent.com/proxy/2tj1HTTkxfLUCHMYCMY7Ik_u9Dv-ctrQ7tteluo8MkL9bUzSFutbEcvkGroJxU6PTS84IHjfzCYjRsCflXcZ5k_CV2OAD2Al4i_fUCrb6cBVNvtB4TZhu97Z=w720-h405-rw",
                            "status": "PROCESSED",
                            "main": true,
                            "standardWidth": 720,
                            "standardHeight": 405,
                            "originalWidth": 720,
                            "originalHeight": 405
                          }
                        ],
                        "brand": {
                          "id": 21004,
                          "name": "Automação API V2",
                          "partnerId": "Automação API V2 "
                        },
                        "warrantyTime": 1,
                        "warrantyText": "Um ano Após a compra",
                        "priceFactor": 10.71352,
                        "calculatedPrice": false,
                        "hasVariations": false,
                        "gender": "UNISSEX",
                        "allowAutomaticSkuMarketplaceCreation": false
                      }
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {
                      "type": "string"
                    }
                  },
                  "x-examples": {
                    "example-1": {
                      "code": 500,
                      "message": "Não foi possível realizar a operação: Erro interno.",
                      "details": "404 Not Found"
                    }
                  }
                },
                "examples": {
                  "example-1": {
                    "value": {
                      "code": 500,
                      "message": "Não foi possível realizar a operação: Erro interno.",
                      "details": "404 Not Found"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "get-skus-id-skuId",
        "description": "Consulta as informações do sku através do idSku.",
        "parameters": [],
        "x-internal": true,
        "deprecated": true
      }
    },
    "/skus/partnerId/{partnerId}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "partnerId",
          "in": "path",
          "required": true,
          "description": "Sku do seller"
        }
      ],
      "get": {
        "summary": "/skus/partnerId/{partnerId}",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer"
                    },
                    "partnerId": {
                      "type": "string"
                    },
                    "amount": {
                      "type": "integer"
                    },
                    "title": {
                      "type": "string"
                    },
                    "price": {
                      "type": "integer"
                    },
                    "sellPrice": {
                      "type": "integer"
                    },
                    "additionalTime": {
                      "type": "integer"
                    },
                    "variations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer"
                          },
                          "description": {
                            "type": "string"
                          },
                          "type": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "integer"
                              },
                              "name": {
                                "type": "string"
                              },
                              "visualVariation": {
                                "type": "boolean"
                              }
                            }
                          }
                        }
                      }
                    },
                    "product": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer"
                        },
                        "title": {
                          "type": "string"
                        },
                        "description": {
                          "type": "string"
                        },
                        "model": {
                          "type": "string"
                        },
                        "definitionPriceScope": {
                          "type": "string"
                        },
                        "characteristics": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "index": {
                                "type": "integer"
                              },
                              "name": {
                                "type": "string"
                              },
                              "value": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "origin": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "id": {
                              "type": "integer"
                            }
                          }
                        },
                        "category": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "integer"
                            },
                            "name": {
                              "type": "string"
                            },
                            "path": {
                              "type": "string"
                            }
                          }
                        },
                        "height": {
                          "type": "integer"
                        },
                        "length": {
                          "type": "number"
                        },
                        "width": {
                          "type": "number"
                        },
                        "weight": {
                          "type": "integer"
                        },
                        "images": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "integer"
                              },
                              "index": {
                                "type": "integer"
                              },
                              "variation": {
                                "type": "string"
                              },
                              "thumbnailUrl": {
                                "type": "string"
                              },
                              "standardUrl": {
                                "type": "string"
                              },
                              "lowResolutionUrl": {
                                "type": "string"
                              },
                              "originalImage": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string"
                              },
                              "main": {
                                "type": "boolean"
                              },
                              "standardWidth": {
                                "type": "integer"
                              },
                              "standardHeight": {
                                "type": "integer"
                              },
                              "originalWidth": {
                                "type": "integer"
                              },
                              "originalHeight": {
                                "type": "integer"
                              }
                            }
                          }
                        },
                        "brand": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "integer"
                            },
                            "name": {
                              "type": "string"
                            },
                            "partnerId": {
                              "type": "string"
                            }
                          }
                        },
                        "priceFactor": {
                          "type": "number",
                          "format": "double"
                        },
                        "calculatedPrice": {
                          "type": "boolean"
                        },
                        "hasVariations": {
                          "type": "boolean"
                        },
                        "gender": {
                          "type": "string"
                        },
                        "allowAutomaticSkuMarketplaceCreation": {
                          "type": "boolean"
                        }
                      }
                    }
                  },
                  "x-examples": {
                    "example-1": {
                      "id": 124941,
                      "partnerId": "1010247",
                      "amount": 4,
                      "title": "TENIS CASUAL URBANO BOTA CONVERSE 7650 BLANCO",
                      "price": 1299,
                      "sellPrice": 1299,
                      "additionalTime": 0,
                      "variations": [
                        {
                          "id": 97524,
                          "description": "Branco",
                          "type": {
                            "id": 14575,
                            "name": "Cor",
                            "visualVariation": true
                          }
                        },
                        {
                          "id": 97526,
                          "description": "23.5",
                          "type": {
                            "id": 14576,
                            "name": "Tamanho",
                            "visualVariation": false
                          }
                        }
                      ],
                      "product": {
                        "id": 109544,
                        "title": "TENIS CASUAL URBANO BOTA CONVERSE 7650 BLANCO",
                        "description": "PRODUCTO: Nombre: TENIS CASUAL URBANO BOTA CONVERSE 7650 BLANCO PriceShoes La moda m&aacute;s deseada y la m&aacute;s vendida. Hey t&uacute;, si &iexcl;t&uacute;! Creo que es momento que te des este gustito. Todos nuestros productos son nuevos y de marca original &iexcl;Tanta comodidad en tan solo una prenda! Estamos para servirte, cualquier pregunta no dudes en contactarnos en el apartado de preguntas que encontrar&aacute;s al final de esta p&aacute;gina.",
                        "model": "7650",
                        "definitionPriceScope": "SKU",
                        "characteristics": [
                          {
                            "index": 0,
                            "name": "EXTERNAL_MATERIALS",
                            "value": "TEXTIL"
                          },
                          {
                            "index": 1,
                            "name": "OUTSOLE_MATERIAL",
                            "value": "SINTETICO"
                          },
                          {
                            "index": 2,
                            "name": "TOE_SHAPE",
                            "value": "PUNTAL"
                          },
                          {
                            "index": 3,
                            "name": "FOOTWEAR_STYLE",
                            "value": "AGUJETA"
                          },
                          {
                            "index": 4,
                            "name": "GENDER",
                            "value": "Hombre"
                          }
                        ],
                        "origin": {
                          "name": "NACIONAL",
                          "id": 0
                        },
                        "category": {
                          "id": 23171,
                          "name": "CALZADO-CABALLERO-TENIS CASUAL URBANO-BOTA",
                          "path": "CALZADO-CABALLERO-TENIS CASUAL URBANO-BOTA"
                        },
                        "height": 11,
                        "length": 34.5,
                        "width": 21.5,
                        "weight": 0,
                        "images": [
                          {
                            "id": 63010,
                            "index": 1,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./D70173A4363898EF6D5348ED51300688/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./D70173A4363898EF6D5348ED51300688/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./D70173A4363898EF6D5348ED51300688/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./D70173A4363898EF6D5348ED51300688/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-1.jpg",
                            "status": "PROCESSED",
                            "main": true,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63011,
                            "index": 2,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C7D240A4360513A0DB9777A22AA20F8F/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C7D240A4360513A0DB9777A22AA20F8F/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C7D240A4360513A0DB9777A22AA20F8F/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C7D240A4360513A0DB9777A22AA20F8F/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-2.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63012,
                            "index": 3,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./0D97147D4537584C7C46E20A3B10E271/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./0D97147D4537584C7C46E20A3B10E271/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./0D97147D4537584C7C46E20A3B10E271/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./0D97147D4537584C7C46E20A3B10E271/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-3.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63013,
                            "index": 4,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C03F6BB27A7739B65398546C2BFF3275/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C03F6BB27A7739B65398546C2BFF3275/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C03F6BB27A7739B65398546C2BFF3275/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C03F6BB27A7739B65398546C2BFF3275/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-4.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63014,
                            "index": 5,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./54D43287FD90FEA4202F552D48210734/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./54D43287FD90FEA4202F552D48210734/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./54D43287FD90FEA4202F552D48210734/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./54D43287FD90FEA4202F552D48210734/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-5.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63015,
                            "index": 6,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./EA1CD96A39251678692116E223E26962/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./EA1CD96A39251678692116E223E26962/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./EA1CD96A39251678692116E223E26962/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./EA1CD96A39251678692116E223E26962/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/marketplace/placeholder.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 582,
                            "standardHeight": 448,
                            "originalWidth": 582,
                            "originalHeight": 448
                          }
                        ],
                        "brand": {
                          "id": 21206,
                          "name": "CONVERSE",
                          "partnerId": "CONVERSE"
                        },
                        "priceFactor": 1,
                        "calculatedPrice": false,
                        "hasVariations": true,
                        "gender": "MALE",
                        "allowAutomaticSkuMarketplaceCreation": true
                      }
                    }
                  }
                },
                "examples": {
                  "Sku com variação": {
                    "value": {
                      "id": 124941,
                      "partnerId": "1010247",
                      "amount": 4,
                      "title": "TENIS CASUAL URBANO BOTA CONVERSE 7650 BLANCO",
                      "price": 1299,
                      "sellPrice": 1299,
                      "additionalTime": 0,
                      "variations": [
                        {
                          "id": 97524,
                          "description": "Branco",
                          "type": {
                            "id": 14575,
                            "name": "Cor",
                            "visualVariation": true
                          }
                        },
                        {
                          "id": 97526,
                          "description": "23.5",
                          "type": {
                            "id": 14576,
                            "name": "Tamanho",
                            "visualVariation": false
                          }
                        }
                      ],
                      "product": {
                        "id": 109544,
                        "title": "TENIS CASUAL URBANO BOTA CONVERSE 7650 BLANCO",
                        "description": "PRODUCTO: Nombre: TENIS CASUAL URBANO BOTA CONVERSE 7650 BLANCO PriceShoes La moda m&aacute;s deseada y la m&aacute;s vendida. Hey t&uacute;, si &iexcl;t&uacute;! Creo que es momento que te des este gustito. Todos nuestros productos son nuevos y de marca original &iexcl;Tanta comodidad en tan solo una prenda! Estamos para servirte, cualquier pregunta no dudes en contactarnos en el apartado de preguntas que encontrar&aacute;s al final de esta p&aacute;gina.",
                        "model": "7650",
                        "definitionPriceScope": "SKU",
                        "characteristics": [
                          {
                            "index": 0,
                            "name": "EXTERNAL_MATERIALS",
                            "value": "TEXTIL"
                          },
                          {
                            "index": 1,
                            "name": "OUTSOLE_MATERIAL",
                            "value": "SINTETICO"
                          },
                          {
                            "index": 2,
                            "name": "TOE_SHAPE",
                            "value": "PUNTAL"
                          },
                          {
                            "index": 3,
                            "name": "FOOTWEAR_STYLE",
                            "value": "AGUJETA"
                          },
                          {
                            "index": 4,
                            "name": "GENDER",
                            "value": "Hombre"
                          }
                        ],
                        "origin": {
                          "name": "NACIONAL",
                          "id": 0
                        },
                        "category": {
                          "id": 23171,
                          "name": "CALZADO-CABALLERO-TENIS CASUAL URBANO-BOTA",
                          "path": "CALZADO-CABALLERO-TENIS CASUAL URBANO-BOTA"
                        },
                        "height": 11,
                        "length": 34.5,
                        "width": 21.5,
                        "weight": 0,
                        "images": [
                          {
                            "id": 63010,
                            "index": 1,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./D70173A4363898EF6D5348ED51300688/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./D70173A4363898EF6D5348ED51300688/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./D70173A4363898EF6D5348ED51300688/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./D70173A4363898EF6D5348ED51300688/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-1.jpg",
                            "status": "PROCESSED",
                            "main": true,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63011,
                            "index": 2,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C7D240A4360513A0DB9777A22AA20F8F/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C7D240A4360513A0DB9777A22AA20F8F/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C7D240A4360513A0DB9777A22AA20F8F/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C7D240A4360513A0DB9777A22AA20F8F/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-2.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63012,
                            "index": 3,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./0D97147D4537584C7C46E20A3B10E271/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./0D97147D4537584C7C46E20A3B10E271/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./0D97147D4537584C7C46E20A3B10E271/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./0D97147D4537584C7C46E20A3B10E271/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-3.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63013,
                            "index": 4,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C03F6BB27A7739B65398546C2BFF3275/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C03F6BB27A7739B65398546C2BFF3275/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C03F6BB27A7739B65398546C2BFF3275/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./C03F6BB27A7739B65398546C2BFF3275/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-4.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63014,
                            "index": 5,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./54D43287FD90FEA4202F552D48210734/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./54D43287FD90FEA4202F552D48210734/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./54D43287FD90FEA4202F552D48210734/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./54D43287FD90FEA4202F552D48210734/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/product/1/0/10102-5.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 1000,
                            "standardHeight": 1000,
                            "originalWidth": 1500,
                            "originalHeight": 1500
                          },
                          {
                            "id": 63015,
                            "index": 6,
                            "variation": "Branco",
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./EA1CD96A39251678692116E223E26962/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./EA1CD96A39251678692116E223E26962/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./EA1CD96A39251678692116E223E26962/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./EA1CD96A39251678692116E223E26962/original_image.jpg",
                            "url": "https://res.cloudinary.com/priceshoes/marketplace/placeholder.jpg",
                            "status": "PROCESSED",
                            "main": false,
                            "standardWidth": 582,
                            "standardHeight": 448,
                            "originalWidth": 582,
                            "originalHeight": 448
                          }
                        ],
                        "brand": {
                          "id": 21206,
                          "name": "CONVERSE",
                          "partnerId": "CONVERSE"
                        },
                        "priceFactor": 1,
                        "calculatedPrice": false,
                        "hasVariations": true,
                        "gender": "MALE",
                        "allowAutomaticSkuMarketplaceCreation": true
                      }
                    }
                  },
                  "Sku Simples": {
                    "value": {
                      "id": 123287,
                      "partnerId": "automatizadoAPIV2",
                      "amount": 14,
                      "ean": "1234567789",
                      "title": "Produto Simples Completo - Teste Automatizado",
                      "price": 150,
                      "sellPrice": 150,
                      "additionalTime": 1,
                      "product": {
                        "imagesWithoutVariationValue": [
                          {
                            "id": 61583,
                            "index": 1,
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./077D12D03580265F77E5CCE52098DC22/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./077D12D03580265F77E5CCE52098DC22/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./077D12D03580265F77E5CCE52098DC22/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./077D12D03580265F77E5CCE52098DC22/original_image.jpg",
                            "url": "https://play-lh.googleusercontent.com/proxy/2tj1HTTkxfLUCHMYCMY7Ik_u9Dv-ctrQ7tteluo8MkL9bUzSFutbEcvkGroJxU6PTS84IHjfzCYjRsCflXcZ5k_CV2OAD2Al4i_fUCrb6cBVNvtB4TZhu97Z=w720-h405-rw",
                            "status": "PROCESSED",
                            "main": true,
                            "standardWidth": 720,
                            "standardHeight": 405,
                            "originalWidth": 720,
                            "originalHeight": 405
                          }
                        ],
                        "id": 107982,
                        "title": "PRODUTO PARA TESTES API V2 automatizadoAPIV2",
                        "description": "1",
                        "model": "Modelo de Testes Automatizado",
                        "nbm": {
                          "id": "84158190",
                          "description": "OUTS.APARS.DE AR COND.C/DISP.REFRIG.VALV.INV.CICLO TERM"
                        },
                        "videoUrl": "https://www.youtube.com/watch?v=PfpEefKiG2I",
                        "definitionPriceScope": "SKU",
                        "characteristics": [
                          {
                            "index": 0,
                            "name": "Valor",
                            "value": "Valor da Característica 01"
                          }
                        ],
                        "origin": {
                          "name": "NACIONAL",
                          "id": 0
                        },
                        "category": {
                          "id": 22900,
                          "name": "CATEGORIA PARA PEDIDOS",
                          "path": "CATEGORIA PARA PEDIDOS"
                        },
                        "height": 1,
                        "length": 2,
                        "width": 2,
                        "weight": 1,
                        "images": [
                          {
                            "id": 61583,
                            "index": 1,
                            "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./077D12D03580265F77E5CCE52098DC22/thumbnail.jpg",
                            "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./077D12D03580265F77E5CCE52098DC22/standard_resolution.jpg",
                            "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./077D12D03580265F77E5CCE52098DC22/low_resolution.jpg",
                            "originalImage": "http://s3-sa-east-1.amazonaws.com/images.dev.anymarket.com.br/47./077D12D03580265F77E5CCE52098DC22/original_image.jpg",
                            "url": "https://play-lh.googleusercontent.com/proxy/2tj1HTTkxfLUCHMYCMY7Ik_u9Dv-ctrQ7tteluo8MkL9bUzSFutbEcvkGroJxU6PTS84IHjfzCYjRsCflXcZ5k_CV2OAD2Al4i_fUCrb6cBVNvtB4TZhu97Z=w720-h405-rw",
                            "status": "PROCESSED",
                            "main": true,
                            "standardWidth": 720,
                            "standardHeight": 405,
                            "originalWidth": 720,
                            "originalHeight": 405
                          }
                        ],
                        "brand": {
                          "id": 21004,
                          "name": "Automação API V2",
                          "partnerId": "Automação API V2 "
                        },
                        "warrantyTime": 1,
                        "warrantyText": "Um ano Após a compra",
                        "priceFactor": 10.71352,
                        "calculatedPrice": false,
                        "hasVariations": false,
                        "gender": "UNISSEX",
                        "allowAutomaticSkuMarketplaceCreation": false
                      }
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {
                      "type": "string"
                    }
                  },
                  "x-examples": {
                    "example-1": {
                      "code": 500,
                      "message": "Não foi possível realizar a operação: Erro interno.",
                      "details": "422 Unprocessable Entity"
                    }
                  }
                },
                "examples": {
                  "example-1": {
                    "value": {
                      "code": 500,
                      "message": "Não foi possível realizar a operação: Erro interno.",
                      "details": "422 Unprocessable Entity"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "get-skus-partnerId-partnerId",
        "description": "Consulta as informações do sku através do SKU.",
        "tags": [
          "Sku"
        ],
        "parameters": [],
        "x-internal": true,
        "deprecated": true
      }
    },
    "/skus": {
      "get": {
        "summary": "/skus",
        "tags": [
          "Sku"
        ],
        "operationId": "get-skus",
        "description": "Consulta todos os skus da base. ",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "page": {
                      "type": "object",
                      "properties": {
                        "size": {
                          "type": "integer"
                        },
                        "totalElements": {
                          "type": "integer"
                        },
                        "totalPages": {
                          "type": "integer"
                        },
                        "number": {
                          "type": "integer"
                        }
                      }
                    },
                    "content": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer"
                          },
                          "partnerId": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "integer"
                          },
                          "ean": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "price": {
                            "type": "integer"
                          },
                          "sellPrice": {
                            "type": "integer"
                          },
                          "additionalTime": {
                            "type": "integer"
                          },
                          "variations": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "integer"
                                },
                                "description": {
                                  "type": "string"
                                },
                                "type": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "integer"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "visualVariation": {
                                      "type": "boolean"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "x-examples": {
                    "example-1": {
                      "page": {
                        "size": 100,
                        "totalElements": 89,
                        "totalPages": 1,
                        "number": 0
                      },
                      "content": [
                        {
                          "id": 123287,
                          "partnerId": "automatizadoAPIV2",
                          "amount": 14,
                          "ean": "1234567789",
                          "title": "Produto Simples Completo - Teste Automatizado",
                          "price": 150,
                          "sellPrice": 150,
                          "additionalTime": 1
                        },
                        {
                          "id": 124952,
                          "partnerId": "1010258",
                          "amount": 1,
                          "title": "TENIS CASUAL URBANO BOTA CONVERSE 7650 BLANCO",
                          "price": 1299,
                          "sellPrice": 1299,
                          "additionalTime": 0,
                          "variations": [
                            {
                              "id": 97537,
                              "description": "29.0",
                              "type": {
                                "id": 14576,
                                "name": "Tamanho",
                                "visualVariation": false
                              }
                            },
                            {
                              "id": 97524,
                              "description": "Branco",
                              "type": {
                                "id": 14575,
                                "name": "Cor",
                                "visualVariation": true
                              }
                            }
                          ]
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "x-internal": true,
        "deprecated": true
      }
    },
    "/skumarketplace/{idSkuMarketplace}/exists": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "idSkuMarketplace",
          "in": "path",
          "required": true,
          "description": "Id do anuncio no ANYMARKET."
        }
      ],
      "get": {
        "summary": "/skumarketplace/{idSkuMarketplace}/exists",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                },
                "examples": {
                  "example-1": {
                    "value": true
                  },
                  "example-2": {
                    "value": false
                  }
                }
              }
            }
          }
        },
        "operationId": "get-skumarketplace-id-exists",
        "description": "Consulta se o id informado corresponde há alguma transmissão no ANYMARKET. ",
        "parameters": [],
        "tags": [
          "Anúncios"
        ]
      }
    },
    "/skumarketplace/all": {
      "get": {
        "summary": "/skumarketplace/all",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "page": {
                      "type": "object",
                      "properties": {
                        "size": {
                          "type": "integer",
                          "description": "Limite de registos."
                        },
                        "totalElements": {
                          "type": "integer",
                          "description": "Total de registos."
                        },
                        "totalPages": {
                          "type": "integer",
                          "description": "Quantidade de paginas."
                        },
                        "number": {
                          "type": "integer",
                          "description": "Pagina atual."
                        }
                      }
                    },
                    "content": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "$ref": "#/components/schemas/getskuMarketplace-variation"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "get-skumarketplace-all",
        "parameters": [
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "skuPartnerId",
            "description": "SKU do Seller."
          },
          {
            "schema": {
              "type": "integer",
              "default": 10,
              "maximum": 100
            },
            "in": "query",
            "name": "limit",
            "description": "Número máximo de transmissões."
          },
          {
            "schema": {
              "type": "integer",
              "default": 0,
              "minimum": 0
            },
            "in": "query",
            "name": "offset",
            "description": "Posição de início da paginação."
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            },
            "in": "query",
            "name": "sort",
            "description": "Atributo para ordenação."
          }
        ],
        "description": "Consulta todos os anúncios transmitidos para o marketplace. ",
        "tags": [
          "Anúncios"
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "appId": {
        "name": "appId",
        "type": "apiKey",
        "in": "header",
        "description": "ID do Marketplace fornecido pelo ANYMARKET"
      },
      "token": {
        "name": "token",
        "type": "apiKey",
        "in": "header",
        "description": "Token do Seller no ANYMARKET"
      }
    },
    "schemas": {
      "400": {
        "description": "",
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "minLength": 1
          },
          "message": {
            "type": "string",
            "minLength": 1
          }
        },
        "examples": [
          {
            "code": "400",
            "message": "Erro ao criar o recurso. Somente é possivel criar recurso com status x ou y."
          }
        ],
        "x-tags": [
          "erro"
        ],
        "title": "400 - Error",
        "example": {
          "value": {
            "code": "400",
            "message": "Erro ao criar o recurso. Somente é possivel criar recurso com status x ou y."
          }
        }
      },
      "404": {
        "description": "",
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "minLength": 1
          },
          "message": {
            "type": "string",
            "minLength": 1
          }
        },
        "examples": [
          {
            "code": "404",
            "message": "Recurso com o id 'xxx' não encontrado."
          }
        ],
        "x-tags": [
          "erro"
        ],
        "title": "404 - Error",
        "example": {
          "value": {
            "code": "404",
            "message": "Recurso com o id 'xxx' não encontrado."
          }
        }
      },
      "configuration": {
        "title": "configuration",
        "type": "object",
        "required": [
          "id",
          "oi",
          "active",
          "accountName",
          "marketplace",
          "discountType",
          "useSandbox",
          "accountDefault",
          "priceFactor",
          "discountValue",
          "updatePriceStockStatus",
          "additionOfFreight",
          "fields",
          "initialDateOrderImport"
        ],
        "properties": {
          "id": {
            "type": "number",
            "description": "É o Id fornecido no saveAccount quando o seller ativa a integração no Anymarket."
          },
          "oi": {
            "type": "string",
            "minLength": 1,
            "description": "OI (Organization Id) do Seller"
          },
          "active": {
            "type": "boolean",
            "description": "Informa se a integração esá Ativa (Booleano)."
          },
          "templateId": {
            "type": "number",
            "description": "Id do template padrão"
          },
          "titleTemplateId": {
            "type": "number",
            "description": "Id do template de título padrão"
          },
          "accountName": {
            "type": "string",
            "minLength": 1,
            "description": "Nome da conta do Seller no Anymarket."
          },
          "marketplace": {
            "description": "Nome do próprio Marketplace.",
            "enum": []
          },
          "discountType": {
            "type": "string",
            "minLength": 1,
            "description": "Tipo de Desconto",
            "default": "PERCENT",
            "enum": [
              "PERCENT",
              "VALUE"
            ]
          },
          "useSandbox": {
            "type": "boolean",
            "description": "Informa se o uso é em Sandbox."
          },
          "accountDefault": {
            "type": "boolean",
            "description": "Informa a Conta Padrão."
          },
          "priceFactor": {
            "type": "number",
            "description": "Fator de Preço Multiplicador (Markup Adicional)",
            "format": "double"
          },
          "discountValue": {
            "type": "number",
            "description": "Valor de desconto.",
            "format": "double"
          },
          "updatePriceStockStatus": {
            "type": "boolean",
            "description": "Informa se irá atualizar Preço, Estoque e Status."
          },
          "additionOfFreight": {
            "type": "number",
            "description": "Porcentagem adicional sobre a tabela de frete."
          },
          "fields": {
            "type": "array",
            "uniqueItems": true,
            "minItems": 1,
            "description": "Campos do módulo que são customizados para atender a autenticação do Seller ao Marketplace.",
            "items": {
              "type": "object",
              "required": [
                "value",
                "key"
              ],
              "properties": {
                "value": {
                  "type": "string",
                  "minLength": 1
                },
                "key": {
                  "type": "string",
                  "minLength": 1
                }
              }
            }
          },
          "initialDateOrderImport": {
            "type": "string",
            "minLength": 1,
            "description": "Data inicial para importação dos pedidos",
            "example": "28-11-2023"
          }
        },
        "example": {
          "id": 1,
          "oi": "12345678.",
          "active": true,
          "templateId": 641,
          "titleTemplateId": 320,
          "accountName": "Conta - TESTE",
          "marketplace": "MARKETPLACE",
          "discountType": "VALUE",
          "useSandbox": false,
          "accountDefault": true,
          "priceFactor": 1.5,
          "discountValue": 0,
          "updatePriceStockStatus": true,
          "additionOfFreight": 0,
          "fields": [
            {
              "value": "2000",
              "key": "shopId"
            },
            {
              "value": "LG1234567892346R-213987654",
              "key": "anymarketToken"
            },
            {
              "value": "12345678.",
              "key": "organizationId"
            }
          ],
          "initialDateOrderImport": "2021-10-27"
        }
      },
      "getskuMarketplace-variation": {
        "type": "object",
        "properties": {
          "catalog": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "minLength": 1,
            "description": "Status da Publicação (Por padrão, a publicação é criada como UNPUBLISHED)",
            "default": "UNPUBLISHED"
          },
          "marketplaceStatus": {
            "type": "string",
            "minLength": 1,
            "description": "Texto disponibilizado pelo Marketplace informando o Status do produto"
          },
          "fields": {
            "type": "object",
            "required": [
              "is_main_sku",
              "DISCOUNT_VALUE",
              "DISCOUNT_TYPE",
              "HAS_DISCOUNT",
              "priceFactor"
            ],
            "properties": {
              "template": {
                "type": "string",
                "minLength": 1
              },
              "is_main_sku": {
                "type": "string",
                "minLength": 1,
                "description": "Informa se é o SKU principal."
              },
              "DISCOUNT_VALUE": {
                "type": "string",
                "minLength": 1,
                "description": "Valor de Desconto"
              },
              "DISCOUNT_TYPE": {
                "type": "string",
                "minLength": 1,
                "description": "Tipo de desconto",
                "enum": [
                  "VALUE",
                  "PERCENT"
                ]
              },
              "HAS_DISCOUNT": {
                "type": "string",
                "minLength": 1,
                "description": "Informa se possui desconto"
              },
              "priceFactor": {
                "type": "string",
                "minLength": 1,
                "description": "Markup"
              }
            }
          },
          "isCatalog": {
            "type": "boolean"
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "description": "Titulo da Publicação"
          },
          "ean": {
            "type": "string",
            "minLength": 1,
            "description": "EAN do produto"
          },
          "skuInMarketplace": {
            "type": "string",
            "minLength": 1,
            "description": "SKU do produto (Aplicado o REGEX)"
          },
          "priceFactor": {
            "type": "number",
            "description": "Markup"
          },
          "price": {
            "type": "number",
            "description": "Preço DE:"
          },
          "discountPrice": {
            "type": "number",
            "description": "Preço POR:"
          },
          "idAccount": {
            "type": "number",
            "description": "Id da conta que é gerado na Ativação do Módulo"
          },
          "accountName": {
            "type": "string",
            "minLength": 1,
            "description": "Nome da Conta que fez a publicação."
          },
          "id": {
            "type": "number"
          },
          "stock": {
            "type": "object",
            "required": [
              "amount",
              "availableAmount",
              "cost",
              "totalReservation",
              "physicalAmount",
              "stockLocal",
              "additionalTime"
            ],
            "properties": {
              "amount": {
                "type": "number",
                "description": "Total de Estoque"
              },
              "availableAmount": {
                "type": "number",
                "description": "Quantidade disponível do SKU em Estoque"
              },
              "cost": {
                "type": "number",
                "description": "Valor de custo do Produto."
              },
              "totalReservation": {
                "type": "number",
                "description": "Total de Reserva de Estoque."
              },
              "physicalAmount": {
                "type": "number"
              },
              "stockLocal": {
                "type": "string",
                "minLength": 1,
                "description": "Local de "
              },
              "additionalTime": {
                "type": "number",
                "description": "Prazo de Crossdocking"
              }
            }
          },
          "attributes": {
            "type": "object",
            "required": [
              "String"
            ],
            "description": "Atributos ativos para o Marketplace.",
            "properties": {
              "String": {
                "type": "string",
                "minLength": 1,
                "description": "Nome e Valor do Atributo"
              }
            }
          },
          "sku": {
            "type": "object",
            "required": [
              "id",
              "partnerId",
              "amount",
              "ean",
              "title",
              "price",
              "sellPrice",
              "additionalTime",
              "product"
            ],
            "properties": {
              "id": {
                "type": "number",
                "description": "Id do SKU"
              },
              "partnerId": {
                "type": "string",
                "minLength": 1,
                "description": "Sku no ANYMARKET (Sem aplicação do REGEX)"
              },
              "amount": {
                "type": "number",
                "description": "Quantidade em estoque desse SKU"
              },
              "ean": {
                "type": "string",
                "minLength": 1,
                "description": "EAN do SKU"
              },
              "title": {
                "type": "string",
                "minLength": 1,
                "description": "Titulo do SKU (EM CASO DE PRODUTOS COM VARIAÇÃO, O ANY CONCATENA A VARIAÇÃO AO TITULO)"
              },
              "price": {
                "type": "number"
              },
              "sellPrice": {
                "type": "number"
              },
              "additionalTime": {
                "type": "number",
                "description": "Tempo de preparo do sku (crossdocking)"
              },
              "variations": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "number",
                      "description": "Id do valor Variação no ANYMARKET"
                    },
                    "idInMarketplace": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Id do valor da variação no Marketplace (Obtido ao realizar o vinculo de variação)"
                    },
                    "description": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Valor da Variação",
                      "example": "P, M, G, GG"
                    },
                    "type": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number",
                          "description": "Id do Tipo de Variação no ANYMARKET"
                        },
                        "idInMarketplace": {
                          "type": "string",
                          "minLength": 1,
                          "description": "Id do tipo de Variação no Marketplace (Obtido ao realizar o vinculo de variação)"
                        },
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "description": "Nome do Tipo de variação",
                          "example": "Tamanho"
                        },
                        "visualVariation": {
                          "type": "boolean",
                          "description": "Informa se é uma variação Visual. (EX: Cor, Estampa, etc)"
                        }
                      },
                      "required": [
                        "id",
                        "idInMarketplace",
                        "name",
                        "visualVariation"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "idInMarketplace",
                    "description"
                  ]
                }
              },
              "product": {
                "type": "object",
                "required": [
                  "id",
                  "title",
                  "description",
                  "model",
                  "definitionPriceScope",
                  "characteristics",
                  "origin",
                  "category",
                  "height",
                  "length",
                  "width",
                  "weight",
                  "images",
                  "brand",
                  "warrantyTime",
                  "warrantyText",
                  "priceFactor",
                  "calculatedPrice",
                  "hasVariations",
                  "gender",
                  "allowAutomaticSkuMarketplaceCreation"
                ],
                "properties": {
                  "id": {
                    "type": "number",
                    "description": "Id do Produto. (Pode se utilizar desse ID para realizar agrupamento dos produtos com variação)"
                  },
                  "title": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Titulo do Produto"
                  },
                  "description": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Descrição do Produto (Obs: ANYMARKET aceita tags HTML, caso o marketplace não aceite, será necessario fazer a retirada)"
                  },
                  "model": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Modelo do Produto"
                  },
                  "definitionPriceScope": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Suporte aos tipos SKU (Manual, eu controlo o preço pelo SKU), SKU_MARKETPLACE (Manual, eu controlo o preço pelo anúncio) ou COST (Automático, pela mudança do custo) ",
                    "enum": [
                      "SKU",
                      "SKU_MARKETPLACE",
                      "COST"
                    ]
                  },
                  "characteristics": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "index": {
                          "type": "number"
                        },
                        "name": {
                          "type": "string",
                          "minLength": 1
                        },
                        "value": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "index",
                        "name",
                        "value"
                      ]
                    }
                  },
                  "origin": {
                    "type": "object",
                    "required": [
                      "name",
                      "id"
                    ],
                    "properties": {
                      "name": {
                        "type": "string",
                        "minLength": 1
                      },
                      "id": {
                        "type": "number"
                      }
                    }
                  },
                  "category": {
                    "type": "object",
                    "required": [
                      "id",
                      "idInMarketplace",
                      "name",
                      "path"
                    ],
                    "properties": {
                      "id": {
                        "type": "number",
                        "description": "Id da Categoria no ANYMARKET"
                      },
                      "idInMarketplace": {
                        "type": "string",
                        "minLength": 1,
                        "description": "Id da Categoria no MARKETPLACE (Obtido ao realizar o vinculo de categoria)"
                      },
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "description": "Nome da Categoria"
                      },
                      "path": {
                        "type": "string",
                        "minLength": 1,
                        "description": "Caminho da Categoria"
                      }
                    }
                  },
                  "height": {
                    "type": "number",
                    "description": "Altura da Embalagem (cm)"
                  },
                  "length": {
                    "type": "number",
                    "description": "Comprimento da Embalagem (cm)"
                  },
                  "width": {
                    "type": "number",
                    "description": "Largura da Embalagem (cm)"
                  },
                  "weight": {
                    "type": "number",
                    "description": "Peso da Embalagem (kg)"
                  },
                  "images": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "index": {
                          "type": "number",
                          "description": "Ordenação das Imagens"
                        },
                        "variation": {
                          "type": "string",
                          "minLength": 1,
                          "description": "Informa qual variação essa imagem pertence."
                        },
                        "thumbnailUrl": {
                          "type": "string",
                          "minLength": 1
                        },
                        "standardUrl": {
                          "type": "string",
                          "minLength": 1,
                          "description": "Recomendamos utilizar essa imagem, pois é a imagem que o ANYMARKET processou e está em nosso servidor."
                        },
                        "lowResolutionUrl": {
                          "type": "string",
                          "minLength": 1
                        },
                        "originalImage": {
                          "type": "string",
                          "minLength": 1
                        },
                        "url": {
                          "type": "string",
                          "minLength": 1
                        },
                        "status": {
                          "type": "string",
                          "minLength": 1,
                          "description": "Status do processamento da Imagem"
                        },
                        "main": {
                          "type": "boolean",
                          "description": "Informa se a imagem é a principal."
                        },
                        "standardWidth": {
                          "type": "number"
                        },
                        "standardHeight": {
                          "type": "number"
                        },
                        "originalWidth": {
                          "type": "number"
                        },
                        "originalHeight": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "id",
                        "index",
                        "variation",
                        "thumbnailUrl",
                        "standardUrl",
                        "lowResolutionUrl",
                        "originalImage",
                        "url",
                        "status",
                        "main",
                        "standardWidth",
                        "standardHeight",
                        "originalWidth",
                        "originalHeight"
                      ]
                    }
                  },
                  "brand": {
                    "type": "object",
                    "required": [
                      "id",
                      "idInMarketplace",
                      "name"
                    ],
                    "properties": {
                      "id": {
                        "type": "number",
                        "description": "Id da Marca no ANYMARKET"
                      },
                      "idInMarketplace": {
                        "type": "string",
                        "minLength": 1,
                        "description": "Id da Marca no Marketplace (Obtido ao realizar o vinculo de marcas)"
                      },
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "description": "Nome da Marca"
                      }
                    }
                  },
                  "warrantyTime": {
                    "type": "number",
                    "description": "Tempo de garantia em dias."
                  },
                  "warrantyText": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Texto de garantia"
                  },
                  "priceFactor": {
                    "type": "number",
                    "description": "MARKUP"
                  },
                  "calculatedPrice": {
                    "type": "boolean"
                  },
                  "hasVariations": {
                    "type": "boolean",
                    "description": "Informa se o produto possui Variação"
                  },
                  "gender": {
                    "description": "Gênero",
                    "enum": [
                      "MALE",
                      "FEMALE",
                      "BOY",
                      "GIRL",
                      "UNISSEX"
                    ]
                  },
                  "allowAutomaticSkuMarketplaceCreation": {
                    "type": "boolean"
                  }
                }
              }
            }
          }
        },
        "required": [
          "catalog",
          "status",
          "marketplaceStatus",
          "fields",
          "isCatalog",
          "title",
          "ean",
          "skuInMarketplace",
          "priceFactor",
          "price",
          "discountPrice",
          "idAccount",
          "accountName",
          "id",
          "stock",
          "attributes",
          "sku"
        ],
        "example": {
          "catalog": false,
          "status": "UNPUBLISHED",
          "marketplaceStatus": "Não publicado - O Marketplace está processando a atualização.",
          "fields": {
            "template": "0",
            "is_main_sku": "false",
            "DISCOUNT_VALUE": "50",
            "DISCOUNT_TYPE": "PERCENT",
            "HAS_DISCOUNT": "true",
            "priceFactor": "1.00"
          },
          "isCatalog": false,
          "title": "Produto Teste com variação de Cor - Azul",
          "ean": "1912345678812",
          "skuInMarketplace": "COMVARIAOAZUL",
          "priceFactor": 1,
          "price": 20,
          "discountPrice": 10,
          "idAccount": 25,
          "accountName": "Conta Teste",
          "id": 61233,
          "stock": {
            "amount": 10,
            "availableAmount": 10,
            "cost": 100,
            "totalReservation": 0,
            "physicalAmount": 10,
            "stockLocal": "Estoque Físico",
            "additionalTime": 0
          },
          "attributes": {
            "Indicado para": "Dia a Dia"
          },
          "sku": {
            "id": 1610303,
            "partnerId": "COMVARIAÇÃOAZUL",
            "amount": 10,
            "ean": "1912345678910",
            "title": "Produto Teste com variação de Cor - Azul",
            "price": 20,
            "sellPrice": 10,
            "additionalTime": 0,
            "variations": [
              {
                "id": 35191285,
                "idInMarketplace": "1992-AZUL",
                "description": "Azul",
                "type": {
                  "id": 32605,
                  "idInMarketplace": "1B629497xK278415",
                  "name": "Cor",
                  "visualVariation": true
                }
              }
            ],
            "product": {
              "id": 2356789,
              "title": "Produto Teste com variação de Cor",
              "description": "<p>Produto Teste com varia&ccedil;&atilde;o de Cor</p>",
              "model": "Produto Teste",
              "definitionPriceScope": "SKU",
              "characteristics": [
                {
                  "index": 1,
                  "name": "Indicado para",
                  "value": "Dia a Dia"
                }
              ],
              "origin": {
                "name": "NACIONAL",
                "id": 0
              },
              "category": {
                "id": 774786,
                "idInMarketplace": "10",
                "name": "Produto com Variação",
                "path": "Produto Fisico/Produto com Variação"
              },
              "height": 0,
              "length": 0,
              "width": 0,
              "weight": 0,
              "images": [
                {
                  "id": 2015385,
                  "index": 1,
                  "variation": "Azul",
                  "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.anymarket.com.br/12345678./6C0C01E3435CADFE017A307703D1FA93/thumbnail.jpg",
                  "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.anymarket.com.br/12345678./6C0C01E3435CADFE017A307703D1FA93/standard_resolution.jpg",
                  "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.anymarket.com.br/12345678./6C0C01E3435CADFE017A307703D1FA93/low_resolution.jpg",
                  "originalImage": "http://s3-sa-east-1.amazonaws.com/images.anymarket.com.br/12345678./6C0C01E3435CADFE017A307703D1FA93/original_image.jpg",
                  "url": "https://s3.sa-east-1.amazonaws.com/images.sox.anymarket.com.br/12345678./1636471915306/original.jpeg",
                  "status": "PROCESSED",
                  "main": true,
                  "standardWidth": 1000,
                  "standardHeight": 1000,
                  "originalWidth": 1000,
                  "originalHeight": 1000
                },
                {
                  "id": 2015386,
                  "index": 2,
                  "variation": "Verde",
                  "thumbnailUrl": "http://s3-sa-east-1.amazonaws.com/images.anymarket.com.br/12345678./C9F2B763201EBEC20C07F56DACC990E1/thumbnail.jpg",
                  "standardUrl": "http://s3-sa-east-1.amazonaws.com/images.anymarket.com.br/12345678./C9F2B763201EBEC20C07F56DACC990E1/standard_resolution.jpg",
                  "lowResolutionUrl": "http://s3-sa-east-1.amazonaws.com/images.anymarket.com.br/12345678./C9F2B763201EBEC20C07F56DACC990E1/low_resolution.jpg",
                  "originalImage": "http://s3-sa-east-1.amazonaws.com/images.anymarket.com.br/12345678./C9F2B763201EBEC20C07F56DACC990E1/original_image.jpg",
                  "url": "https://s3.sa-east-1.amazonaws.com/images.sox.anymarket.com.br/12345678./1636471956004/original.jpeg",
                  "status": "PROCESSED",
                  "main": true,
                  "standardWidth": 1000,
                  "standardHeight": 1000,
                  "originalWidth": 1200,
                  "originalHeight": 1200
                }
              ],
              "brand": {
                "id": 231949,
                "idInMarketplace": "2000016",
                "name": "MARCA TESTE"
              },
              "warrantyTime": 1,
              "warrantyText": "Garantia do fornecedor.",
              "priceFactor": 1,
              "calculatedPrice": false,
              "hasVariations": true,
              "gender": "FEMALE",
              "allowAutomaticSkuMarketplaceCreation": true
            }
          }
        }
      },
      "transmissionStatus": {
        "title": "transmissionStatus",
        "enum": [
          "WAITING_SYNC",
          "SENDING",
          "PAUSING",
          "CLOSING",
          "ERROR",
          "ACTIVATING",
          "SYNCING",
          "OK",
          "REMOVING"
        ]
      },
      "statusAnuncio": {
        "title": "statusAnuncio",
        "enum": [
          "UNPUBLISHED",
          "ACTIVE",
          "PAUSED",
          "CLOSED",
          "WITHOUT_STOCK"
        ]
      },
      "putskuMarketplace": {
        "type": "object",
        "properties": {
          "idInMarketplace": {
            "type": "string",
            "minLength": 1,
            "description": "Id identificador do anuncio no marketplace\n"
          },
          "idInSite": {
            "type": "string",
            "minLength": 1,
            "description": "ID do produto no Marketplace."
          },
          "skuInMarketplace": {
            "type": "string",
            "minLength": 1,
            "description": "SKU do anúncio no Marketplace."
          },
          "marketplaceStatus": {
            "type": "string",
            "minLength": 1,
            "description": "Status do anuncio no marketplace. ",
            "example": "ATIVO, EM CATALOGAÇÃO, SINCRONIZANDO, etc."
          },
          "idSku": {
            "type": "number",
            "description": "ID do SKU ANYMARKET\n"
          },
          "transmissionStatus": {
            "$ref": "#/components/schemas/transmissionStatus",
            "description": "Status da transmissão.\n"
          },
          "errorMsg": {
            "type": "string",
            "description": "Mensagem de retorno quando o anuncio é criticado em idioma nativo do marketplace"
          },
          "status": {
            "$ref": "#/components/schemas/statusAnuncio",
            "description": "Status do anúncio.\n"
          }
        },
        "required": [
          "idInMarketplace",
          "marketplaceStatus",
          "transmissionStatus",
          "errorMsg",
          "status"
        ],
        "example": {
          "idInMarketplace": "MKT00012",
          "idInSite": "123456",
          "skuInMarketplace": "MEU-SKU-23",
          "marketplaceStatus": "ATIVO",
          "idSku": 1540465,
          "transmissionStatus": "OK",
          "errorMsg": "",
          "status": "ACTIVE"
        }
      },
      "MarketPlace": {
        "title": "MarketPlace",
        "type": "string",
        "description": "Identificador do Marketplace",
        "enum": [
          "B2W",
          "CNOVA",
          "ECOMMERCE",
          "MERCADO_LIVRE",
          "WALMART",
          "GFG",
          "NETSHOES",
          "VTEX",
          "SEU_MARKETPLACE"
        ],
        "examples": []
      },
      "SkuMarketPlaceMessage": {
        "title": "SkuMarketPlaceMessage",
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "parameters": {
            "type": "object",
            "properties": {
              "string": {
                "type": "string"
              }
            }
          }
        },
        "examples": [
          {
            "message": "string",
            "key": "string",
            "parameters": {
              "parameter1": "value1",
              "parameter2": "value2"
            }
          }
        ]
      },
      "SkuMarketplaceField": {
        "type": "object",
        "description": "Informações especificas do anúncio por marketplace",
        "title": "SkuMarketplaceField",
        "properties": {
          "title": {
            "type": "string",
            "description": "B2W,WALMART,MERCADO LIVRE"
          },
          "template": {
            "type": "string",
            "description": "Id Template",
            "example": "1234"
          },
          "priceFactor": {
            "type": "string",
            "description": "B2W,CNOVA,WALMART,ECOMMERCE,MERCADO LIVRE"
          },
          "DISCOUNT_TYPE": {
            "description": "B2W,CNOVA,WALMART,ECOMMERCE,MERCADO LIVRE",
            "enum": [
              "VALUE",
              "PERCENT"
            ],
            "default": "PERCENT"
          },
          "DISCOUNT_VALUE": {
            "type": "number",
            "description": "B2W,CNOVA,WALMART,ECOMMERCE,MERCADO LIVRE",
            "format": "double"
          },
          "HAS_DISCOUNT": {
            "description": "B2W,CNOVA,ECOMMERCE",
            "enum": [
              true,
              false
            ]
          },
          "CONCAT_ATTRIBUTES": {
            "type": "string",
            "description": "B2W"
          },
          "delivery_type": {
            "type": "string",
            "description": "B2W"
          },
          "SHIPMENT": {
            "type": "string",
            "description": "B2W"
          },
          "crossDocking": {
            "type": "string",
            "description": "B2W"
          },
          "CUSTOM_DESCRIPTION": {
            "type": "string",
            "description": "B2W"
          },
          "EAN": {
            "type": "string",
            "description": "B2W,CNOVA",
            "format": "int64"
          },
          "MANUFACTURING_TIME": {
            "type": "string",
            "description": "CNOVA"
          },
          "VALUE": {
            "type": "string",
            "description": "WALMART,MERCADO LIVRE"
          },
          "PERCENT": {
            "type": "string",
            "description": "WALMART,MERCADO LIVRE"
          },
          "bronze_price": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "bronze_price_factor": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "buying_mode": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "category_with_variation": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "condition": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "free_price": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "free_price_factor": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "free_shipping": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "gold_premium_price": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "gold_premium_price_factor": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "gold_price": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "gold_price_factor": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "gold_pro_price": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "gold_pro_price_factor": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "gold_special_price": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "gold_special_price_factor": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "listing_type_id": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "shipping_local_pick_up": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "shipping_mode": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "silver_price": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "silver_price_factor": {
            "type": "string",
            "description": "MERCADO LIVRE"
          },
          "is_main_sku": {
            "type": "string",
            "example": "true",
            "enum": [
              "true",
              "false"
            ]
          },
          "matched_title": {
            "type": "string",
            "description": "Retorna o título do produto que foi realizado o Match"
          },
          "matched_ean": {
            "type": "string",
            "description": "Retorna o EAN do produto que foi realizado o Match"
          }
        }
      },
      "AvailableStockDTO": {
        "title": "AvailableStockDTO",
        "type": "object",
        "properties": {
          "amount": {
            "type": "integer"
          },
          "availableAmount": {
            "type": "integer"
          },
          "cost": {
            "type": "number",
            "format": "double",
            "exclusiveMinimum": 0.01
          },
          "totalReservation": {
            "type": "integer"
          },
          "physicalAmount": {
            "type": "integer"
          },
          "reservedPending": {
            "type": "integer"
          },
          "reservedPaid": {
            "type": "integer"
          },
          "totalInInvoicedStatus": {
            "type": "integer"
          },
          "stockLocal": {
            "format": "double",
            "type": "string"
          },
          "additionalTime": {
            "type": "integer",
            "minimum": 0,
            "maximum": 999,
            "default": 0
          }
        }
      },
      "Attributes": {
        "title": "Attributes",
        "type": "object",
        "properties": {
          "String": {
            "type": "string"
          }
        },
        "examples": [
          {
            "cor": "azul",
            "tamanho": "grande",
            "material": "inox"
          }
        ]
      },
      "SkuMarketplace": {
        "type": "object",
        "description": "",
        "examples": [
          {
            "id": 0,
            "idInMarketplace": "string",
            "marketPlace": "B2W",
            "index": 0,
            "publicationStatus": "string",
            "marketplaceStatus": "string",
            "transmissionStatus": "string",
            "errorMsg": "string",
            "skuMarketPlaceMessage": {
              "message": "string",
              "key": "string",
              "parameters": {
                "parameter1": "value1",
                "parameter2": "value2"
              }
            },
            "price": 0,
            "priceFactor": 1,
            "discountPrice": 0,
            "skuInMarketplace": "string",
            "marketplaceItemCode": "string",
            "fields": {
              "title": "string",
              "template": "string",
              "priceFactor": "string",
              "DISCOUNT_TYPE": "string",
              "DISCOUNT_VALUE": "string",
              "HAS_DISCOUNT": "string",
              "CONCAT_ATTRIBUTES": "string",
              "delivery_type": "string",
              "SHIPMENT": "string",
              "crossDocking": "string",
              "CUSTOM_DESCRIPTION": "string",
              "EAN": "string",
              "MANUFACTURING_TIME": "string",
              "VALUE": "string",
              "PERCENT": "string",
              "bronze_price": "string",
              "bronze_price_factor": "string",
              "buying_mode": "string",
              "category_with_variation": "string",
              "condition": "string",
              "free_price": "string",
              "free_price_factor": "string",
              "free_shipping": "string",
              "gold_premium_price": "string",
              "gold_premium_price_factor": "string",
              "gold_price": "string",
              "gold_price_factor": "string",
              "gold_pro_price": "string",
              "gold_pro_price_factor": "string",
              "gold_special_price": "string",
              "gold_special_price_factor": "string",
              "listing_type_id": "string",
              "shipping_local_pick_up": "string",
              "shipping_mode": "string",
              "silver_price": "string",
              "silver_price_factor": "string"
            },
            "availableStock": {
              "amount": 0,
              "availableAmount": 0,
              "cost": 0,
              "totalReservation": 0,
              "physicalAmount": 0,
              "reservedPending": 0,
              "reservedPaid": 0,
              "totalInInvoicedStatus": 0,
              "stockLocal": "string",
              "additionalTime": 0
            },
            "attributes": {
              "cor": "azul",
              "tamanho": "grande",
              "material": "inox"
            },
            "idAccount": 0,
            "accountName": "string",
            "origin": "BIND",
            "isCatalog": true,
            "permalink": "string",
            "title": "string",
            "ean": "string"
          }
        ],
        "title": "SkuMarketplace",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Id do anúncio no ANYMARKET",
            "format": "int64"
          },
          "idInMarketplace": {
            "type": "string",
            "description": "Id do anúncio no Marketplace",
            "maxLength": 255,
            "minLength": 0
          },
          "marketPlace": {
            "$ref": "#/components/schemas/MarketPlace"
          },
          "index": {
            "type": "integer",
            "description": "Índice do anúncio por Marketplace",
            "format": "int64"
          },
          "publicationStatus": {
            "type": "string",
            "description": "Status da publicação"
          },
          "marketplaceStatus": {
            "type": "string",
            "description": "Status da publicação no marketplace"
          },
          "transmissionStatus": {
            "type": "string",
            "description": "Status da publicação no marketplace"
          },
          "errorMsg": {
            "type": "string"
          },
          "skuMarketPlaceMessage": {
            "$ref": "#/components/schemas/SkuMarketPlaceMessage"
          },
          "price": {
            "type": "number",
            "description": "Preço do anúncio",
            "format": "double",
            "minimum": 0
          },
          "priceFactor": {
            "type": "number",
            "description": "Markup da transmissão",
            "format": "double",
            "minimum": 0,
            "example": 1
          },
          "discountPrice": {
            "type": "number",
            "description": "Preço com desconto do anúncio",
            "format": "double",
            "minimum": 0
          },
          "skuInMarketplace": {
            "type": "string",
            "description": "Sku do cliente no marketplace"
          },
          "marketplaceItemCode": {
            "type": "string",
            "description": ""
          },
          "fields": {
            "$ref": "#/components/schemas/SkuMarketplaceField"
          },
          "availableStock": {
            "$ref": "#/components/schemas/AvailableStockDTO"
          },
          "attributes": {
            "$ref": "#/components/schemas/Attributes"
          },
          "idAccount": {
            "type": "integer",
            "description": "Identificador do SKU no marketplace",
            "format": "int64",
            "minimum": 0
          },
          "accountName": {
            "type": "string",
            "description": "Identificador do SKU no marketplace"
          },
          "origin": {
            "type": "string",
            "description": "Identificador do SKU no marketplace",
            "enum": [
              "BIND",
              "CREATE"
            ]
          },
          "isCatalog": {
            "description": "Código do anúncio no marketplace",
            "type": "boolean"
          },
          "permalink": {
            "description": "Código do anúncio no marketplace",
            "type": "string"
          },
          "title": {
            "description": "Código do anúncio no marketplace",
            "type": "string"
          },
          "ean": {
            "type": "string",
            "description": "Status da transmissão"
          }
        },
        "required": [
          "marketPlace",
          "index",
          "publicationStatus",
          "price",
          "priceFactor",
          "skuInMarketplace",
          "marketplaceItemCode",
          "fields"
        ]
      },
      "OrderStatusUpdate": {
        "title": "OrderStatusUpdate",
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "description": "Mensagem com o motivo da não atualização do status do pedido"
          },
          "marketPlaceStatus": {
            "type": "string",
            "description": "Status do pedido no Marketplace"
          }
        },
        "required": [
          "success",
          "marketPlaceStatus"
        ],
        "description": "Quando o marketplace receber a notificação de atualização de um pedido, seja ele mudando para FATURADO, ENVIADO, CONCLUIDO ou CANCELADO no endpoint /updateOrderStatusInMarketPlace. Necessariamente o marketplace deve realizar o GET para consultar os dados do pedido e na sequencia utilizar do endpoint citado a cima, removendo a sinalização de sincronização e identificando qual o status do pedido no marketplace. Lembrando que caso não processe, o erro deve ser informado também nesse endpoint.",
        "example": {
          "success": true,
          "errorMessage": "string",
          "marketPlaceStatus": "string"
        }
      },
      "cancellationCodeOrder": {
        "title": "cancellationCode",
        "enum": [
          "WITHOUT_STOCK",
          "SHIPPING_ADDRESS",
          "CUSTOMER_EXCHANGE",
          "GENERAL_ADJUSTMENT",
          "CUSTOMER_RETURN",
          "BUYER_CANCELED",
          "OTHER"
        ]
      },
      "transmissionStatusOrder": {
        "title": "transmissionStatus",
        "enum": [
          "WAITING_SYNC",
          "ERROR",
          "SYNCING",
          "OK"
        ]
      },
      "FiscalDocumentMetadata": {
        "title": "FiscalDocumentMetadata",
        "type": "object",
        "description": "Metadados fiscais complementares da nota fiscal",
        "properties": {
          "operationType": {
            "type": "string",
            "description": "Tipo de operação fiscal (ex.: entrada, saida)"
          },
          "emissionType": {
            "type": "string",
            "description": "Tipo de emissão da nota fiscal (ex.: normal, contingencia)"
          },
          "authorizationProtocol": {
            "type": "string",
            "description": "Protocolo de autorização da nota fiscal"
          }
        }
      },
      "Invoice": {
        "title": "Invoice",
        "type": "object",
        "properties": {
          "accessKey": {
            "type": "string"
          },
          "series": {
            "type": "string"
          },
          "number": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date-time",
            "example": "2022-03-04T10:50:00-03:00"
          },
          "linkNfe": {
            "type": "string",
            "format": "date-time"
          },
          "invoiceLink": {
            "type": "string"
          },
          "cfop": {
            "type": "string"
          },
          "fiscalMetadata": {
            "$ref": "#/components/schemas/FiscalDocumentMetadata"
          }
        }
      },
      "deliveryStatus": {
        "title": "deliveryStatus",
        "enum": [
          "UNKNOWN",
          "IN_TRANSIT",
          "DELIVERED",
          "DELAYED",
          "DELIVERED_LATE",
          "PACKING",
          "HOLD_FOR_PICKUP",
          "DELAYED_PICKUP",
          "HOLD_FOR_SHIPPED",
          "DELAYED_SHIPPING",
          "SHIPPED",
          "SHIP_CONFIRMED",
          "QUARANTINE",
          "NOT_DELIVERED"
        ],
        "description": "- UNKNOWN(\"Desconhecido\")\n- IN_TRANSIT(\"Em trânsito\")\n- DELIVERED(\"Entregue\")\n- DELAYED(\"Atrasado\")\n- DELIVERED_LATE(\"Entregue atrasado\")\n- PACKING(\"Em preparação\")\n- HOLD_FOR_PICKUP(\"Aguardando coleta\")\n- DELAYED_PICKUP(\"Coleta atrasada\")\n- HOLD_FOR_SHIPPED(\"Aguardando envio\")\n- DELAYED_SHIPPING(\"Envio atrasado\")\n- SHIPPED(\"Enviado\")\n- SHIP_CONFIRMED(\"Ship Confirmed\")\n- QUARANTINE(\"Quarentena\")\n- NOT_DELIVERED(\"Não entregue\")"
      },
      "orderStatus": {
        "title": "orderStatus",
        "enum": [
          "PENDING",
          "PAID",
          "INVOICED",
          "SHIPPED",
          "DELIVERED",
          "CANCELED"
        ]
      },
      "ApiShipping": {
        "title": "ApiShipping",
        "type": "object",
        "properties": {
          "city": {
            "type": "string",
            "description": "Cidade do Destinatário"
          },
          "state": {
            "type": "string",
            "description": "Estado do Destinatário"
          },
          "country": {
            "type": "string",
            "description": "País do Destinatário"
          },
          "number": {
            "type": "string",
            "description": "Numero do Destinatário"
          },
          "neighborhood": {
            "type": "string",
            "description": "Bairro do destinatário"
          },
          "street": {
            "type": "string",
            "description": "Rua do destinatário"
          },
          "comment": {
            "type": "string",
            "description": "Complemento"
          },
          "reference": {
            "type": "string",
            "description": "Referência "
          },
          "zipCode": {
            "type": "string",
            "description": "CEP do Destinatário"
          },
          "address": {
            "type": "string",
            "description": "Endereço completo",
            "example": "\"Rua Teste, 100, Apto 602, Zona 07\""
          },
          "promisedShippingTime": {
            "type": "string",
            "format": "date-time",
            "description": "Data estimada de Entrega",
            "pattern": "2022-03-04T10:50:00-03:00"
          },
          "receiverName": {
            "type": "string",
            "description": "Nome do Recebedor"
          }
        },
        "required": [
          "city",
          "state",
          "country",
          "number",
          "neighborhood",
          "street",
          "zipCode",
          "address"
        ]
      },
      "ApiBillingAddress": {
        "title": "ApiBillingAddress",
        "type": "object",
        "properties": {
          "city": {
            "type": "string",
            "description": "Cidade (Endereço de Cobrança)"
          },
          "state": {
            "type": "string",
            "description": "Estado (Endereço de Cobrança)"
          },
          "country": {
            "type": "string",
            "description": "País (Endereço de Cobrança)"
          },
          "number": {
            "type": "string",
            "description": "Número (Endereço de Cobrança)"
          },
          "neighborhood": {
            "type": "string",
            "description": "Bairro (Endereço de Cobrança)"
          },
          "street": {
            "type": "string",
            "description": "Rua (Endereço de Cobrança)"
          },
          "comment": {
            "type": "string",
            "description": "Complemento (Endereço de Cobrança)"
          },
          "reference": {
            "type": "string",
            "description": "Referência (Endereço de Cobrança)"
          },
          "zipCode": {
            "type": "string",
            "description": "CEP do Endereço de Cobrança"
          }
        },
        "required": [
          "city",
          "state",
          "country",
          "number",
          "neighborhood",
          "street",
          "zipCode"
        ]
      },
      "ApiBuyer": {
        "title": "ApiBuyer",
        "type": "object",
        "properties": {
          "marketPlaceId": {
            "type": "string",
            "description": "Caso o Marketplace possua algum identificador de cliente, pode ser passado nesse atributo"
          },
          "name": {
            "type": "string",
            "description": "Nome do Comprador"
          },
          "email": {
            "type": "string",
            "description": "E-mail do Comprador (*Importante vir o e-mail criptografado*)",
            "example": "AeOks56588@marketplace.com"
          },
          "document": {
            "description": "Cpf ou CNPJ do Comprador",
            "type": "string"
          },
          "documentType": {
            "type": "string",
            "description": "Tipo de documento do Comprador",
            "enum": [
              "CPF",
              "CNPJ",
              "DNI",
              "RUT"
            ]
          },
          "phone": {
            "type": "string",
            "description": "Telefone do Comprador"
          },
          "cellPhone": {
            "type": "string",
            "description": "Celular do Comprador"
          },
          "companyStateTaxId": {
            "type": "string",
            "description": "Inscrição estadual"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date",
            "description": "Data de nascimento"
          }
        },
        "required": [
          "name",
          "email",
          "document",
          "phone"
        ]
      },
      "ApiPayment": {
        "title": "ApiPayment",
        "type": "object",
        "required": [
          "method",
          "status",
          "value",
          "installments",
          "marketplaceId"
        ],
        "properties": {
          "method": {
            "type": "string",
            "description": "Forma de Pagamento",
            "example": "PIX, Boleto, Cartão de Crédito a Vista, Cartão de Crédito 5x, etc"
          },
          "status": {
            "type": "string",
            "description": "Status do Pagamento",
            "example": "Pendente de Pagamento, Pagamento Aprovado, etc"
          },
          "value": {
            "type": "number",
            "format": "double",
            "minimum": 0,
            "description": "Valor do Pagamento (*O Valor tem que ser igual ao total do pedido*)"
          },
          "installments": {
            "type": "integer",
            "minimum": 0,
            "description": "Quantidade de Parcelas"
          },
          "marketplaceId": {
            "type": "string",
            "description": "Identificador do pagamento no marketplace."
          },
          "dueDate": {
            "type": "string",
            "format": "date-time"
          },
          "cardOperator": {
            "type": "string",
            "description": "Operador do cartão "
          },
          "orderAuthorizationCardCode": {
            "type": "string",
            "description": "Código de autorização do cartão"
          },
          "documentPaymentInstitution": {
            "type": "string",
            "description": "CNPJ da Empresa de Cartão"
          }
        }
      },
      "ApiTracking": {
        "title": "ApiTracking",
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "URL de rastreio."
          },
          "number": {
            "type": "string",
            "description": "Código de rastreio."
          },
          "carrier": {
            "type": "string",
            "description": "Nome transportadora."
          },
          "carrierDocument": {
            "type": "string",
            "description": "Documento transportadora."
          },
          "shippedDate": {
            "type": "string",
            "format": "date-time",
            "example": "2022-03-04T10:50:00-03:00",
            "description": "Data em que foi entregue a transportadora."
          },
          "date": {
            "type": "string",
            "format": "date-time",
            "example": "2022-03-04T10:50:00-03:00",
            "description": "Data de envio."
          },
          "estimateDate": {
            "type": "string",
            "format": "date-time",
            "example": "2022-03-04T10:50:00-03:00",
            "description": "Data estimada de entrega."
          },
          "deliveredDate": {
            "type": "string",
            "format": "date-time",
            "example": "2022-03-04T10:50:00-03:00",
            "description": "Data de entrega."
          }
        }
      },
      "ApiOrderItemShipping": {
        "title": "ApiOrderItemShipping",
        "type": "object",
        "required": [
          "shippingtype"
        ],
        "properties": {
          "shippingtype": {
            "description": "Forma de entrega do Pedido (*É obrigatório enviar nesse campo a Transportadora concatenado com o tipo de serviço, conforme exemplo abaixo*)",
            "example": "CORREIOS - SEDEX",
            "type": "string"
          }
        }
      },
      "customization": {
        "title": "customization",
        "type": "object",
        "properties": {
          "customizationType": {
            "description": "Tipo da customização/personalização a ser realizada",
            "type": "string",
            "maxLength": 255,
            "example": "Personalização de Nome"
          },
          "customizationQuantity": {
            "description": "Quantidade de itens a serem personalizados",
            "type": "number"
          },
          "customizationPrice": {
            "description": "Preço da personalização",
            "type": "number",
            "format": "double"
          },
          "customizationValue": {
            "description": "Conteúdo a ser preenchido na personalização",
            "type": "string"
          }
        }
      },
      "OrderItem": {
        "title": "OrderItem",
        "type": "object",
        "required": [
          "sku",
          "amount",
          "unit",
          "gross",
          "discount",
          "total",
          "shippings"
        ],
        "properties": {
          "sku": {
            "type": "object",
            "required": [
              "partnerId"
            ],
            "properties": {
              "partnerId": {
                "type": "string",
                "description": "SKU do produto no ANYMARKET ja aplicado o REGEX (skuInMarketplace)"
              }
            }
          },
          "amount": {
            "type": "number",
            "format": "double",
            "minimum": 0,
            "description": "Quantidade"
          },
          "unit": {
            "type": "number",
            "format": "double",
            "minimum": 0,
            "description": "Valor Unitário"
          },
          "gross": {
            "type": "number",
            "format": "double",
            "minimum": 0,
            "description": "Valor bruto sem desconto (amount * unit)"
          },
          "discount": {
            "type": "number",
            "format": "double",
            "minimum": 0,
            "description": "Valor de Desconto"
          },
          "total": {
            "type": "number",
            "format": "double",
            "minimum": 0,
            "description": "Total é : gross - discount"
          },
          "shippings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ApiOrderItemShipping"
            }
          },
          "customization": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/customization"
            }
          }
        }
      },
      "OrderPut": {
        "title": "OrderPut",
        "type": "object",
        "properties": {
          "marketPlaceUrl": {
            "type": "string"
          },
          "marketPlaceStatus": {
            "type": "string",
            "description": "Campo de string, onde o marketplace pode definir a Situação do pedido no marketplace.",
            "example": "\"Pedido Pendente\", \"Aguardando Pagamento\", \"Pago\", \"Aguardando faturamento\", etc"
          },
          "marketPlaceStatusComplement": {
            "type": "string"
          },
          "shipping": {
            "$ref": "#/components/schemas/ApiShipping"
          },
          "billingAddress": {
            "$ref": "#/components/schemas/ApiBillingAddress"
          },
          "buyer": {
            "$ref": "#/components/schemas/ApiBuyer"
          },
          "payments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ApiPayment"
            }
          },
          "tracking": {
            "$ref": "#/components/schemas/ApiTracking"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderItem"
            }
          },
          "observation": {
            "type": "string"
          },
          "documentIntermediator": {
            "type": "string",
            "description": "Documento do Intermediador"
          },
          "intermediateRegistrationId": {
            "type": "string",
            "description": "Id do cliente no Intermediador"
          },
          "documentPaymentInstitution": {
            "type": "string",
            "description": "Documento da operador que realiza a transação do Pagamento."
          },
          "subChannel": {
            "type": "string"
          },
          "subChannelNormalized": {
            "type": "string"
          }
        },
        "required": [
          "marketPlaceStatus",
          "shipping",
          "billingAddress",
          "buyer",
          "payments",
          "items"
        ]
      },
      "metadata": {
        "title": "metadata",
        "type": "object",
        "properties": {
          "metadata": {
            "type": "object",
            "description": "Dados complementares (não alteráveis)",
            "required": [
              "needInvoiceXML",
              "printTag",
              "logistic_type"
            ],
            "properties": {
              "needInvoiceXML": {
                "enum": [
                  "false",
                  "true"
                ],
                "default": "false",
                "description": "Informa a necessidade de enviar XML."
              },
              "printTag": {
                "default": "false",
                "description": "Informa se existe etiqueta para envio.",
                "enum": [
                  "false",
                  "true"
                ]
              },
              "logistic_type": {
                "description": "Informa o tipo de transporte.",
                "type": "string",
                "example": "drop_off"
              },
              "blocked_update_invoiced": {
                "enum": [
                  "false",
                  "true"
                ],
                "default": "false",
                "description": "Bloqueia a atualização de FATURADO pelo seller."
              },
              "blocked_update_shipped": {
                "enum": [
                  "false",
                  "true"
                ],
                "default": "false",
                "description": "Bloqueia a atualização de ENVIADO pelo seller."
              },
              "blocked_update_concluded": {
                "enum": [
                  "false",
                  "true"
                ],
                "default": "false",
                "description": "Bloqueia a atualização de CONCLUIDO pelo seller."
              },
              "blocked_update_canceled": {
                "enum": [
                  "false",
                  "true"
                ],
                "default": "false",
                "description": "Bloqueia a atualização de CANCELADO pelo seller."
              }
            }
          }
        }
      },
      "OrderPost": {
        "title": "OrderPost",
        "allOf": [
          {
            "type": "object",
            "required": [
              "marketPlaceId",
              "marketPlaceNumber",
              "createdAt",
              "discount",
              "freight",
              "productNet",
              "total",
              "interestValue",
              "idAccount",
              "status"
            ],
            "properties": {
              "marketPlaceId": {
                "type": "string",
                "description": "Id interno do pedido no marketplace"
              },
              "marketPlaceNumber": {
                "type": "string",
                "description": "Id público do pedido no marketplace"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "Data de criação do pedido",
                "example": "2022-03-04T10:50:00-03:00"
              },
              "discount": {
                "type": "number",
                "format": "double",
                "minimum": 0,
                "description": "Valor de Desconto no valor do pedido"
              },
              "freight": {
                "type": "number",
                "format": "double",
                "minimum": 0,
                "description": "Valor de Frete.\r\nEnvie apenas duas casas decimais após o ponto (ex.: 47.10) para evitar arredondamentos que possam gerar inconsistências."
              },
              "productNet": {
                "type": "number",
                "format": "double",
                "minimum": 0,
                "description": "Total dos items (somatória de todos os totais de itens)"
              },
              "total": {
                "type": "number",
                "format": "double",
                "minimum": 0,
                "description": "Total do pedido = Total dos items + Valor de Frete + Juros - Desconto"
              },
              "interestValue": {
                "type": "number",
                "format": "double",
                "minimum": 0,
                "description": "Valor de Juros"
              },
              "idAccount": {
                "type": "integer",
                "format": "int64",
                "minimum": 0,
                "description": "Id da conta (Gerado no saveAccount)"
              },
              "accountName": {
                "type": "string",
                "description": "Nome da Conta"
              },
              "status": {
                "$ref": "#/components/schemas/orderStatus"
              },
              "subChannel": {
                "type": "string"
              },
              "subChannelNormalized": {
                "type": "string"
              }
            }
          },
          {
            "$ref": "#/components/schemas/OrderPut"
          },
          {
            "$ref": "#/components/schemas/metadata"
          }
        ]
      },
      "Order": {
        "title": "Order",
        "allOf": [
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "minimum": 0
              },
              "partnerId": {
                "type": "string"
              },
              "paymentDate": {
                "type": "string",
                "format": "date-time",
                "example": "2022-03-04T10:50:00-03:00"
              },
              "cancelDate": {
                "type": "string",
                "format": "date-time",
                "example": "2022-03-04T10:50:00-03:00"
              },
              "cancellationCode": {
                "$ref": "#/components/schemas/cancellationCodeOrder"
              },
              "transmissionStatus": {
                "$ref": "#/components/schemas/transmissionStatusOrder"
              },
              "marketPlaceShipmentStatus": {
                "type": "string"
              },
              "invoice": {
                "$ref": "#/components/schemas/Invoice"
              },
              "deliveryStatus": {
                "$ref": "#/components/schemas/deliveryStatus"
              },
              "shipmentExceptionDate": {
                "type": "string",
                "format": "date-time"
              },
              "shipmentExceptionDescription": {
                "type": "string"
              },
              "metadata": {
                "type": "object",
                "properties": {
                  "string": {
                    "type": "string"
                  }
                }
              },
              "cancelDetails": {
                "type": "string"
              },
              "documentIntermediator": {
                "type": "string"
              },
              "intermediateRegistrationId": {
                "type": "string"
              },
              "documentPaymentInstitution": {
                "type": "string"
              },
              "lastUpdate": {
                "type": "string",
                "format": "date-time",
                "description": "Data de atualização do pedido",
                "example": "2022-03-04T10:50:00-03:00"
              }
            }
          },
          {
            "$ref": "#/components/schemas/OrderPost"
          }
        ]
      },
      "PageLinks": {
        "title": "PageLinks",
        "type": "object",
        "x-tags": [
          "page",
          "pageable"
        ],
        "properties": {
          "rel": {
            "type": "string",
            "description": "Relacionamento do hyperlink",
            "example": "next"
          },
          "href": {
            "type": "string",
            "description": "Url de definição do recurso",
            "example": "https://.../v2/component?limit=5&offset=5",
            "format": "uri"
          }
        }
      },
      "PageMetadata": {
        "title": "PageMetadata",
        "type": "object",
        "properties": {
          "size": {
            "type": "integer",
            "description": "Tamanho da página",
            "format": "int64",
            "minimum": 5,
            "readOnly": true
          },
          "totalElements": {
            "type": "integer",
            "description": "Total de elementos existentes",
            "format": "int64",
            "minimum": 0,
            "readOnly": true
          },
          "totalPages": {
            "type": "integer",
            "description": "Total de páginas disponíveis",
            "format": "int64",
            "minimum": 1,
            "readOnly": true
          },
          "number": {
            "type": "integer",
            "description": "Número da página atual",
            "format": "int64",
            "minimum": 1,
            "readOnly": true
          }
        },
        "x-tags": [
          "page",
          "pageable"
        ]
      },
      "Page_Order": {
        "title": "Page_Brand",
        "allOf": [
          {
            "properties": {
              "links": {
                "type": "array",
                "description": "Referências de paginação",
                "uniqueItems": false,
                "minItems": 1,
                "maxItems": 1,
                "items": {
                  "$ref": "#/components/schemas/PageLinks"
                }
              },
              "content": {
                "type": "array",
                "description": "Lista de marcas",
                "items": {
                  "$ref": "#/components/schemas/Order"
                }
              },
              "page": {
                "$ref": "#/components/schemas/PageMetadata"
              }
            }
          }
        ],
        "x-tags": [
          "Marcas"
        ],
        "description": "",
        "type": "object"
      },
      "markAsCanceled": {
        "type": "object",
        "required": [
          "date"
        ],
        "properties": {
          "date": {
            "type": "string",
            "minLength": 1,
            "example": "2022-03-04T10:50:00-03:00",
            "format": "date-time"
          },
          "cancelDetails": {
            "type": "string",
            "description": "Detalhes do cancelamento."
          },
          "cancellationCode": {
            "$ref": "#/components/schemas/cancellationCodeOrder"
          }
        },
        "example": {
          "date": "2022-02-07T10:56:42-03:00"
        }
      },
      "CanceledStatusDTO": {
        "title": "CanceledStatusDTO",
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date-time",
            "example": "2022-03-04T10:50:00-03:00"
          }
        },
        "example": {
          "date": "2022-02-07T10:56:42-03:00"
        }
      },
      "markAsShipped": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "minLength": 1,
            "description": "Status do pedido no ANYMARKET",
            "enum": [
              "SHIPPED"
            ]
          },
          "url": {
            "type": "string",
            "minLength": 1,
            "description": "URL para rastreio"
          },
          "number": {
            "type": "string",
            "minLength": 1,
            "description": "codigo de rastreio"
          },
          "carrier": {
            "type": "string",
            "minLength": 1,
            "description": "Transportadora"
          },
          "estimateDate": {
            "type": "string",
            "minLength": 1,
            "description": "Data estimada de entrega",
            "example": "2022-03-04T10:50:00-03:00"
          },
          "shippedDate": {
            "type": "string",
            "minLength": 1,
            "description": "Data de envio",
            "example": "2022-03-04T10:50:00-03:00"
          }
        },
        "required": [
          "shippedDate"
        ],
        "example": {
          "status": "SHIPPED",
          "url": "https://teste.com.br",
          "number": "PR55887C12",
          "carrier": "Total Express",
          "estimateDate": "2021-11-01T00:00:00-03:00",
          "shippedDate": "2021-10-27T14:57:55-03:00"
        }
      },
      "markAsDelivered": {
        "type": "object",
        "properties": {
          "deliveredDate": {
            "type": "string",
            "minLength": 1,
            "description": "Data de entrega",
            "format": "date-time",
            "example": "2022-03-04T10:50:00-03:00"
          }
        },
        "required": [
          "deliveredDate"
        ],
        "example": {
          "deliveredDate": "2021-10-27T14:57:55-03:00"
        }
      },
      "freight": {
        "type": "object",
        "examples": [
          {
            "zipCode": "string",
            "additionalPercentual": 0,
            "products": [
              {
                "skuId": "string",
                "amount": 0,
                "dimensions": {
                  "length": "string",
                  "width": "string",
                  "height": "string",
                  "weight": "string"
                }
              }
            ],
            "marketPlace": "ECOMMERCE",
            "timeout": 0
          }
        ],
        "properties": {
          "zipCode": {
            "type": "string",
            "description": "Código de endereçamento postal (CEP) de destino."
          },
          "additionalPercentual": {
            "type": "number",
            "format": "double",
            "default": 0,
            "description": "Porcentagem adicional no valor do frete conforme configurado no módulo."
          },
          "products": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "skuId": {
                  "type": "string",
                  "description": "SKU do produto enviado pelo ANYMARKET (skuInMarketplace)."
                },
                "amount": {
                  "type": "integer",
                  "description": "Quantidade do item para a cotação"
                },
                "dimensions": {
                  "type": "object",
                  "description": "Dimensões do Produto.",
                  "properties": {
                    "length": {
                      "type": "number",
                      "description": "Comprimento em centimetros (CM).",
                      "format": "double"
                    },
                    "width": {
                      "type": "number",
                      "description": "Largura em centimetros (CM).",
                      "format": "double"
                    },
                    "height": {
                      "type": "number",
                      "description": "Altura em centimetros (CM).",
                      "format": "double"
                    },
                    "weight": {
                      "type": "number",
                      "description": "Peso em quilogramas (KG).",
                      "format": "double"
                    }
                  }
                }
              },
              "required": [
                "skuId",
                "amount"
              ]
            }
          },
          "marketPlace": {
            "enum": [
              "ECOMMERCE",
              "NOME_SEU_MARKETPLACE"
            ],
            "description": "Nome do marketplace conforme registrado no ANYMARKET."
          },
          "timeout": {
            "type": "integer",
            "description": "Tempo em milissegundos (ms) que o marketplace irá aguardar para obter um retorno de cotação de frete.",
            "default": 1000
          }
        },
        "required": [
          "zipCode",
          "products",
          "marketPlace"
        ],
        "example": {
          "zipCode": "88356190",
          "additionalPercentual": 0,
          "products": [
            {
              "skuId": "MKP002687000712",
              "amount": 1,
              "dimensions": {
                "length": "50.0",
                "width": "20.0",
                "height": "25.0",
                "weight": "4.0"
              }
            }
          ],
          "marketPlace": "SHOPPING_LIVELO",
          "timeout": 1000
        }
      }
    },
    "parameters": {
      "limit": {
        "name": "limit",
        "in": "query",
        "required": false,
        "schema": {
          "type": "integer",
          "format": "int64",
          "minimum": 5,
          "default": 5,
          "example": 5
        },
        "description": "Número máximo de marcas"
      },
      "offset": {
        "name": "offset",
        "in": "query",
        "required": false,
        "schema": {
          "type": "integer",
          "format": "int64",
          "default": 1,
          "minimum": 1,
          "example": 1
        },
        "description": "Posição de início da paginação"
      },
      "sort": {
        "name": "sort",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "Atributo para ordenação"
      }
    }
  }
}
